
noreply at edgewall
Sep 13, 2005, 8:46 AM
Post #2 of 7
(270 views)
Permalink
|
|
Re: [The Trac Project] #2055: Timeline and Browse Source... No module named svn (modules ARE installed)
[In reply to]
|
|
#2055: Timeline and Browse Source... No module named svn (modules ARE installed) -------------------------------------+-------------------------------------- Reporter: matt.t.galvin [at] gmail | Owner: jonas Type: defect | Status: closed Priority: normal | Milestone: Component: browser | Version: 0.9b1 Severity: normal | Resolution: invalid Keywords: | -------------------------------------+-------------------------------------- Changes (by mgood): * status: new => closed * resolution: => invalid * milestone: 0.9 => Old description: > 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. New description: 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. Comment: This is an installation support issue, not a Trac bug, so please ask on the IrcChannel or MailingList if you need help resolving this. -- Ticket URL: <http://projects.edgewall.com/trac/ticket/2055> The Trac Project <http://trac.edgewall.com/>
|