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
> /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.
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Tue Jul 13 11:09:06 2004