[Mailman-Users] basic isntallation troubles

Dan Mick Dan.Mick at West.Sun.COM
Wed Nov 8 03:09:13 CET 2000

>   File "/Users/mailman/Mailman/Mailbox.py", line 27, in ?
>     class Mailbox(mailbox.UnixMailbox):
> AttributeError: UnixMailbox

> Where do I look to fix whatever is wrong?

Well, that message appears to mean that, wherever you're getting
the 'mailbox' module, it doesn't include a UnixMailbox attribute
(which is a class defined in that module).

Try "python -v bin/update" from the mailman install directory
($prefix, usually /home/mailman) and see what it says about where
it's getting the mailbox module from; then look at that file
and see if it has UnixMailbox in it.

For example, I ran

$ python -v ./update2 2>&1 | grep mailbox
# /usr/lib/python1.5/mailbox.pyc matches /usr/lib/python1.5/mailbox.py
import mailbox # precompiled from /usr/lib/python1.5/mailbox.pyc
# cleanup[1] mailbox

and looked at /usr/lib/python1.5/mailbox.py and saw UnixMailbox in

In other words: suspect problems with your Python installation.

More information about the Mailman-Users mailing list