> This workaround works for me in the case of Trac:
>
> --- orig/usr/share/pyshared/svn/core.py 2012-06-04 08:13:32.000000000 +0200
> +++ /usr/share/pyshared/svn/core.py 2012-12-21 15:56:01.857716004 +0100
> @@ -145,7 +145,7 @@
>        # read the rest of the stream
>        chunks = [ ]
>        while 1:
> -        data = svn_stream_read(self._stream, SVN_STREAM_CHUNK_SIZE)
> +        data = svn_stream_read(self._stream, int(SVN_STREAM_CHUNK_SIZE))
>          if not data:
>            break
>          chunks.append(data)
>
> I'm not sure about any negative effects, however.

The real question is why the python type is not an int, and fix
wherever that is going wrong.  Line 25567 in
subversion/bindings/swig/python/core.c seems to indicate that it
should be.  Does SVN_STREAM_CHUNK_SIZE even contain the expected value
of 102400?

Best wishes,
Mike


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to