[Trac-tickets] [The Trac Project] #2055: Timeline and Browse Source... No module named svn (modules ARE installed)

The Trac Project noreply at edgewall.com
Tue Sep 13 08:31:46 CDT 2005


#2055: Timeline and Browse Source... No module named svn (modules ARE installed)
-------------------------------------+--------------------------------------
 Reporter:  matt.t.galvin at gmail.com  |       Owner:  jonas
     Type:  defect                   |      Status:  new  
 Priority:  normal                   |   Milestone:  0.9  
Component:  browser                  |     Version:  0.9b1
 Severity:  normal                   |   Keywords:                           |  
-------------------------------------+--------------------------------------
 I have gotten everything installed and configured. the trac-admin ...
 initenv
 can see the svn modules (or else the install would not even work). I can
 view and use the wiki.
 When I try to use the Timeline or Browse Source I receive the following
 error message.

 --- snip ---

 Trac detected an internal error:
     No module named svn

 Traceback (most recent call last):
   File "/usr/local/lib/python2.4/site-packages/trac/web/cgi_frontend.py",
 line 115, in run
     dispatch_request(req.path_info, req, env)
   File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line
 139, in dispatch_request
     dispatcher.dispatch(req)
   File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line
 107, in dispatch
     resp = chosen_handler.process_request(req)
   File "/usr/local/lib/python2.4/site-packages/trac/Timeline.py", line
 137, in process_request
     filters)
   File "/usr/local/lib/python2.4/site-
 packages/trac/versioncontrol/web_ui/changeset.py", line 106, in
 get_timeline_events
     repos = self.env.get_repository()
   File "/usr/local/lib/python2.4/site-packages/trac/env.py", line 143, in
 get_repository
     from trac.versioncontrol.svn_fs import SubversionRepository
   File "/usr/local/lib/python2.4/site-
 packages/trac/versioncontrol/svn_fs.py", line 26, in ?
     from svn import fs, repos, core, delta
 ImportError: No module named svn

 --- snip ---

 System Specs (with custom builds of all the deps):
  * RHEL 3
  * Python 2.4.1
  * Apache 2
  * Subversion 1.2.3

 PYTHON_SITE=/usr/local/lib/python2.4/site-packages
 PYTHONPATH=/usr/local/lib/svn-python/libsvn:/usr/local/lib/svn-
 python/svn:/usr/local/lib/svn-python

 (this is where svn installs it modules now, i could not get them to
 install into the sitedir)

 Please let me know if there is anyother information I can provide that
 might be helpful.

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


More information about the Trac-Tickets mailing list