Hi,
It seems that this problem is really commun ... but I can't find any solution.
I'm on Debian Sarge, but using a hand compiled subversion-1.4.0, using the
Sarge version of Swig 1.3.24-1 and a hand installed version of Trac 0.10.4,
all with Python2.3.
I really don't understand how to solve my trouble ...
If I use the /usr/local/src/subversion-1.4.0/tools/examples/svnlook.py like
this :
#./svnlook.py /home/svn/males rev 1834 info
I get this :
herve
2007-11-02 20:22
92
Rewrite of a of the class gmap
So for me that's meen the python biding of svn is running no ?
So why I get this message using the trac-post-commit-hook script ?
#/usr/local/bin/trac-post-commit-hook
--project=/home/httpd/htdocs/tracs/global/males --revision="beta1"
--user="herve" --msg="test
timeline"
Traceback (most recent call last):
File "/usr/local/bin/trac-post-commit-hook", line 208, in ?
CommitHook()
File "/usr/local/bin/trac-post-commit-hook", line 142, in __init__
repos = self.env.get_repository()
File "/usr/lib/python2.3/site-packages/trac/env.py", line 216, in
get_repository
return RepositoryManager(self).get_repository(authname)
File "/usr/lib/python2.3/site-packages/trac/versioncontrol/api.py", line 91,
in get_repository
raise TracError('Unsupported version control system "%s". '
trac.core.TracError: Unsupported version control system "svn". Check that the
Python bindings for "svn" are correctly installed.
My svn-python forlder is :
/usr/local/lib/svn-python/
#echo $PYTHONPATH
:/usr/local/lib/svn-python
Any help will be welcome ... I have tested Trac guidelines since 2 days now
without any result ...
Thanks,
--
Hervé Piedvache
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---