FAQ
Patches item #1246003, was opened at 2005-07-27 15:12
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?funcÞtail&atid00103&aid46003&group_id3

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: internationalization
Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Auke Kok (sofar)
Assigned to: Nobody/Anonymous (nobody)
Summary: 2.1.6 senddigests unicode error exception handling

Initial Comment:

Hi, I've had senddigests break on me and this seems to
be resolved by adding a proper exception handling as
follows:

vi +333 Mailman/Handlers/ToDigest.py

replace:
except LookupError:
with:
except (UnicodeError, LookupError):


after this adjustment all digests are sent out properly
again for my lists.

symptoms were:


Traceback (most recent call last):
File "/var/mailman/cron/senddigests", line 94, in ?
main()
File "/var/mailman/cron/senddigests", line 86, in main
mlist.send_digest_now()
File "/var/mailman/Mailman/Digester.py", line 60, in
send_digest_now
ToDigest.send_digests(self, mboxfp)
File "/var/mailman/Mailman/Handlers/ToDigest.py",
line 133, in send_digests
send_i18n_digests(mlist, mboxfp)
File "/var/mailman/Mailman/Handlers/ToDigest.py",
line 331, in send_i18n_digests
payload = unicode(payload, mcset, 'replace'
UnicodeError: ISO-2022-JP decoding error: invalid
designation


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?funcÞtail&atid00103&aid46003&group_id3

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-coders @
categoriespython
postedJul 27, '05 at 1:12p
activeJul 27, '05 at 1:12p
posts1
users1
websitelist.org

1 user in discussion

SourceForge.net: 1 post

People

Translate

site design / logo © 2022 Grokbase