Your message dated Thu, 08 Aug 2013 15:50:00 +0000
with message-id <[email protected]>
and subject line Bug#712383: fixed in svnmailer 1.0.8-13
has caused the Debian Bug report #712383,
regarding svnmailer: crashes with python-subversion
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
712383: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712383
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: svnmailer
Version: 1.0.8-12
Severity: important
Tags: wheezy

Hi,

svnmailer has an instance of #683188 and needs to be updated to work with
pysubversion from wheezy. This affects svn repositories on alioth since the
ugprade to wheezy. The attached patch fixes it. It would be great to get an
update in p-u so we can get it fixed in alioth.

Arguably pysubversion should export svn_core.SVN_STREAM_CHUNK_SIZE as an int and
not a long type since it expects an int in svn_stream_* calls. But I don't know
if that would break other things so this patch should be safe.

Cheers,
Emilio

pochu@vasks:/svn/pkg-gnome/hooks$ /usr/bin/svn-mailer --commit --config
/svn/pkg-gnome/hooks/svnmailer.conf --repository /svn/pkg-gnome --revision 38594
One or more notifiers crashed. You may want to send the following traceback(s)
to the author:

------------------------------------------------------------------------------
Notifier: svnmailer.util.URLTruncatingDecorator
Revision: 38594
Groups: [u'bysource']
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/svnmailer/main.py", line 101, in run
    notifier.run()
  File "/usr/lib/pymodules/python2.7/svnmailer/notifier/_mail.py", line 62, in 
run
    for mail in self.getMails():
  File "/usr/lib/pymodules/python2.7/svnmailer/notifier/_mail.py", line 83, in
getMails
    for mail in self.composeMail():
  File "/usr/lib/pymodules/python2.7/svnmailer/notifier/_textmail.py", line 131,
in composeMail
    self.writeNotification()
  File "/usr/lib/pymodules/python2.7/svnmailer/notifier/_textmail.py", line 379,
in writeNotification
    self.__super.writeNotification()
  File "/usr/lib/pymodules/python2.7/svnmailer/notifier/_mail.py", line 96, in
writeNotification
    self.writeDiffList()
  File "/usr/lib/pymodules/python2.7/svnmailer/notifier/_textmail.py", line 414,
in writeDiffList
    self.__super.writeDiffList()
  File "/usr/lib/pymodules/python2.7/svnmailer/notifier/_text.py", line 183, in
writeDiffList
    self.writeContentDiff(change)
  File "/usr/lib/pymodules/python2.7/svnmailer/notifier/_textmail.py", line 419,
in writeContentDiff
    self.__super.writeContentDiff(change)
  File "/usr/lib/pymodules/python2.7/svnmailer/notifier/_text.py", line 352, in
writeContentDiff
    change, enc = enc, default = default
  File "/usr/lib/pymodules/python2.7/svnmailer/notifier/_base.py", line 320, in
dumpContent
    fp, change.getBasePath(), change.getBaseRevision()
  File "/usr/lib/pymodules/python2.7/svnmailer/subversion.py", line 358, in
dumpPathContent
    stream, svn_core.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
diff -ruNp svnmailer-1.0.8.orig/src/lib/svnmailer/subversion.py svnmailer-1.0.8/src/lib/svnmailer/subversion.py
--- svnmailer-1.0.8.orig/src/lib/svnmailer/subversion.py	2006-04-17 12:29:06.000000000 +0200
+++ svnmailer-1.0.8/src/lib/svnmailer/subversion.py	2013-06-15 16:07:36.137576163 +0200
@@ -355,7 +355,7 @@ class Repository(object):
             try:
                 while True:
                     chunk = svn_core.svn_stream_read(
-                        stream, svn_core.SVN_STREAM_CHUNK_SIZE
+                        stream, int(svn_core.SVN_STREAM_CHUNK_SIZE)
                     )
                     if not chunk:
                         break

--- End Message ---
--- Begin Message ---
Source: svnmailer
Source-Version: 1.0.8-13

