Branko ÄŒibej <brane@xbc.nu> writes:
> This seems to work fine on Windows, but I'm worried about the change in
> gen_base.py -- I can't easily test it on Unix right now. Could somebody
> who regularly builds SWIG bindings on Unix test this patch, please?
It builds and installs on my Linux box. I don't really know how to
exercise the swig stuff, but when I try to run svnlook.py I get
$ python -V
Python 2.1.3
$ svnlook.py repo
Traceback (most recent call last):
File "/home/pm/sw/subversion/svn/tools/examples/svnlook.py", line 23, in ?
from svn import core, fs, delta, repos
File "/usr/local/subversion/lib/svn-python/svn/core.py", line 21, in ?
from libsvn.core import *
ImportError: dynamic module does not define init function (initcore)
reverting the patch and trying again I get
$ svnlook.py repo
2003-06-22 15:28
45
This log message brought to you by /bin/echo
Traceback (most recent call last):
File "/home/pm/sw/subversion/svn/tools/examples/svnlook.py", line 391, in ?
main()
File "/home/pm/sw/subversion/svn/tools/examples/svnlook.py", line 388, in main
core.run_app(SVNLook, sys.argv[1], cmd, rev, txn)
File "/usr/local/subversion/lib/svn-python/svn/core.py", line 33, in run_app
return apply(func, (pool,) + args, kw)
File "/home/pm/sw/subversion/svn/tools/examples/svnlook.py", line 42, in __init__
getattr(self, 'cmd_' + cmd)()
File "/home/pm/sw/subversion/svn/tools/examples/svnlook.py", line 49, in cmd_default
self.cmd_tree()
File "/home/pm/sw/subversion/svn/tools/examples/svnlook.py", line 98, in cmd_tree
self._print_tree(Editor, base_rev=0)
File "/home/pm/sw/subversion/svn/tools/examples/svnlook.py", line 133, in _print_tree
e_ptr, e_baton, 0, 1, 0, 1, 0, self.pool)
TypeError: svn_repos_dir_delta() takes exactly 12 arguments (13 given)
which appears to work until an out-of-date API call is used.
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 23 23:26:06 2003