[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: Роман Донченко <DXDragon_at_yandex.ru>
Date: Fri, 13 Aug 2010 01:46:23 +0400

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).

Roman.
Received on 2010-08-12 23:47:33 CEST

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