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

problems with Python and svn - just want email notification

From: Francis Upton <francisu_at_ieee.org>
Date: 2004-07-12 16:31:13 CEST

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?

Thanks,

Francis

Francis Upton IV
H/W 510 835 3123
C 510 432 1589
F 501 648 1464 (yes, it is 501)
blog: http://www.nogoop.com/mt/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 12 16:32:24 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.