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

Re: Note to self (with all of dev@ peering over my shoulder...)

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Fri, 13 Aug 2010 12:14:50 -0400

On 08/12/2010 05:46 PM, Роман Донченко wrote:
> C. Michael Pilato <cmpilato_at_collab.net> писал в своём письме Fri, 13 Aug
> 2010 00:41:36 +0400:
>
>> Simplest recipe I can find:
>>
>> $ python -c 'from svn import client, core;
>> ctx = client.svn_client_ctx_t();
>> ctx.config = core.svn_config_get_config(None)'
>> Traceback (most recent call last):
>> File "<string>", line 1, in <module>
>> File "/usr/local/subversion/lib/svn-python/libsvn/client.py", line
>> 633, in
>> __setattr__
>> return _swig_setattr(self, self.__class__, name, value)
>> File "/usr/local/subversion/lib/svn-python/libsvn/client.py", line
>> 44, in
>> _swig_setattr
>> return _swig_setattr_nondynamic(self,class_type,name,value,0)
>> File "/usr/local/subversion/lib/svn-python/libsvn/client.py", line
>> 37, in
>> _swig_setattr_nondynamic
>> if method: return method(self,value)
>> TypeError: Unexpected NULL parent pool on proxy object
>> $
>>
>
> You're supposed to use svn_client_create_context (that is,
> client.create_context).

Okay. That works.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2010-08-13 18:15:43 CEST

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