[Trac-tickets] Re: [The Trac Project] #2156: Wiki problem: 'module'
object has no attribute 'get_path_rev_line'
The Trac Project
noreply at edgewall.com
Mon Oct 3 06:55:27 CDT 2005
#2156: Wiki problem: 'module' object has no attribute 'get_path_rev_line'
-------------------------------+--------------------------------------------
Reporter: zgantar at yahoo.com | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone: 0.9
Component: wiki | Version: 0.9b2
Severity: normal | Resolution:
Keywords: wiki |
-------------------------------+--------------------------------------------
Comment (by cboos):
Wait a minute, how come do you have:
{{{
File "/usr/lib/python2.3/site-
packages/trac/versioncontrol/web_ui/browser.py", line 244, in _format_link
path, rev, line = util.get_path_rev_line(path)
}}}
in your stack trace?
As far as I can tell, there's never been such code in Trac:
* r2290: `path, rev, line = get_path_rev_line(path)`
* r2276 and before: `path, rev = get_path_rev(path)`
In that file, `util` being known as a module
(source:trunk/trac/versioncontrol/web_ui/browser.py at 2290#L21),
the error you see is quite "normal".
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2156>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list