[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [mm-deb] Bug#242740: Help needed on obscure mailman bug



Hi,

 Seems the user's last feedback on list_lists output was sent only to
me, but not to the BTS. I think it's provide vital information, so I Cc
it.

On Tue, Apr 20, 2004 at 02:56:21PM +0200, Siggy Brentrup <bsb@debian.org> wrote:
> The bug submission (more exactly a followup) contains the following
> unreproducible traceback:
[...snip...]
>   File "/usr/lib/python2.3/email/Charset.py", line 13, in ?
>     lower_map = string.maketrans(string.ascii_uppercase,
> string.ascii_lowercase)
> AttributeError: 'module' object has no attribute 'ascii_uppercase'
> 
> which smells like a broken python installation to me.  When asked for
> running and reporting results
> 
> ---- snip ----
> python <<EOF
> import string
> print string
> print string.ascii_uppercase
> import email.Charset
> print email.Charset
> EOF
> ---- snip ----
> 
> It should read:
> ---- snip ----
> <module 'string' from '/usr/lib/python2.3/string.pyc'>
> ABCDEFGHIJKLMNOPQRSTUVWXYZ
> <module 'email.Charset' from '/usr/lib/python2.3/email/Charset.pyc'>
> ---- snip ----
> 
> the answer was:
> 
> > It does. No Problem at all... But the mailman still does not
> > run... :-(
 
 When I have asked for list_lists's output (this would list the Mailman
lists from shell), I got this feedback:
| Traceback (most recent call last):
|   File "./list_lists", line 47, in ?
|     from Mailman import MailList
|   File "/var/lib/mailman/Mailman/MailList.py", line 39, in ?
|     import email.Iterators
|   File "/usr/lib/python2.3/email/Iterators.py", line 10, in ?
|     from email._compat22 import body_line_iterator,
|     typed_subpart_iterator
|   File "/usr/lib/python2.3/email/_compat22.py", line 7, in ?
|     from __future__ import generators
| ImportError: cannot import name generators
|
| i have removed/installed python2.2 and python2.3 incl. dependencies
| and so
| on..
 All I could came up was these:
- a similar problem and solution was archived at
  http://mail.python.org/pipermail/python-list/2002-June/111047.html
  Which said that $PYTHONPATH was incorrect.
- a mailman installation fails with the same error online at
  http://lists.hanfmuseum.de/mailman/listinfo
  Judging from the dump of the environment variables dump, it's about
  the same problem: $PYTHONPATH is set to /var/lib/mailman . Is that
  made by Mailman, user or any other thing, I do not know; neither if
  the user's problem shares the same root.

Cheers,
Laszlo

Attachment: signature.asc
Description: Digital signature


Reply to: