Opened 14 years ago

Closed 14 years ago

Last modified 11 months ago

#9 closed defect (fixed)

python error when viewing source

Reported by: claudesebjean@… Owned by: Thomas Moschny
Priority: major Component: tracmtn
Version: Keywords:


After installing the plugin (v0.0.14) and trying to browse source I have the following error:

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/", line 387, in dispatch_request
  File "/usr/lib/python2.4/site-packages/trac/web/", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/", line 112, in process_request
    rev_or_latest = rev or repos.youngest_rev
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/", line 189, in <lambda>
    youngest_rev = property(lambda x: x.get_youngest_rev())
  File "build/bdist.linux-i686/egg/tracmtn/", line 392, in get_youngest_rev
  File "build/bdist.linux-i686/egg/tracmtn/", line 527, in get_dates
  File "build/bdist.linux-i686/egg/tracmtn/", line 112, in __call__
  File "build/bdist.linux-i686/egg/tracmtn/", line 291, in _get_cache
  File "build/bdist.linux-i686/egg/tracmtn/", line 35, in get_cache
TypeError: __init__() takes exactly 3 arguments (2 given)


Attachments (0)

Change History (1)

comment:1 by Thomas Moschny, 14 years ago

Resolution: fixed
Status: newclosed

I guess you are using no cachespec config option? Please have a look at the README. Nevertheless, this is a bug, and should be fixed in 8f6cfab0b6.., thanks for the report!

More code to validate the cachespec configuration option will be added shortly.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Thomas Moschny.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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