[Mailman-Users] installation problem

Stoyan Angelov s_angelov at filibeto.org
Fri Feb 7 02:17:15 CET 2003


hello all,

i have just installed Mailman 2.1 for the first time and i have the following problem. i followed the instructions in the INSTALL file and everything went ok to the point i had to create my first maillist. accessing the www.mysite.org/mailman/create gives me the following error:  ImportError: No module named time. i checked my python installation and when i am logged as root doing: 

[root at myhost:/]#python
Python 2.2.2 (#1, Feb  6 2003, 23:57:56) 
[GCC 2.95.2 19991024 (release)] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>>
 
works as root... if i su - mailman and run python it fails like this:

[mailman at myhost:~]$python
Python 2.2.2 (#1, Feb  6 2003, 23:57:56) 
[GCC 2.95.2 19991024 (release)] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named time
>>> 

i gues it is a permissions issue or some variable i need to set ? do you have an idea ?

thank you!

Stoyan Angelov



@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[----- Mailman Version: 2.1 -----]
[----- Traceback ------]
Traceback (most recent call last):
  File "/usr/local/mailman/scripts/driver", line 63, in run_main
    from Mailman.Logging.StampedLogger import StampedLogger
  File "/usr/local/mailman/Mailman/Logging/StampedLogger.py", line 18, in ?
    import time
ImportError: No module named time
[----- Python Information -----]
sys.version     = 2.2.2 (#1, Feb  6 2003, 23:57:56) 
[GCC 2.95.2 19991024 (release)]
sys.executable  = /usr/local/bin/python
sys.prefix      = /usr/local
sys.exec_prefix = /usr/local
sys.path        = /usr/local
sys.platform    = sunos5
[----- Environment Variables -----]
        PYTHONPATH: /usr/local/mailman
        SERVER_SOFTWARE: Apache/1.3.27 (Unix) FrontPage/5.0.2.2510 mod_ssl/2.8.12 OpenSSL/0.9.6g
        SCRIPT_FILENAME: /usr/local/mailman/cgi-bin/create
        SERVER_ADMIN: support at filibeto.org
        SCRIPT_NAME: /mailman/create
        SERVER_SIGNATURE: <ADDRESS>Apache/1.3.27 Server at www.filibeto.org Port 80</ADDRESS>
        <snipp>


More information about the Mailman-Users mailing list