Notifier: svnmailer.util.URLDecorator

Bug #111735 reported by ewing
4
Affects Status Importance Assigned to Milestone
svnmailer (Ubuntu)
Fix Released
Undecided
Michael Bienia

Bug Description

Binary package hint: svnmailer

One or more notifiers crashed. You may want to send the following traceback(s) to the author:

------------------------------------------------------------------------------
Notifier: svnmailer.util.URLDecorator
Revision: 7798
Groups: [u'crc group']
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/svnmailer/main.py", line 101, in run
    notifier.run()
  File "/var/lib/python-support/python2.5/svnmailer/notifier/_mail.py", line 62, in run
    for mail in self.getMails():
  File "/var/lib/python-support/python2.5/svnmailer/notifier/_mail.py", line 83, in getMails
    for mail in self.composeMail():
  File "/var/lib/python-support/python2.5/svnmailer/notifier/_multimail.py", line 163, in composeMail
    self.writeNotification()
  File "/var/lib/python-support/python2.5/svnmailer/notifier/_mail.py", line 96, in writeNotification
    self.writeDiffList()
  File "/var/lib/python-support/python2.5/svnmailer/notifier/_multimail.py", line 221, in writeDiffList
    super(MultiMailNotifier, self).writeDiffList()
  File "/var/lib/python-support/python2.5/svnmailer/notifier/_text.py", line 183, in writeDiffList
    self.writeContentDiff(change)
  File "/var/lib/python-support/python2.5/svnmailer/notifier/_multimail.py", line 520, in writeContentDiff
    self.__super.writeContentDiff(change)
  File "/var/lib/python-support/python2.5/svnmailer/notifier/_multimail.py", line 240, in writeContentDiff
    self.diff_file_list.append(DiffDescriptor(self, tmpfile, change))
  File "/var/lib/python-support/python2.5/svnmailer/notifier/_multimail.py", line 629, in __init__
    enc1, enc2 = notifier.getContentEncodings(change, None)
  File "/var/lib/python-support/python2.5/svnmailer/notifier/_base.py", line 348, in getContentEncodings
    from encodings import exceptions
ImportError: cannot import name exceptions

Related branches

Revision history for this message
ewing (ogmueller) wrote :

This bug seems to occur only if this option is given, which worked in ubuntu edgy eft:
"mail_type = multipart type=text/html disposition=inline"

Revision history for this message
Daniel Gruen (daniel-gruen) wrote :

Same problem here, although I haven't activated the mail_type option you mention. It's not on every commit that this message appears, mail output once worked for me, which was a commit with only 'add'-s and 'remove'-s, no modifications.

My configuration worked in edgy, but not in feisty any more. The rather basic configuration file is attached, if that is of any help.

Changed in svnmailer:
status: Unconfirmed → Confirmed
Revision history for this message
Daniel Gruen (daniel-gruen) wrote :

http://qa.mandriva.com/show_bug.cgi?id=30472 seems to be concerning the same problem; they claim the bug is fixed in the latest Mandriva cooker; I searched the recent source package and attached the patch below;

As I'm new to all this, I currently wouldn't know whom to tell about the patch; possibly, apart from some ubuntu packager, this would be the svn developers. Unless somebody happens to drop by and explain, I'll just annoy some people sending them the patch :)

Revision history for this message
Daniel Gruen (daniel-gruen) wrote :

another try, now really stating that this is a patch

Michael Bienia (geser)
Changed in svnmailer:
assignee: nobody → geser
status: Confirmed → In Progress
Michael Bienia (geser)
Changed in svnmailer:
status: In Progress → Fix Committed
Revision history for this message
Michael Bienia (geser) wrote :

svnmailer (1.0.8-7ubuntu1) gutsy; urgency=low

  * Exceptions are now built-in in python (LP: #111735)
    (Thanks to Daniel Gruen for providing the patch)
  * debian/control: Modify Maintainer value to match
    DebianMaintainerField spec.

 -- Michael Bienia <email address hidden> Sun, 24 Jun 2007 02:05:14 +0200

Changed in svnmailer:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.