Problem Installing beta4
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?
Thanks, Pete
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:
- 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.
On Sun, 30 Jul 2000, Dan Mick wrote:
Try this:
- check to see that you've got paths.py in your ~mailman/bin
Ues, it and paths.pyc are both there.
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.
I get exactly the same results as you did!
Something must be different about your installation.
Can't image what! 'Tis a puzzlement.
Thanks, Pete
participants (2)
-
Dan Mick -
Pete Holsberg