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

ctypes-python-bindings - list files in working copy issue

From: Martin Zibricky <mzibr.public_at_gmail.com>
Date: Fri, 09 Mar 2012 15:33:05 +0100

Hi all,

I'm trying to use csvn (ctypes based python bindings).

I have a simple code example.

But when trying to run this code I get the following error.
I thested csvn with svn 1.6.17 and 1.7.3. The issue is still the same.

Could anyone please confirm this issue?

---
$ python list_working_copy.py
AAAAAAAAAA
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 295, in 'calling callback function'
TypeError: _list_wrapper() takes exactly 6 arguments (7 given)
Segmentation fault
---
# file: list_working_copy.py
import csvn.core
from csvn.wc import WC
csvn.core.svn_cmdline_init("", csvn.core.stderr)
working_copy = WC('path_to_wc')
print 'A' * 10
working_copy.list()
print 'B' * 10
working_copy.close()
---
Received on 2012-03-09 15:33:44 CET

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