Opened 16 years ago
Last modified 16 years ago
#6745 closed defect
2008-01-31 16:19:27,723 Trac[main] ERROR: unsupported operand type(s) for -: 'int' and 'datetime.datetime' Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 398, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 195, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-i686/egg/revtree/web_ui.py", line 186, in process_request File "build/bdist.linux-i686/egg/revtree/web_ui.py", line 279, in _process_revtree File "build/bdist.linux-i686/egg/revtree/model.py", line 298, in build File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/versioncontrol/cache.py", line 60, in get_changesets (to_timestamp(start), to_timestamp(stop))) File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/util/datefmt.py", line 55, in to_timestamp diff = dt - _epoc TypeError: unsupported operand type(s) for -: 'int' and 'datetime.datetime' — at Initial Version
Reported by: | anonymous | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11b1 |
Severity: | normal | Keywords: | plugin |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
When trying to run the RevTree plugin, I get the following error (seems to be some sort of Trac internal error):
2008-01-31 16:19:27,723 Trac[main] ERROR: unsupported operand type(s) for -: 'int' and 'datetime.datetime' Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 398, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 195, in dispatch
resp = chosen_handler.process_request(req)
File "build/bdist.linux-i686/egg/revtree/web_ui.py", line 186, in process_request File "build/bdist.linux-i686/egg/revtree/web_ui.py", line 279, in _process_revtree File "build/bdist.linux-i686/egg/revtree/model.py", line 298, in build File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/versioncontrol/cache.py", line 60, in get_changesets
(to_timestamp(start), to_timestamp(stop)))
File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/util/datefmt.py", line 55, in to_timestamp
diff = dt - _epoc
TypeError: unsupported operand type(s) for -: 'int' and 'datetime.datetime'