Modify

Opened 11 years ago

Closed 11 years ago

#9 closed defect (fixed)

python error when viewing source

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

Description

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/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py", line 112, in process_request
    rev_or_latest = rev or repos.youngest_rev
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 189, in <lambda>
    youngest_rev = property(lambda x: x.get_youngest_rev())
  File "build/bdist.linux-i686/egg/tracmtn/backend.py", line 392, in get_youngest_rev
  File "build/bdist.linux-i686/egg/tracmtn/backend.py", line 527, in get_dates
  File "build/bdist.linux-i686/egg/tracmtn/util.py", line 112, in __call__
  File "build/bdist.linux-i686/egg/tracmtn/backend.py", line 291, in _get_cache
  File "build/bdist.linux-i686/egg/tracmtn/cache.py", line 35, in get_cache
TypeError: __init__() takes exactly 3 arguments (2 given)

Thanks.

Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by Thomas Moschny

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
Action
as closed The owner will remain Thomas Moschny.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.