[Mailman-Users] Re: ImportError: No module named Charset

Daniel Figucio daniel.figucio at csiro.au
Thu Nov 28 06:41:09 CET 2002


>     * 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 at 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 at cox cron]# export PYTHONPATH=/usr/local/mailman/pythonlib
> [root at 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)




More information about the Mailman-Users mailing list