found python-subversion/1.6.17dfsg-4+deb7u2 thanks On my wheezy system the constant still is a long value: cotto@aprove:/usr/lib/pymodules/python2.7$ python Python 2.7.3 (default, Jan 2 2013, 13:56:14) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import svn.core >>> svn.core.SVN_STREAM_CHUNK_SIZE 102400L
cotto@aprove:/usr/lib/pymodules/python2.7$ dpkg -l python-subversion Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-======================================-========================-========================-================================================================================= ii python-subversion 1.6.17dfsg-4+deb7u2 amd64 Python bindings for Subversion This causes the following error in svnmailer: Traceback (most recent call last): File "/home/aprove/svn/cottotest/hooks/mailer.py", line 1348, in <module> sys.argv[3:3+expected_args]) File "/usr/lib/pymodules/python2.7/svn/core.py", line 281, in run_app return func(application_pool, *args, **kw) File "/home/aprove/svn/cottotest/hooks/mailer.py", line 105, in main messenger.generate() File "/home/aprove/svn/cottotest/hooks/mailer.py", line 383, in generate group, params, paths, subpool) File "/home/aprove/svn/cottotest/hooks/mailer.py", line 653, in generate_content renderer.render(data) File "/home/aprove/svn/cottotest/hooks/mailer.py", line 963, in render self._render_diffs(data.diffs, '') File "/home/aprove/svn/cottotest/hooks/mailer.py", line 1006, in _render_diffs for diff in diffs: File "/home/aprove/svn/cottotest/hooks/mailer.py", line 842, in __getitem__ src_fname, dst_fname = diff.get_files() File "/usr/lib/pymodules/python2.7/svn/fs.py", line 95, in get_files self._dump_contents(self.tempfile1, self.root1, self.path1) File "/usr/lib/pymodules/python2.7/svn/fs.py", line 77, in _dump_contents chunk = _svncore.svn_stream_read(stream, _svncore.SVN_STREAM_CHUNK_SIZE) File "/usr/lib/pymodules/python2.7/libsvn/core.py", line 4801, in svn_stream_read return _core.svn_stream_read(*args) TypeError: expecting an integer for the buffer size Thanks, -- Carsten Otto o...@informatik.rwth-aachen.de LuFG Informatik 2 http://verify.rwth-aachen.de/otto/ RWTH Aachen phone: +49 241 80-21211
signature.asc
Description: Digital signature