[Mailman-Users] Problem Installing beta4
Dan Mick
Dan.Mick at west.sun.com
Sun Jul 30 22:08:50 CEST 2000
Pete Holsberg wrote:
>
> I installed python 1.5.2 on this solaris 2.7 system and
> then mailman 2 beta 4 using
>
> ./configure --with-mail-uid=mailman --with-cgi-uid=nobody
> make install
>
> When I ran bin/check_perms, I got this message:
>
> Traceback (innermost last):
> File "bin/check_perms", line 35, in ?
> import paths
> ImportError: No module named paths
>
> Did I miss a step somewhere?
Must be, since Mailman pretty surely runs in a lot of places...
Try this:
1) check to see that you've got paths.py in your ~mailman/bin
2):
cd ~mailman
<path-to-python>/python <path-to-python-lib>/pdb.py bin/check_perms
> <string>(0)?()
(Pdb) s
> <string>(1)?()
(Pdb) s
> bin/check_perms(0)?()
(Pdb) s
> bin/check_perms(27)?()
-> """
(Pdb) s
> bin/check_perms(29)?()
-> import sys
(Pdb) p sys.path
['bin', '/usr/local/lib/python1.5', '/usr/local/lib/python1.5/', '/usr/local/lib
/python1.5/plat-sunos5', '/usr/local/lib/python1.5/lib-tk', '/usr/local/lib/pyth
on1.5/lib-dynload']
(Pdb) q
That 'bin' at the front of the path is what allows check_perms to find
paths.py in bin.
Something must be different about your installation.
More information about the Mailman-Users
mailing list