[*PLEASE* keep replies on the users@ list]
Nigel Borrill wrote:
>I have created an PYTHONPATH environment veriable and added libsvn to it. I
>then get the same ImportError. I now think it was finding it before because
>if I edit fs.py line "import _fs" to "libsvn._fs" I get a different error,
>no module named libsvn._fs.
Well, of course there is no such module. :)
>What I do get, but did not tell you before is that before the Traceback, a
>pop up window appears reporting that "The procedure entry point
>libiconv_set_relocation_prefix could not be located in the dynamic link
Ah, this is interesting and certainly explains the import error you get
from Python (it can't import a DLL that can't be loaded because of
It looks like you have at least one other program on your system
(usually GNU tools, or GIMP, or something like that) that uses intl.dll
(yes, intl.dll, not iconv.dll), and that this intl.dll is an older
version than the one that comes with the Subversion binaries. I suggest
you search your disks for files named intl.dll and iconv.dll, and see
how many you have, and try to figure out which ones are actually used.
We avoid this problem in the upcoming 1.2 release by shipping our own
>Sorry to be a real pain but have you any idea what might be wrong ?
>>From: Branko Cibej [mailto:firstname.lastname@example.org]
>>Sent: 05 May 2005 15:17
>>To: Nigel Borrill
>>Subject: Re: Problem with fiels missing from win32-1.1.4_py.zip
>>Nigel Borrill wrote:
>>>I am trying to install trac on Windows XP and am getting an error when
>>>attempting to run a python script.
>>>Traceback (most recent call last):
>>> File "trac-admin", line 34, in ?
>>> from trac import sync
>>> File "C:\Python23\Lib\site-packages\trac\sync.py", line 22, in ?
>>> from svn import fs, util, delta, repos, core
>>> File "C:\Python23\lib\svn\fs.py", line 28, in ?
>>> import libsvn.fs
>>> File "C:\Python23\lib\libsvn\fs.py", line 4, in ?
>>> import _fs
>>>ImportError: DLL load failed: The specified procedure could not be found.
>>>The installation notes told me to download the
>>>which I did. However, googling seems to imply that the libsvn directory
>>>should contain some .so files, including _fs.so - there are none
>>! Is there
>>>an older zip file I can download that will have the required files ?
>>Googling implies wrongly. This is Windows, not Unix, and the file you're
>>looking for is _fs.dll, which is in that zip file. But it must be in the
>>PYTHONPATH; the easiest way is to copy the svn and libsvn directories to
>>Python's Lib\site-packages directory.
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Thu May 5 23:13:04 2005