* From: Carlos Barcenilla
* Subject: [Mailman-Users] ImportError: No module named Charset
* Date: Mon, 11 Nov 2002 04:37:26 -0800

Hi!

When I call checkdbs (either manually or from cron) i get the following error:

[root@cox cron]# ./checkdbs
Traceback (most recent call last):
File "./checkdbs", line 26, in ?
from email.Charset import Charset
ImportError: No module named Charset
I solved this way, but I think it's a bug.

[root@cox cron]# export PYTHONPATH=/usr/local/mailman/pythonlib
[root@cox cron]# ./checkdbs
Versions:
-OS: Red Hat 8.0
-Python: 2.2.1
-mailman: 2.1b4

Regards.
Carlos
This is fixed in 2.1b5.

If you don't want to download 2.1b5, open bin/checkdbs, and move the line:

from email.Charset import Charset

to just after the line:

import paths

This ensures that we are using the mailman email package...

Sorry if this has been answered before, its just that I didn't find this solution in the archives, but it was in the archives for mailman developer.

I checked the 2.1b5 version of checkdbs and it had been fixed there, too...

daniel.
--
Daniel Figucio
Computer Graphics and Internet Specialist
CRC for Catchment Hydrology
GPO Box 1666
CANBERRA CITY ACT 2601

t: +61 2 6246 5822
f: + 61 2 6246 5845

http://www.catchment.crc.org.au
http://www.clw.csiro.au/research/catchment/modelling/

AWAY NEXT: December 21 2002 - January 19 2003 (All Dates Inclusive)


------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to