[Mailman-Users] __init__.py line 51 Empty module name

Jan Kellermann jan.kellermann at werk21.de
Mon Mar 17 19:50:09 CET 2003


Hi!

I have the same error message. The senddigests dies with this message (see
(1)) and the Runner, too (see (2)).

in mm_cgf.py is
DEFAULT_SERVER_LANGUAGE = 'de'

The /shunt/-directory is growing hour by hour. can someone give a useful
hint?
I did install the cvs-version 1 hour ago and startet /bin/unshunt (yes, I
did restart the mailmanctl).
I tried it with python 2.1 also.


thank you
Jan Kellermann

(1) cron-report
Traceback (most recent call last):
  File "/usr/local/mailman-2.1//cron/senddigests", line 94, in ?
    main()
  File "/usr/local/mailman-2.1//cron/senddigests", line 86, in main
    mlist.send_digest_now()
  File "/usr/local/mailman-2.1//Mailman/Digester.py", line 60, in
send_digest_now
    ToDigest.send_digests(self, mboxfp)
  File "/usr/local/mailman-2.1//Mailman/Handlers/ToDigest.py", line 123, in
send_digests
    send_i18n_digests(mlist, mboxfp)
  File "/usr/local/mailman-2.1//Mailman/Handlers/ToDigest.py", line 295, in
send_i18n_digests
    msg = scrubber(mlist, msg)
  File "/usr/local/mailman-2.1//Mailman/Handlers/Scrubber.py", line 308, in
process
    t = t.encode(charset, 'replace')
  File "/usr/lib/python2.1/encodings/__init__.py", line 47, in
search_function
    mod = __import__(modname,globals(),locals(),'*')
ValueError: Empty module name


(2) /logs/error
Mar 17 19:13:30 2003 (21397) SHUNTING:
1047922040.310686+5bce2ca583617beff66de64be18ebe03154fb083
Mar 17 19:13:30 2003 (21397) Uncaught runner exception: Empty module name
Mar 17 19:13:30 2003 (21397) Traceback (most recent call last):
  File "/usr/local/mailman-2.1/Mailman/Queue/Runner.py", line 105, in
_oneloop
    self._onefile(msg, msgdata)
  File "/usr/local/mailman-2.1/Mailman/Queue/Runner.py", line 155, in
_onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/local/mailman-2.1/Mailman/Queue/IncomingRunner.py", line 130,
in _dispose
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/usr/local/mailman-2.1/Mailman/Queue/IncomingRunner.py", line 153,
in _dopipeline
    sys.modules[modname].process(mlist, msg, msgdata)
  File "/usr/local/mailman-2.1/Mailman/Handlers/ToDigest.py", line 82, in
process
    send_digests(mlist, mboxfp)
  File "/usr/local/mailman-2.1/Mailman/Handlers/ToDigest.py", line 123, in
send_digests
    send_i18n_digests(mlist, mboxfp)
  File "/usr/local/mailman-2.1/Mailman/Handlers/ToDigest.py", line 295, in
send_i18n_digests
    msg = scrubber(mlist, msg)
  File "/usr/local/mailman-2.1/Mailman/Handlers/Scrubber.py", line 308, in
process
    t = t.encode(charset, 'replace')
  File "/usr/lib/python2.2/encodings/__init__.py", line 51, in
search_function
    mod = __import__(modname,globals(),locals(),'*')
ValueError: Empty module name

Mar 17 19:13:30 2003 (21397) SHUNTING:
1047922855.149357+40bc42a2e770c0b8213a4060a24a0e2673b5e8b7


----- Original Message -----
From: "Sumeet" <sumeetp at hotmail.com>
To: <mailman-users at python.org>
Sent: Monday, March 17, 2003 1:26 PM
Subject: [Mailman-Users] __init__.py line 51 Empty module name


> I seem to be getting alot (about 700) of these all of the sudden w no
> changes to my Rhat 8.0/MM2.1.1 and sendmail 8.11.6. Can someone please
point
> me in the right direction. thx, sumeet.
>
> Mar 17 04:03:56 2003 (1735) Traceback (most recent call last):
>   File "/list/Mailman/Queue/Runner.py", line 105, in _oneloop
>     self._onefile(msg, msgdata)
>   File "/list/Mailman/Queue/Runner.py", line 155, in _onefile
>     keepqueued = self._dispose(mlist, msg, msgdata)
>   File "/list/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
>     more = self._dopipeline(mlist, msg, msgdata, pipeline)
>   File "/list/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
>     sys.modules[modname].process(mlist, msg, msgdata)
>   File "/list/Mailman/Handlers/ToDigest.py", line 82, in process
>     send_digests(mlist, mboxfp)
>   File "/list/Mailman/Handlers/ToDigest.py", line 123, in send_digests
>     send_i18n_digests(mlist, mboxfp)
>   File "/list/Mailman/Handlers/ToDigest.py", line 295, in
send_i18n_digests
>     msg = scrubber(mlist, msg)
>   File "/list/Mailman/Handlers/Scrubber.py", line 319, in process
>     t = t.encode(charset, 'replace')
>   File
>
"/usr/src/build/143041-i386/install/usr/lib/python2.2/encodings/__init__.py"
> , line 51, in search_function
> ValueError: Empty module name
>
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives:
http://www.mail-archive.com/mailman-users%40python.org/
>
> This message was sent to: jan.kellermann at werk21.de
> Unsubscribe or change your options at
>
http://mail.python.org/mailman/options/mailman-users/jan.kellermann%40werk21
.de





More information about the Mailman-Users mailing list