Been reading the wiki both forwards and backwards.
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)


[EMAIL PROTECTED] /]# 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']
>>>


With best regards

Tomas Larsson
Sweden

http://www.ebaman.com

Verus Amicus Est Tamquam Alter Idem


--~--~---------~--~----~------------~-------~--~----~
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