Uncought runner exception: Empty module name

Bug #266009 reported by Fbarajas-users
2
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Medium
Unassigned

Bug Description

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!

[http://sourceforge.net/tracker/index.php?func=detail&aid=871050&group_id=103&atid=100103]

Revision history for this message
Meyerm (meyerm) wrote :

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

Revision history for this message
Zebaoth (zebaoth) wrote :

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

Revision history for this message
Junkmale (junkmale) wrote :

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

Revision history for this message
Hallcp (hallcp) wrote :

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.

Revision history for this message
James968 (james968) wrote :

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.

Revision history for this message
Bug Importer (bug-importer) wrote :

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.)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.