[Systers-dev] Mailman import error

स्वक्ष vid at svaksha.com
Fri Apr 16 07:55:54 PDT 2010


Hi All,

Within Ubuntu9.10, I created an isolated environment for Systers code,
but, while trying to install mailman in a virtual environment, I get
the following errors. I am not sure  but does these errors have
anything to do with the isolated environment?

(systers)me at zee:~$ sudo gedit /usr/local/mailman/Mailman/mm_cfg.py
(systers)me at zee:~$ cd /usr/local/mailman
(systers)me at zee::/usr/local/mailman$ sudo bin/genaliases
/usr/local/mailman/Mailman/Utils.py:32: DeprecationWarning: the sha
module is deprecated; use the hashlib module instead
 import sha
Traceback (most recent call last):
 File "bin/genaliases", line 42, in <module>
   from Mailman import MailList
 File "/usr/local/mailman/Mailman/MailList.py", line 51, in <module>
   from Mailman.Archiver import Archiver
 File "/usr/local/mailman/Mailman/Archiver/__init__.py", line 17, in <module>
   from Archiver import *
 File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 32, in <module>
   from Mailman import Mailbox
 File "/usr/local/mailman/Mailman/Mailbox.py", line 21, in <module>
   import mailbox
 File "/usr/lib/python2.6/mailbox.py", line 19, in <module>
   import email.message
ImportError: No module named message

(systers)me at zee:/usr/local/mailman$ sudo chown mailman:mailman data/aliases*
chown: cannot access `data/aliases*': No such file or directory
(systers)me at zee:/usr/local/mailman$ sudo chmod g+w data/aliases*
chmod: cannot access `data/aliases*': No such file or directory

Also, when I checked out the Systers code from LP, it has a "mailman"
folder which, I assume, contains the systers branch. I have not
reached the "Pull Production Branch from Launchpad" section on the
installation page so can anyone clarify this please?

Any help is appreciated.

-- 
thanks and regards,
vid || http://svaksha.com

To contribute to this conversation, send mail to <systers-dev+mailman10 at systers.org>


More information about the Systers-dev mailing list