Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#6745 closed defect (wontfix)

Trac[main] ERROR: unsupported operand type(s) for -: 'int' and 'datetime.datetime'

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 (last modified by Emmanuel Blot)

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'

Attachments (0)

Change History (2)

comment:1 by anonymous, 16 years ago

Summary: 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'Trac[main] ERROR: unsupported operand type(s) for -: 'int' and 'datetime.datetime'

comment:2 by Emmanuel Blot, 16 years ago

Description: modified (diff)
Keywords: plugin added
Resolution: wontfix
Status: newclosed

This is a plugin issue, please report it on trac-hacks.org

Do not forget to report the version of the plugin you've installed. From the error log, it seems you're using an old version of the plugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.