Error parsing Trac version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trac-Bzr |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
I'm trying to get this running on a new setup (works on my old one). Ubuntu 12.04 x86_64, python 2.7. The error in the log file is:
2012-08-03 23:26:01,414 Trac[loader] ERROR: Skipping "bzr = tracbzr.backend":
Traceback (most recent call last):
File "/usr/local/
entry.
File "/usr/lib/
entry = __import_
File "/usr/local/
trac_version = (int(trac.
ValueError: invalid literal for int() with base 10: '0d'
It would appear that the second slice operator isn't correct. This is due to Trac actually trying to get out a 1.0xxx release. Changing the second slice to 2:3 resolves the issue.
The suggested fix of changing the 2:4 slice to 2:3 works for me