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

Fwd: Python bindings and SVN 1.3.0-rc4

From: David James <james82_at_gmail.com>
Date: 2005-12-11 17:30:17 CET

---------- Forwarded message ----------
From: W-Mark Kubacki <wmark@hurrikane.de>
Date: Dec 11, 2005 11:22 AM
Subject: Re: Python bindings and SVN 1.3.0-rc4

David James wrote:
> On 12/11/05, W-Mark Kubacki <wmark@hurrikane.de> wrote:
>> The error occurs with any version of Trac 0.9 series
>> [snip config information]
>> [...]
> This looks like it's a bug related to interaction between Subversion's
> python bindings and mod_python. I have not tested Subversion 1.3.0rc4
> with mod_python yet, but I am hoping to do so soon. A few questions:
> 1) Are you using mod_python?

Yes

> 2) If you restart Apache, does it help?

No

> 3) If you switch Trac to CGI mode, does it still report the errors?

Sorry, cannot test that.

> 4) Do the test suites for the Python bindings and Trac pass when you
> ran them via the command-line?
>
> Running the test suite for the Python bindings:
> From the Subversion directory, type make check-swig-py

Results in:
cd /tmp/subversion-1.3.0-rc4/subversion/bindings/swig/python; \
   /usr/bin/python
/tmp/subversion-1.3.0-rc4/subversion/bindings/swig/python/tests/run_all.py
Traceback (most recent call last):
   File
"/tmp/subversion-1.3.0-rc4/subversion/bindings/swig/python/tests/run_all.py",
line 18, in ?
     import pool
   File
"/tmp/subversion-1.3.0-rc4/subversion/bindings/swig/python/tests/pool.py",
line 3, in ?
     import svn.client
   File
"/tmp/subversion-1.3.0-rc4/subversion/bindings/swig/python/svn/client.py",
line 19, in ?
     from libsvn.client import *
   File
"/tmp/subversion-1.3.0-rc4/subversion/bindings/swig/python/libsvn/client.py",
line 5, in ?
     import _client
ImportError:
/tmp/subversion-1.3.0-rc4/subversion/libsvn_ra_dav/.libs/libsvn_ra_dav-1.so.0:
undefined symbol: ne_get_content_type
make: *** [check-swig-py] Fehler 1

> Running the test suite for Trac:
> From the Trac directory, type cp trac/test.py . && python test.py

Initially I got *a lot of* errors and tracebacks. Here's one:
   File "/tmp/trac-0.9.2/trac/versioncontrol/tests/svn_fs.py", line 49,
in setUp
     r = repos.svn_repos_create(REPOS_PATH, '', '', None, None, pool)
   File "/usr/lib/python2.4/site-packages/libsvn/repos.py", line 55, in
svn_repos_create
     return apply(_repos.svn_repos_create, args)
libsvn._core.SubversionException: ('Repository creation failed', 200011)
Exception exceptions.AssertionError: <exceptions.AssertionError instance
at 0xb76a5dcc> in <bound method Pool.__del__ of
<trac.versioncontrol.svn_fs.Pool object at 0xb77418cc>> ignored

Please notice that the address 0xb77418-- varies.

>
> Cheers,
>
> David
>
> --
> David James -- http://www.cs.toronto.edu/~james

--
David James -- http://www.cs.toronto.edu/~james
Received on Sun Dec 11 17:34:05 2005

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