Patches item #1246003, was opened at 2005-07-27 13:12
Message generated for change (Comment added) made by polansky
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


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

Comment By: Jonathan Polansky (polansky)
Date: 2005-11-02 23:11

Message:
Logged In: YES
user_idV7517

I just wanted to add that I also ran into this error and
this fix seems to have solved the problem. If this could be
included in the next mm update, that'd be great. Also,
thanks to Auke for the fix!

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

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

Search Discussions

  • SourceForge.net at Nov 19, 2005 at 3:07 am
    Patches item #1246003, was opened at 2005-07-27 13:12
    Message generated for change (Comment added) made by tkikuchi
    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: Closed
    Resolution: Accepted
    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


    ----------------------------------------------------------------------
    Comment By: Tokio Kikuchi (tkikuchi)
    Date: 2005-11-19 03:07

    Message:
    Logged In: YES
    user_idg709

    Accepted and closed.
    Thank you.


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

    Comment By: Jonathan Polansky (polansky)
    Date: 2005-11-02 23:11

    Message:
    Logged In: YES
    user_idV7517

    I just wanted to add that I also ran into this error and
    this fix seems to have solved the problem. If this could be
    included in the next mm update, that'd be great. Also,
    thanks to Auke for the fix!

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

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-coders @
categoriespython
postedNov 2, '05 at 11:11p
activeNov 19, '05 at 3:07a
posts2
users1
websitelist.org

1 user in discussion

SourceForge.net: 2 posts

People

Translate

site design / logo © 2022 Grokbase