[ mailman-Bugs-871050 ] Uncought runner exception: Empty module name

SourceForge.net noreply at sourceforge.net
Fri Apr 29 23:27:25 CEST 2005


Bugs item #871050, was opened at 2004-01-05 09:03
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=871050&group_id=103

Category: mail delivery
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Fernando Barajas (fbarajas)
Assigned to: Nobody/Anonymous (nobody)
Summary: Uncought runner exception: Empty module name

Initial Comment:
Hi!

I run several lists on mailman, and all of the lists are 
working OK, but suddently one of them (named 
fc_general) stopped working, and I get the following in 
logs/error every time I try to post to the fc_general list:


Jan 05 11:03:48 2004 (8451) Uncaught runner 
exception: Empty module name
Jan 05 11:03:48 2004 (8451) Traceback (most recent 
call last):
  File "/home/mailman/Mailman/Queue/Runner.py", line 
105, in _oneloop
    self._onefile(msg, msgdata)
  File "/home/mailman/Mailman/Queue/Runner.py", line 
155, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  
File "/home/mailman/Mailman/Queue/IncomingRunner.py", 
line 130, in _dispose
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
  
File "/home/mailman/Mailman/Queue/IncomingRunner.py", 
line 153, in _dopipeline
    sys.modules[modname].process(mlist, msg, msgdata)
  File "/home/mailman/Mailman/Handlers/ToDigest.py", 
line 89, in process
    send_digests(mlist, mboxfp)
  File "/home/mailman/Mailman/Handlers/ToDigest.py", 
line 130, in send_digests
    send_i18n_digests(mlist, mboxfp)
  File "/home/mailman/Mailman/Handlers/ToDigest.py", 
line 303, in send_i18n_dige
sts
    msg = scrubber(mlist, msg)
  File "/home/mailman/Mailman/Handlers/Scrubber.py", 
line 308, in process
    t = t.encode(charset, 'replace')
  File "/var/tmp/python2-2.2.3-
root/usr/lib/python2.2/encodings/__init__.py", li
ne 51, in search_function
ValueError: Empty module name

Jan 05 11:03:48 2004 (8451) SHUNTING: 
1073322225.130398+2e61b88872c9af343bce1927
de7443b7500f2622

The rest of my lists work correctly.  

I was using 2.1.2, but today I upgraded to 2.1.4 and it's 
still failing.

What can I do?

Thanks!


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2005-04-29 14:27

Message:
Logged In: NO 

I also experienced a similar problem, but was able to fix it.

In my case, it appears to have been related to a python
version number:  the qrunner program was running against one
python version, but was actually using features defined in a
later version.

In my case, I had Python 2.2 installed with the operating
system, but had subsequently installed version 2.4.1.

I fixed the problem by re-installing mailman with an
explicit reference to the later python version (./configure
--with-python=...), and then rebooting the system.  After
that, it was fine.

(The reboot was to get qrunner running against the later
python version: it seemed the old version was running
whatever I might do with chkconfig or /etc/init.d/mailman. 
Rebooting was maybe a sledgehammer to crack a nut.)

----------------------------------------------------------------------

Comment By: James Hammett (james968)
Date: 2005-03-14 07:32

Message:
Logged In: YES 
user_id=310971

Running version 2.1.2.  I get :

Mar 14 09:30:49 2005 (28471) Traceback (most recent call last):
  File "/usr/share/mailman/Mailman/Queue/Runner.py", line 105, in 
_oneloop
    self._onefile(msg, msgdata)
  File "/usr/share/mailman/Mailman/Queue/Runner.py", line 155, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/share/mailman/Mailman/Queue/IncomingRunner.py", line 130, 
in _dispose
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/usr/share/mailman/Mailman/Queue/IncomingRunner.py", line 153, 
in _dopipeline
    sys.modules[modname].process(mlist, msg, msgdata)
  File "/usr/share/mailman/Mailman/Handlers/ToDigest.py", line 89, in 
process
    send_digests(mlist, mboxfp)
  File "/usr/share/mailman/Mailman/Handlers/ToDigest.py", line 130, in 
send_digests
    send_i18n_digests(mlist, mboxfp)
  File "/usr/share/mailman/Mailman/Handlers/ToDigest.py", line 303, in 
send_i18n_digests
    msg = scrubber(mlist, msg)
  File "/usr/share/mailman/Mailman/Handlers/Scrubber.py", line 308, in 
process
    t = t.encode(charset, 'replace')
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/encodings/__init__.py", line 84, in search_function
    globals(), locals(), _import_tail)
ValueError: Empty module name


----

I've attempted removing the digest files and cleaning them up, but this 
hasn't helped. 

----------------------------------------------------------------------

Comment By: Charles Hall (hallcp)
Date: 2004-08-02 10:34

Message:
Logged In: YES 
user_id=747417

In my case the quick fix was to delete the existing
"digest.mbox" file. (Look in
~mailman/lists/your_list/digest.mbox)

I guess a bogus email snuck in there that breaks Python's
character handling.

Your digest subscribers will be unhappy but at least your
list is up again.



----------------------------------------------------------------------

Comment By: Dan Langille (junkmale)
Date: 2004-02-05 08:10

Message:
Logged In: YES 
user_id=27858

I am having a simlar problem.  Mail comes in, but never goes 
out to the list.  Everthing is shunted.  I found this "patch"  
http://www.mail-archive.com/mailman-developers@python.
org/msg06317.html and applied it.  Then I ran unshunt.  That's 
when this appeared in mailman/logs/error

Feb 05 07:57:07 2004 (27060) Dequeuing message destined 
for missing list: planners
Feb 05 07:57:07 2004 (27060) Uncaught runner exception: 
Empty module name
Feb 05 07:57:07 2004 (27060) 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/IncomingRunner.py", 
line 130, in _dispose
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", 
line 153, in _dopipeline
    sys.modules[modname].process(mlist, msg, msgdata)
  File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 
90, in process
    send_digests(mlist, mboxfp)
  File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 
131, in send_digests
    send_i18n_digests(mlist, mboxfp)
  File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 
304, in send_i18n_digests
    msg = scrubber(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


----------------------------------------------------------------------

Comment By: Jochen Witte (zebaoth)
Date: 2004-01-27 03:09

Message:
Logged In: YES 
user_id=565663

I use 2.1.3 and have the same problem. Any solution in sight?

----------------------------------------------------------------------

Comment By: Marcel Meyer (meyerm)
Date: 2004-01-14 02:56

Message:
Logged In: YES 
user_id=66911

Hi, 
 
was this somehow resolved?? I just found to have the same problems! 
What can I do that the messages (the shunt directory is now 1,5 MB 
big! [not the contents of the dir, but the dir inode itself...!!] ) are 
written into the archives without loosing anything? unshunt just puts 
them back into the shunt directory. 
 
Is there some patch - anything? 
 
Thanks a lot 
Marcel 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=871050&group_id=103


More information about the Mailman-coders mailing list