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

Re: Getting better error messages out of the Python bindings

From: François Beausoleil <fbeausoleil_at_ftml.net>
Date: 2004-12-08 20:17:05 CET

Hmmm, let me see:
1. I downloaded a fresh copy of svn-win32-1.1.1_py.zip today;
2. I deleted the svn and libsvn folders from C:\Python23\Lib
3. I unzipped, and moved svn, libsvn to C:\Python23\Lib
4. I ran Python, to get this:
Python 2.3.2 (#49, Oct 2 2003, 20:02:00) [MSC v.1200 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import svn.core
>>> print svn.core.SVN_VER_MAJOR, svn.core.SVN_VER_MINOR,
svn.core.SVN_VER_MICRO

1 1 1

So, I thought my Subversion bindings installation was correct. Can some
Win32 guru tell me where I should put those files ? I tried moving them
to C:\Python23\Lib\site-packages, but I get the same error.

What's funny is that the path to the core.py file is still
C:\Python23\Lib. Here's some more output:

C:\>test
1 1 1
Traceback (most recent call last):
   File "C:\test.py", line 11, in ?
     main()
   File "C:\test.py", line 8, in main
     core.run_app(repro)
   File "C:\Python23\lib\svn\core.py", line 33, in run_app
   File "C:\test.py", line 4, in repro
     repos.svn_repos_open('no-repos-named-that-way', pool)
SystemError: null argument to internal routine

C:\>dir \Python23\*svn* /s/b
C:\Python23\Lib\site-packages\libsvn
C:\Python23\Lib\site-packages\svn

I used the same script as my initial version.

Thanks,
François

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 8 20:25:52 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.