is your webserver user able to read /usr/local/lib/svn-python?

On 3/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Get this error in webinterface:
>
> Traceback (most recent call last):
>   File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 387,
> in dispatch_request
>     dispatcher.dispatch(req)
>   File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 191,
> in dispatch
>     chosen_handler = self._pre_process_request(req, chosen_handler)
>   File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 263,
> in _pre_process_request
>     chosen_handler = f.pre_process_request(req, chosen_handler)
>   File "/usr/lib/python2.3/site-packages/trac/versioncontrol/api.py",
> line 73, in pre_process_request
>     self.get_repository(req.authname) # triggers a sync if applicable
>   File "/usr/lib/python2.3/site-packages/trac/versioncontrol/api.py",
> line 91, in get_repository
>     raise TracError('Unsupported version control system "%s"'
> TracError: Unsupported version control system "svn"
>
> however:
>
> vs2061171:~# python
> Python 2.3.5 (#2, Oct 16 2006, 19:19:48)
> [GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import svn
> >>> from svn import client
> >>> from svn import fs
> >>> from svn import repos
> >>>
>
> No troubles at all downthere.
> Mod_python is installed in the python2.3/site-packages/ but for being
> sure i've done this:
>         PythonPath "sys.path + ['/usr/lib/python2.3/site-packages/
> trac','/usr/lib/python2.3/site-packages/setuptools-0.6c5-py2.3.egg', '/
> usr/lib/python23.zip', '/usr/lib/python2.3', '/usr/lib/python2.3/plat-
> linux2', '/usr/lib/python2.3/lib-tk', '/usr/lib/python2.3/lib-
> dynload', '/usr/local/lib/python2.3/site-packages', '/usr/lib/
> python2.3/site-packages', '/usr/local/lib/svn-python']"
>         SetHandler mod_python
>         PythonHandler trac.web.modpython_frontend
>         PythonOption TracEnv /home/devpoint/trac/devpoint
>         PythonOption TracUriRoot /
>         PythonDebug On
>
>
> Anyone an idea?
>
> Thx
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to