[Mailman-Developers] Empty module name

Tokio Kikuchi tkikuchi at is.kochi-u.ac.jp
Thu Feb 5 21:12:58 EST 2004


Hi,

Try this patch;

http://sourceforge.net/tracker/index.php?func=detail&aid=891491&group_id=103&atid=300103


Dan Langille wrote:

> I'm running mailman-2.1.3 with postfix-2.0.16,1 on FreeBSD 4.9.  
> Mailman was installed a few months ago.  A few days ago, mail stopped 
> being delivered.  Viewing /var/log/maillog, I can see the mail is 
> coming in, but never being delivered.
> 
> In mailman/log/errors, I see this.
> 
> Feb 02 16:19:01 2004 (33670) uncaught archiver exception at filepos: 
> 0
> Feb 02 16:19:01 2004 (33670) Uncaught runner exception: Empty module 
> name
> Feb 02 16:19:01 2004 (33670) Traceback (most recent call last):
>   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 110, in 
> _oneloop
>     self._onefile(msg, msgdata)
>   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 160, in 
> _onefile
>     keepqueued = self._dispose(mlist, msg, msgdata)
>   File "/usr/local/mailman/Mailman/Queue/ArchRunner.py", line 73, in 
> _dispose
>     mlist.ArchiveMail(msg)
>   File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 208, 
> in ArchiveMail
>     h.processUnixMailbox(f)
>   File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 544, 
> in processUnixMailbox
>     m = mbox.next()
>   File "/usr/local/lib/python2.3/mailbox.py", line 35, in next
>     return self.factory(_Subfile(self.fp, start, stop))
>   File "/usr/local/mailman/Mailman/Mailbox.py", line 89, in scrubber
>     return mailbox.scrub(msg)
>   File "/usr/local/mailman/Mailman/Mailbox.py", line 109, in scrub
>     return self._scrubber(self._mlist, msg)
>   File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 311, 
> in process
>     t = t.encode(charset, 'replace')
>   File "/usr/local/lib/python2.3/encodings/__init__.py", line 84, in 
> search_function
>     globals(), locals(), _import_tail)
> ValueError: Empty module name
> 
>>From the archives, I see this is not a new problem, and found a patch 
> at http://www.mail-archive.com/mailman-
> developers at python.org/msg06317.html.
> 
> I applied the patch and recompiled:
> 
>    cd /usr/local/mailman/Mailman/Handlers
>    python -c "import py_compile as p; p.compile('Scrubber.py')"
> 
> I then ran unshunt and saw the errors continue.  FWIW, I also 
> retstarted the qrunners and tried again.  Same symptoms.
> 
> This problem has been raised before and seem to becoming more common. 
>  I found these recent references:
> 
> https://sourceforge.net/tracker/?func=detail&atid=100103&aid=871050&gr
> oup_id=103
> http://www.mail-archive.com/mailman-users@python.org/msg21490.html
> 
> Any suggestions please?

-- 
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/




More information about the Mailman-Developers mailing list