Yasuhito FUTATSUKI wrote on Wed, 30 Sep 2020 01:08 +00:00:
> I also confirmed it occured in svn_fs_fs.is_packed_rev().
>
> Perhaps SvnContentProxy object also keep fsroot object until the
> stream is closed. I found a note in docstring for svn_fs_file_contents():
>
> """
> * @todo kff: I am worr
I was just about to say that I'd found something else that seems to work!
--- pysvnget.nopools 2020-09-29 09:34:52.233513574 -0400
> +++ pysvnget 2020-09-29 22:10:51.531129106 -0400
> @@ -11,6 +11,7 @@
> class SvnContentProxy:
>def __init__(self, fsroot, path):
>self.stream = svn.fs.f
On 2020/09/30 10:08, Yasuhito FUTATSUKI wrote:
> On 2020/09/30 8:51, C. Michael Pilato wrote:
>> Thanks for the reply. And I see what you're trying to do there, but in
>> practice it doesn't seem to work. The swig proxy object doesn't allow
>> arbitrary attribute creation:
>>
>> AttributeError: Y
On 2020/09/30 8:51, C. Michael Pilato wrote:
> Thanks for the reply. And I see what you're trying to do there, but in
> practice it doesn't seem to work. The swig proxy object doesn't allow
> arbitrary attribute creation:
>
> AttributeError: You cannot add instance attributes to > proxy of >
>
Thanks for the reply. And I see what you're trying to do there, but in
practice it doesn't seem to work. The swig proxy object doesn't allow
arbitrary attribute creation:
AttributeError: You cannot add instance attributes to proxy of >
I tried to work around this using this construct:
-
On 2020/09/29 22:35, C. Michael Pilato wrote:
> Sorry for the self-reply, but I thought I'd note that if I tweak
> pysvnget thusly, the SEGFAULTs stop:
>
> --- pysvnget 2020-09-29 09:34:07.918002584 -0400
>> +++ pysvnget.pools 2020-09-29 09:33:54.278153037 -0400
>> @@ -21,17 +21,17 @@
>>
Sorry for the self-reply, but I thought I'd note that if I tweak
pysvnget thusly, the SEGFAULTs stop:
--- pysvnget 2020-09-29 09:34:07.918002584 -0400
> +++ pysvnget.pools 2020-09-29 09:33:54.278153037 -0400
> @@ -21,17 +21,17 @@
>yield chunk
>svn.core.svn_stream_close(self.str
Hey, all. I'm wondering if I can get some extra eyes/brains on a
particular usage of our Python bindings.
The attached tarball contains a directory in which lives two files:
- run-test.sh - a shell script to drive the reproduction recipe
- pysvnget - a Python program that uses the bindings
8 matches
Mail list logo