[Mailman-Users] installation problem
Matthew Davis
matthew.davis at dogpound.vnet.net
Fri Feb 7 20:47:32 CET 2003
It might be possiable that you have 2 different installations of python?
And root is using the correct version. The traceback shows its using
/usr/local/bin/python and root might be using another binary.
As root figure out what python binary it's using.
# which python
And you need to reconfigure mailman to use that python installation.
* Stoyan Angelov (s_angelov at filibeto.org) wrote:
> 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>
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
>
> This message was sent to: bigdog at dogpound.vnet.net
> Unsubscribe or change your options at
> http://mail.python.org/mailman/options/mailman-users/bigdog%40dogpound.vnet.net
--
Matthew Davis
http://dogpound.vnet.net/
>From my brain, an organ with a mind of its own.
More information about the Mailman-Users
mailing list