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

Re: [PATCH] Create dll for libsvn_swig_py library in windows

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-09-27 15:26:17 CEST

David James wrote:

>On 9/27/05, Branko Čibej <brane@xbc.nu> wrote:
>
>
>>Branko Čibej wrote:
>>
>>
>>
>>>Marc Haesen wrote:
>>>
>>>
>>>
>>>>[[[
>>>>Solves crashing problem of python bindings in windows by compiling
>>>>the libsvn_swig_py library to a dll in windows.
>>>>
>>>>
>>>>
>>>>
>>>I'm not convinced that it solves the crash. the pool.py test works
>>>with this change, but the other (trac) tests still crash the interpreter.
>>>
>>>
>>Well anyway, I committed a similar patch in r16302. Thanks!
>>
>>
>Thanks Brane. Do the trac tests pass now, or does more work need to be done?
>
>
Looks like the trac tests crash was the one I fixed in r16300. :)
So, the trac tests no longer crash, but they fail as follows:

$ python run_all.py
.....Traceback (most recent call last):
  File "run_all.py", line 19, in ?
    unittest.main(defaultTest='suite')
  File "H:\brane\Projects\Houdini\brane_snap_lj\util\python23\lib\unittest.py", line 721, in __init__
    self.runTests()
  File "H:\brane\Projects\Houdini\brane_snap_lj\util\python23\lib\unittest.py", line 758, in runTests
    result = self.testRunner.run(self.test)
  File "H:\brane\Projects\Houdini\brane_snap_lj\util\python23\lib\unittest.py", line 658, in run
    test(result)
  File "H:\brane\Projects\Houdini\brane_snap_lj\util\python23\lib\unittest.py", line 389, in __call__
    test(result)
  File "H:\brane\Projects\Houdini\brane_snap_lj\util\python23\lib\unittest.py", line 389, in __call__
    test(result)
  File "H:\brane\Projects\Houdini\brane_snap_lj\util\python23\lib\unittest.py", line 389, in __call__
    test(result)
  File "h:\brane\src\svn\repos\svn-trunk-2\subversion\bindings\swig\python\tests\trac\test.py", line 33, in __call__
    self.setUp()
  File "h:\brane\src\svn\repos\svn-trunk-2\subversion\bindings\swig\python\tests\trac\versioncontrol\tests\svn_fs.py", line 45, in setUp
    r = repos.svn_repos_create(REPOS_PATH, '', '', None, None, pool)
libsvn._core.SubversionException: ('Repository creation failed', 200011)

I'm not going to follow up on this.

>Try executing the following Python command, and let me know whether it works:
> import svn.repos
> svn.repos.open("/repository")
>(note that the pool argument is missing)
>
>
This works (i.e., you get the expected "no such file /repository/format"
exception, not a crash or a missing-argument thingie).

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 27 15:30:18 2005

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