#9 closed defect (fixed)
python error when viewing source
Reported by: | 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.
Note:
See TracTickets
for help on using tickets.
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.