Edgewall Software

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#2772 closed defect (worksforme)

No module named svn — at Version 3

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.9.4
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Matthew Good)

Connecting to Subversion is not possible, but Trac does install correctly. I am using Subversion 1.3.0 with SWIG bindings 1.3.28. I have tried installing 0.10dev and it can't connect to subversion 1.3.0 either, but with different error.

I don't know whether I should try to install subversion 1.2.3 or just not worry about having subversion intregrated.

Traceback (most recent call last):
  File "/home/agsubversion/packages/lib/python2.3/site-packages/trac/web/cgi_frontend.py", line 130, in run
    dispatch_request(req.path_info, req, env)
  File "/home/agsubversion/packages/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
    dispatcher.dispatch(req)
  File "/home/agsubversion/packages/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "/home/agsubversion/packages/lib/python2.3/site-packages/trac/versioncontrol/web_ui/browser.py", line 78, in process_request
    repos = self.env.get_repository(req.authname)
  File "/home/agsubversion/packages/lib/python2.3/site-packages/trac/env.py", line 155, in get_repository
    from trac.versioncontrol.svn_fs import SubversionRepository
  File "/home/agsubversion/packages/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py", line 25, in ?
    from svn import fs, repos, core, delta
ImportError: No module named svn

Change History (3)

comment:1 by Matthew Good, 18 years ago

Resolution: worksforme
Status: newclosed

Installation support should be requested on the MailingList as indicated in the instructions when creating a ticket. You've probably installed the SVN Python bindings in a non-standard location that needs added to the PYTHONPATH, or you've installed them for the wrong Python version.

comment:2 by anonymous, 18 years ago

trac - as with most python software - doesn't document that you need to install mysterious svn python bindings nor does it indicate where to get them.

in reply to:  2 comment:3 by Matthew Good, 18 years ago

Description: modified (diff)

Replying to anonymous:

trac - as with most python software - doesn't document that you need to install mysterious svn python bindings nor does it indicate where to get them.

Did you bother to look at the documentation: TracInstall#VersionControlSystem

Note: See TracTickets for help on using tickets.