FAQ
Hello mailman users,

I just upgraded to Mailman beta 4 and I am receiving this error when a
mailman cron job runs. Has anyone seen this error and does anyone know
how to fix it. Thank you for your time.


Traceback (most recent call last):
File "/usr/local/mailman/cron/checkdbs", line 26, in ?
from email.Charset import Charset
ImportError: No module named email.Charset


Brett Miller
Booz | Allen | Hamilton
E-mail: miller_brett at bah.com
Office: (410)684-6468

Search Discussions

  • Paul Reilly at Oct 29, 2002 at 2:48 pm
    I've setup mailman on a virtual hosting envinroment, but each virtual
    listinfo main page...

    http://lists.virtualdomain.com/mailman/listinfo

    has a link to admin page which lists all the mailing lists on the
    server, not just the ones for this virtual domain!

    How do I remove this?

    Thanks

    Paul
  • Chris colombo at Oct 29, 2002 at 3:09 pm
    I have no idea what this mailstuff is all about. Just woke up today and my
    box is full of this Mailman-Users chatter.

    Do you know how I get away?




    From: Paul Reilly <pareilly at tcd.ie>
    To: chris_colombo at hotmail.com
    CC: Mailman mailing list management users <mailman-users at python.org>
    Subject: [Mailman-Users] virtual domain mailmans?
    Date: Tue, 29 Oct 2002 14:48:39 +0000 (GMT)


    I've setup mailman on a virtual hosting envinroment, but each virtual
    listinfo main page...

    http://lists.virtualdomain.com/mailman/listinfo

    has a link to admin page which lists all the mailing lists on the
    server, not just the ones for this virtual domain!

    How do I remove this?

    Thanks

    Paul


    ------------------------------------------------------
    Mailman-Users mailing list
    Mailman-Users at python.org
    http://mail.python.org/mailman/listinfo/mailman-users
    Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
    Searchable Archives:
    http://www.mail-archive.com/mailman-users%%40python.org/

    _________________________________________________________________
    Surf the Web without missing calls! Get MSN Broadband.
    http://resourcecenter.msn.com/access/plans/freeactivation.asp
  • Gedaliah Wolosh at Oct 30, 2002 at 3:12 pm
    Mailman gurus,

    I also get this error. My installation is a brand new 2.1b4 running on
    RedHat 8. Any information would be greatly appreciated.

    --Gedaliah
    On Tue, the 23rd of Cheshvan, 5763 (10/29/2002) Miller Brett wrote:

    Hello mailman users,

    I just upgraded to Mailman beta 4 and I am receiving this error when a
    mailman cron job runs. Has anyone seen this error and does anyone know
    how to fix it. Thank you for your time.


    Traceback (most recent call last):
    File "/usr/local/mailman/cron/checkdbs", line 26, in ?
    from email.Charset import Charset
    ImportError: No module named email.Charset


    Brett Miller
    Booz | Allen | Hamilton
    E-mail: miller_brett at bah.com
    Office: (410)684-6468





    ------------------------------------------------------
    Mailman-Users mailing list
    Mailman-Users at python.org
    http://mail.python.org/mailman/listinfo/mailman-users
    Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
    Searchable Archives: http://www.mail-archive.com/mailman-users%%40python.org/
  • Miller Brett at Oct 30, 2002 at 3:58 pm
    After doing some research, it looks the charset.py and charset.pyc are
    in the /usr/local/mailman/pythonlib/email/ directory but it still is
    unable to load the email.charset module. Can anyone shed some light on
    this? Thanks

    Brett Miller
    Booz | Allen | Hamilton


    -----Original Message-----
    From: Gedaliah Wolosh [mailto:gwolosh at njit.edu]
    Sent: Wednesday, October 30, 2002 10:12 AM
    To: Miller Brett
    Cc: Mailman mailing list management users
    Subject: Re: [Mailman-Users] Problem with 2.1 beta 4

    Mailman gurus,

    I also get this error. My installation is a brand new 2.1b4 running on
    RedHat 8. Any information would be greatly appreciated.

    --Gedaliah
    On Tue, the 23rd of Cheshvan, 5763 (10/29/2002) Miller Brett wrote:

    Hello mailman users,

    I just upgraded to Mailman beta 4 and I am receiving this error when a
    mailman cron job runs. Has anyone seen this error and does anyone know
    how to fix it. Thank you for your time.


    Traceback (most recent call last):
    File "/usr/local/mailman/cron/checkdbs", line 26, in ?
    from email.Charset import Charset
    ImportError: No module named email.Charset


    Brett Miller
    Booz | Allen | Hamilton
    E-mail: miller_brett at bah.com
    Office: (410)684-6468





    ------------------------------------------------------
    Mailman-Users mailing list
    Mailman-Users at python.org
    http://mail.python.org/mailman/listinfo/mailman-users
    Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
    Searchable Archives:
    http://www.mail-archive.com/mailman-users%%40python.org/
    >
  • Barry A. Warsaw at Oct 30, 2002 at 4:34 pm
    "GW" == Gedaliah Wolosh <gwolosh at njit.edu> writes:
    GW> Mailman gurus,

    GW> I also get this error. My installation is a brand new 2.1b4
    GW> running on RedHat 8. Any information would be greatly
    GW> appreciated.

    Grab cvs or wait a day or two for b5. Or grab email 2.4.3 from
    sf.net/projects/mimelib and install it into your Python distro.

    -Barry
  • Barry A. Warsaw at Oct 30, 2002 at 4:37 pm
    Or apply this patch:

    Index: checkdbs
    ===================================================================
    RCS file: /cvsroot/mailman/mailman/cron/checkdbs,v
    retrieving revision 2.16
    retrieving revision 2.17
    diff -u -r2.16 -r2.17
    --- checkdbs 28 Oct 2002 02:57:33 -0000 2.16
    +++ checkdbs 28 Oct 2002 03:43:42 -0000 2.17
    @@ -23,12 +23,12 @@
    import sys
    import time
    from types import UnicodeType
    -from email.Charset import Charset

    import paths
    -# mm_cfg must be imported before the other modules, due to the side-effect of
    -# it hacking sys.paths to include site-packages. Without this, running this
    -# script from cron with python -S will fail.
    +
    +# Import this after paths so we get Mailman's copy of the email package
    +from email.Charset import Charset
    +
    from Mailman import mm_cfg
    from Mailman import Utils
    from Mailman import MailList

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedOct 29, '02 at 2:39p
activeOct 30, '02 at 4:37p
posts7
users5
websitelist.org

People

Translate

site design / logo © 2022 Grokbase