[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
Tue Oct 4 05:19:04 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 anonymous):

 Sorry about that. It seems that I forgot to update the browser.py! But now
 the error traceback has changed!

 {{{
 Traceback (most recent call last):
   File "web/modpython_frontend.py", line 206, in handler
   File "/home/svn/tmp/Trac/lib/python2.3/site-packages/trac/web/main.py",
 line 139, in dispatch_request
   File "/home/svn/tmp/Trac/lib/python2.3/site-packages/trac/web/main.py",
 line 107, in dispatch
   File "wiki/web_ui.py", line 114, in process_request
   File "wiki/web_ui.py", line 361, in _render_view
   File "formatter.py", line 695, in wiki_to_html
   File "formatter.py", line 589, in format
   File "/usr/lib/python2.3/sre.py", line 143, in sub
     return _compile(pattern, 0).sub(repl, string, count)
   File "formatter.py", line 209, in replace
     if self.softspace:
   File "formatter.py", line 255, in _shref_formatter
     self.writer.new_font(font)
   File "formatter.py", line 281, in _make_link
     self.nospace = 1
   File "browser.py", line 244, in _format_link
 NameError: global name 'get_path_rev_line' is not defined
 }}}

 I had some problems with importing util.py! It looked like the system
 could't recognize it or something like that! Could this be the reason, and
 if it is, how can I repair it. When I do python import there is no message
 that something went wrong. I noticed this problem when I was trying to
 import other modules that reference util!

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2156>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list