[Mailman-Developers] import errors

Mikhail Sobolev mss@mawhrin.net
Fri Nov 15 14:48:13 2002


I still have those problems (I had to put the whole thing aside for a
couple of weeks).

What I have:

    up-to-date (as of now) cvs version of Mailman checked out
    Debian Linux system (unstable)
    python2.2 installed on it

The problem:

    While starting the mailman (mailmanctl -s -q start) I receive a
    whole lot of the error messages like these:

        Could not find platform independent libraries <prefix>
        Could not find platform dependent libraries <exec_prefix>
        Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
        'import site' failed; use -v for traceback

What I did:

    Run strace (strace -ff python2.2 mailmanctl -s -q start)

    It looks like qrunner's processes do not have the proper os.path as
    they are unable to find os.py{,c} file:

        stat64("/usr/local/sbin/qrunner", 0xbffff834) = -1 ENOENT (No such file or directory)
        stat64("/usr/local/bin/qrunner", 0xbffff834) = -1 ENOENT (No such file or directory)
        stat64("/usr/sbin/qrunner", 0xbffff834) = -1 ENOENT (No such file or directory)
        stat64("/usr/bin/qrunner", 0xbffff834) = -1 ENOENT (No such file or directory)
        stat64("/sbin/qrunner", 0xbffff834) = -1 ENOENT (No such file or directory)
        stat64("/bin/qrunner", 0xbffff834) = -1 ENOENT (No such file or directory)
        stat64("/usr/bin/X11/qrunner", 0xbffff834) = -1 ENOENT (No such file or directory)
        getcwd("/var/home/mailman", 1024) = 18
        readlink("/var/home/mailman/", 0xbffff430, 1024) = -1 EINVAL (Invalid argument)
        stat64("/var/home/mailman/Modules/Setup", 0xbffff378) = -1 ENOENT (No such file or directory)
        stat64("/var/home/mailman/lib/python2.2/os.py", 0xbffff2e8) = -1 ENOENT (No such file or directory)
        stat64("/var/home/mailman/lib/python2.2/os.pyc", 0xbffff2e8) = -1 ENOENT (No such file or directory)
        stat64("/var/home/lib/python2.2/os.py", 0xbffff2e8) = -1 ENOENT (No such file or directory)
        stat64("/var/home/lib/python2.2/os.pyc", 0xbffff2e8) = -1 ENOENT (No such file or directory)
        stat64("/var/lib/python2.2/os.py", 0xbffff2e8) = -1 ENOENT (No such file or directory)
        stat64("/var/lib/python2.2/os.pyc", 0xbffff2e8) = -1 ENOENT (No such file or directory)
        stat64("/home/packages/python2.2/python2.2-2.2.2/debian/tmp/usr/lib/python2.2/os.py", 0xbffff2e8)                = -1 ENOENT (No such file or directory)
        stat64("/home/packages/python2.2/python2.2-2.2.2/debian/tmp/usr/lib/python2.2/os.pyc", 0xbffff2e8)                = -1 ENOENT (No such file or directory)
        write(2, "Could not find platform independ"..., 55)                          = 55

    (python installed files are in /usr/lib/python2.2)

What to do:

    That's, actually, the question. :)

I did reinstall mailman, but this did not help.

Thank you in advance,

--
Misha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.python.org/pipermail/mailman-developers/attachments/20021115/2bd8b8fd/attachment.bin


More information about the Mailman-Developers mailing list