Hi,
I have the same recurring problem - Win32 Python bindings report a 
strange error instead of the actual error.
For example:
from svn import core, fs, repos
def repro(pool):
   repos.svn_repos_open('no-repos-named-that-way', pool)
def main():
   print core.SVN_VER_MAJOR, core.SVN_VER_MINOR, core.SVN_VER_MICRO
   core.run_app(repro)
if __name__ == '__main__':
   main()
This runs and reports the following:
1 1 1
Traceback (most recent call last):
   File "C:\java\rsvn\recipe.py", line 11, in ?
     main()
   File "C:\java\rsvn\recipe.py", line 8, in main
     core.run_app(repro)
   File "C:\Python23\lib\svn\core.py", line 33, in run_app
     return apply(func, (pool,) + args, kw)
   File "C:\java\rsvn\recipe.py", line 4, in repro
     repos.svn_repos_open('no-repos-named-that-way', pool)
SystemError: null argument to internal routine
Cmpilato gave me a bit of help in early December, and on his machine, 
the raised Exception is not SystemError, but SubversionError.
The printout when running on Linux:
1 2 0
Traceback (most recent call last):
   File "./test.py", line 12, in ?
     main()
   File "./test.py", line 9, in main
     core.run_app(repro)
   File "/usr/lib/python2.3/site-packages/svn/core.py", line 37, in run_app
     return apply(func, (pool,) + args, kw)
   File "./test.py", line 5, in repro
     repos.svn_repos_open('no-repos-named-that-way', pool)
libsvn._core.SubversionException: ("Can't open file 
'no-repos-named-that-way/format': No such file or directory", 2)
Thanks,
François
PS:  Yes, it's me again with the same problem that I've been bugging the 
list about for the past two weeks...
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 17 19:53:04 2004