[Mailman-Users] ImportError: No module named Mailman

Bill Moseley moseleymm at hank.org
Wed Jan 9 07:34:19 CET 2002


At 08:30 PM 01/08/02 -0800, Dan Mick wrote:
>Is the cron running as user mailman?  Is user mailman's home dir
>/home/mailman?

/etc/passwd:mailman:x:506:105::/home/mailman:/bin/bash
/etc/group:mailman:x:105:

> ll -d /home/mailman
drwxrwsr-x  19 mailman  mailman      4096 Jan  2 15:33 /home/mailman/

>> ImportError: No module named Mailman

So, is there a way to get a better error message  (e.g. No such file or
directory/Permission denied?)



>
>> I asked this a week or so ago without response, I believe.
>> 
>> Mailman on a test machine has quit working (it's only a test installation
>> so not real lists are down).
>> 
>> I'm seeing:
>> 
>> Traceback (innermost last):
>>   File "/home/mailman/cron/senddigests", line 29, in ?
>>     from Mailman import MailList
>> ImportError: No module named Mailman
>> 
>> But when those started I also had some disk errors in my /var/log/messages
>> file, which, due to the timing, I assume are related.
>> 
>> I don't know python, so I'm just wondering how to find out what exactly is
>> bothering Mailman.
>> 
>> I seem to have a module named Mailman, but I'm not sure how python looks
>> for its modules:
>> 
>> > pwd
>> /home/mailman
>> 
>> > ll Mailman
>> -rw-r--r--   1 mailman  mailman      1649 Jan  2 15:33 Mailman
>> 
>> Thanks,
>> -- 
>> Bill Moseley
>> mailto:moseley at hank.org
>> 
>> ------------------------------------------------------
>> Mailman-Users maillist  -  Mailman-Users at python.org
>> http://mail.python.org/mailman/listinfo/mailman-users
>
>
-- 
Bill Moseley
mailto:moseley at hank.org




More information about the Mailman-Users mailing list