Dear group
I have a "huge" problem, getting the python-bindings for svn to work.
Been reading how-to's, faq's, wiki's both forwards and backwards, but I
simply can't get python to load the bindings, svn-python is located in
/usr/local/lib/svn-python The path is exported to PYTHONPATH, also eccoed it
to the site-package folder.
It seems that it does not matter what I do, python refuses to load the
bindings.
When i do the following from the python-prompt (in a terminal)
[root_at_OldStream /]# python
Python 2.5.1 (r251:54863, Feb 18 2008, 18:39:59) [GCC 3.4.2] on linux2 Type
"help", "copyright", "credits" or "license" for more information.
>>> from svn import core
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/svn-python/svn/core.py", line 19, in <module>
from libsvn.core import *
File "/usr/local/lib/svn-python/libsvn/core.py", line 5, in <module>
import _core
ImportError: File not found
>>>
Can someone please point me in a direction so I can find out whats wrong I
have even tried to move libsvn and svn i svn-python to site-packages with no
success
>>> import sys
>>> sys.path
['', '/usr/local/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/Pygments-0.9-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/Genshi-0.4.4-py2.5.egg',
'/usr/local/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg', '/',
'/usr/local/lib/svn-python/libsvn', '/usr/local/lib/svn-python',
'/usr/local/lib/python25.zip', '/usr/local/lib/python2.5',
'/usr/local/lib/python2.5/plat-linux2', '/usr/local/lib/python2.5/lib-tk',
'/usr/local/lib/python2.5/lib-dynload',
'/usr/local/lib/python2.5/site-packages']
>>>
[root_at_OldStream /]# find /usr/local/lib/svn-python -name _core\*
/usr/local/lib/svn-python/libsvn/_core.so
/usr/local/lib/svn-python/libsvn/_core.a
/usr/local/lib/svn-python/libsvn/_core.la
With best regards
Tomas Larsson
Sweden
http://www.ebaman.com
Verus Amicus Est Tamquam Alter Idem
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-24 12:21:08 CET