Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.x
-
None
-
Windows XP
Description
The following Python script doesn't work as expected: 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() On Windows, the script reports this: 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 On Linux, the actual Exception is different: $ ./test.py 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) This comes from http://svn.haxx.se/dev/archive-2004-12/0374.shtml Other reports: http://svn.haxx.se/users/archive-2004-03/1292.shtml http://svn.haxx.se/users/archive-2004-06/1283.shtml http://svn.haxx.se/users/archive-2004-10/0295.shtml http://svn.haxx.se/dev/archive-2004-05/0812.shtml This is a showstopper for RSVN, as most of the time I cannot guess what is wrong, and cannot continue development.
http://svn.haxx.se/dev/archive-2004-12/0370.shtml
Original issue reported by fbos