[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: Thu, 08 Mar 2012 19:23:00 +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-08 19:23:38 CET

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

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