We believe that the bug you reported is fixed in the latest version of
svnmailer, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <[email protected]> (supplier of updated svnmailer package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 03 Aug 2013 16:46:12 +0200
Source: svnmailer
Binary: svnmailer
Architecture: source all
Version: 1.0.8-13
Distribution: unstable
Urgency: low
Maintainer: Python Applications Packaging Team 
<[email protected]>
Changed-By: Andreas Beckmann <[email protected]>
Description: 
 svnmailer  - extensible Subversion commit notification tool
Closes: 712383
Changes: 
 svnmailer (1.0.8-13) unstable; urgency=low
 .
   [ Andreas Beckmann ]
   * QA upload.
   * Remove Sandro Tosi from Uploaders. Thanks for your work on svnmailer!
     (See #634213)
 .
   [ Jakub Wilk ]
   * Use canonical URIs for Vcs-* fields.
 .
   [ Emilio Pozuelo Monfort ]
   * Convert svn_core.SVN_STREAM_CHUNK_SIZE from long to int to restore
     compatibility with python-subversion 1.6.17.  (Closes: #712383)
Checksums-Sha1: 
 b859d439ca74310552ac3cfad510b8e115cc969e 2046 svnmailer_1.0.8-13.dsc
 e6f094a94baa4684471d29eaa227044e95ba356c 7125 svnmailer_1.0.8-13.diff.gz
 3ee935187707b6e4d107e1724b2f8cfb46ec69bc 203424 svnmailer_1.0.8-13_all.deb
Checksums-Sha256: 
 678e15ea3e0ac56a979ce24516690706f1e4841379eaed4c0ea43d75b1634daa 2046 
svnmailer_1.0.8-13.dsc
 364c6b18c38c6ef6641b4144f50273a2a74071583512a635edc2cc191d6cb1bb 7125 
svnmailer_1.0.8-13.diff.gz
 f4379ee168bfee6598dad9b5ce4bc53aff749cdd7fd64a684e39b80f2981cf8d 203424 
svnmailer_1.0.8-13_all.deb
Files: 
 fa5ec7af746f13ca891be3eb4b2a3e8f 2046 vcs optional svnmailer_1.0.8-13.dsc
 bf54c43e277fa606a1a128dbdc6627e7 7125 vcs optional svnmailer_1.0.8-13.diff.gz
 a91252be99f987a7fba185ca654c3719 203424 vcs optional svnmailer_1.0.8-13_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJR/RrCAAoJEF+zP5NZ6e0IO8EP/1R/Am4dzWNLDtiingYjmSCt
um1TrPFY3Jmvba+qQEDsj/+ntUke7w88tGwjK6onkm0LQ+I1BoKf+jjJ1efLZkPy
7nQH1hGZO6q/R20OhHBa2JIjJA5nx8BEbjBnjGuPqrlPxdZfu1tpZcoKhR675i2f
Kklpa6VElqqJmylLDhZ0LhpELgQR7wFx3DwtCZXpTANUZv0k0CUGdtya5ACIu15y
86JzsP4FDUkUcIdYsynu2yRQ26DQvbrE9qvc9qI/Ny+Vr+mfI44CY+UQQhrJRloX
ZYoCEoQJWn+5+ygoL2Lg0X2dRuK6sygMeOnJ/9wOajiNSQTOS7kRLgltRqD4W0ej
vI1VhREt3qXq/v+hPg5qo6SbAYypRhpCGwwRaghh0wo04hTHUB59C1jXqKfI/B9/
/IiMlnFwp7PwoeQ3ah3BTpCaDI+Wfr8Nh+HGG5eKEBVqYyL0SNBmPafNLBFOXmJr
Wnbpz9CIOiP+FM3gGHyAk+UZh6GHRYFAFU9XR7GbZPO9fk3nWVLsXSTvgJfprzSA
5zMPwV87+SoeO/uVl0s5SifFXiK+yAOgpd2N0AEIAwOaqcuJpyd0+4EybMyEkKBC
hpVffidsTfEAmR+n2bysm2B3zlJRFXo5uL1R/Hrf259E3CJjXID+waui2c9xhNWz
8ZiIpogQL2N6iJS/sQq4
=lPdA
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to