python name generators?

Bug #266058 reported by Tribble23 on 2004-04-16
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Medium
Unassigned

Bug Description

Hejho,

 can anybody help please?
 the whole mailman does not work anymore. this is only
the weboutput of it.

Bug in Mailman version 2.1.4

We're sorry, we hit a bug!

If you would like to help us identify the problem,
please email a copy of this page to the webmaster for
this site with a description of what happened. Thanks!
Traceback:

Traceback (most recent call last):
  File "/var/lib/mailman/scripts/driver", line 80, in
run_main
    pkg = __import__('Mailman.Cgi', globals(),
locals(), [scriptname])
  File "/usr/lib/mailman/Mailman/Cgi/listinfo.py", line
26, in ?
    from Mailman import Utils
  File "/var/lib/mailman/Mailman/Utils.py", line 37, in ?
    import email.Header
  File "/usr/lib/python2.3/email/Header.py", line 11, in ?
    import email.base64MIME
  File "/usr/lib/python2.3/email/base64MIME.py", line
31, in ?
    from email._compat22 import _floordiv
  File "/usr/lib/python2.3/email/_compat22.py", line 7,
in ?
    from __future__ import generators
ImportError: cannot import name generators

Python information:

Variable Value
sys.version 2.3.3 (#2, Jan 13 2004, 00:47:05) [GCC
3.3.3 20040110 (prerelease) (Debian)]
sys.executable /usr/bin/python
sys.prefix /usr
sys.exec_prefix /usr
sys.path /usr
sys.platform linux2

is it an broken python?
the debian mailmanpackage maintainer sais so...?

thanx,
 m.

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

Zakureth (zakureth) wrote :

I to am having this problem on an up to date Suse 9.0 system
with Mailman 2.1.2.

Messages I'm getting in the error log are:

Apr 20 14:14:51 2004 (7447) uncaught archiver exception at
filepos: 0
Apr 20 14:14:51 2004 (7447) Uncaught runner exception: Empty
module name
Apr 20 14:14:51 2004 (7447) Traceback (most recent call last):
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 105,
in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 155,
in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/ArchRunner.py", line
73, in _dispose
    mlist.ArchiveMail(msg)
  File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line
206, in ArchiveMail
    h.processUnixMailbox(f)
  File "/usr/lib/mailman/Mailman/Archiver/pipermail.py",
line 544, in processUnixMailbox
    m = mbox.next()
  File "/usr/lib/python2.3/mailbox.py", line 35, in next
    return self.factory(_Subfile(self.fp, start, stop))
  File "/usr/lib/mailman/Mailman/Mailbox.py", line 89, in
scrubber
    return mailbox.scrub(msg)
  File "/usr/lib/mailman/Mailman/Mailbox.py", line 109, in scrub
    return self._scrubber(self._mlist, msg)
  File "/usr/lib/mailman/Mailman/Handlers/Scrubber.py", line
308, in process
    t = t.encode(charset, 'replace')
  File "/usr/lib/python2.3/encodings/__init__.py", line 84,
in search_function
    globals(), locals(), _import_tail)
ValueError: Empty module name

Apr 20 14:14:51 2004 (7447) SHUNTING:
1082469143.1593151+1674b479f52223bba07f4eda7f29b743c99ae34f

And an occasional:
Apr 20 14:07:58 2004 (3191) Uncaught runner exception:
unknown encoding: big5
Apr 20 14:07:58 2004 (3191) Traceback (most recent call last):
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 105,
in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 155,
in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/CommandRunner.py",
line 218, in _dispose
    res = Results(mlist, msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/CommandRunner.py",
line 75, in __init__
    subj = make_header(decode_header(subj)).__unicode__()
  File "/usr/lib/mailman/pythonlib/email/Header.py", line
144, in make_header
    h.append(s, charset)
  File "/usr/lib/mailman/pythonlib/email/Header.py", line
272, in append
    ustr = unicode(s, incodec, errors)
LookupError: unknown encoding: big5

Apr 20 14:07:58 2004 (3191) SHUNTING:
1080098916.48541+a5acb6484d8d579d298079c3ebc3d255953e217c

Disabling digest doesn't seem to have any effect.

Zakureth (zakureth) wrote :

Sorry, I added that comment to the wrong bug. Please delete.

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

Other bug subscribers