[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: problems with Python and svn - just want email notification

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-07-13 11:08:35 CEST

Francis Upton wrote:
> I am having trouble using Python with subversion.
>
> /Program Files/Subversion/bin> ./mailer.py
> Traceback (most recent call last):
> File "./mailer.py", line 26, in ?
> import svn.fs
> File "/usr/local/lib/python2.3/site-packages/svn/fs.py", line 27, in ?
> import libsvn.fs
> File "/usr/local/lib/python2.3/site-packages/libsvn/fs.py", line 4, in
?
> import _fs
> ImportError: dlopen: Win32 error 126
> /Program Files/Subversion/bin> cygcheck
> /usr/local/lib/python2.3/site-packages/libsvn/_fs.dll
> c:/kits/cygwin/usr/local/lib/python2.3/site-packages/libsvn/_fs.dll
> c:/kits/cygwin/usr/local/lib/python2.3/site-packages/libsvn\swigpy.dll
> C:\WINNT\System32\python23.dll
> C:\WINNT\System32\KERNEL32.dll
> C:\WINNT\System32\ntdll.dll
> C:\WINNT\System32\USER32.dll
> C:\WINNT\System32\GDI32.dll
> C:\WINNT\System32\ADVAPI32.dll
> C:\WINNT\System32\RPCRT4.dll
> C:\WINNT\System32\SHELL32.dll
> C:\WINNT\System32\msvcrt.dll
> C:\WINNT\System32\SHLWAPI.dll
> .\libdb42.dll
> C:\WINNT\System32\MSVCP60.dll
> C:\WINNT\System32\WS2_32.dll
> C:\WINNT\System32\WS2HELP.dll
> /Program Files/Subversion/bin>
>
>
> I installed everything (svn, python, swig) using the cygwin installer, but
> that did not install the Python bindings. I got the zip file for the
> Python bindings from the download site and copied them to the correct
> directory (above).
>
> I'm running Win/XP SP1+.
>
> What I really want to do it just get email notification (upon commit)
> working with svn. I tried the Perl module for this and it would not run I
> think due to problems with forking processes in Perl on win32. And from
> the comments, I hear that the Python way is better anyhow.
>
> I also installed python and svn using the windows installer versions. I
> had to install python this way to get the python23.dll file (it put in in
> WINNT/System32 as you can see).
>
> Any advice?

Yes! Stop! Cygwin and Windows are effectively seperate OSes. Trying this
mix-and-match approach will only create a non-working mess.

I'm the packager of subversion for Cygwin. A prebuilt python bindings
package will appear eventually. However, before that can be done I must
first update the current Cygwin swig package.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 13 11:09:06 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.