Message100820
"Thanks to" my commit r78826 (fixing #3137), site errors are now fatal: Python exits with an error instead of just printing "import site failed; ...". It's the come back of #7774: test_executable_with_cwd of test_subprocess now always fail.
The test fails because of an error raise by the site module:
-----
Traceback (most recent call last):
File "Lib/site.py", line 542, in <module>
main()
File "Lib/site.py", line 524, in main
known_paths = addusersitepackages(known_paths)
File "Lib/site.py", line 257, in addusersitepackages
user_site = getusersitepackages()
File "Lib/site.py", line 239, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "Lib/site.py", line 229, in getuserbase
USER_BASE = get_config_var('userbase')
File "/home/SHARE/SVN/python-trunk/Lib/sysconfig.py", line 494, in get_config_var
return get_config_vars().get(name)
File "/home/SHARE/SVN/python-trunk/Lib/sysconfig.py", line 402, in get_config_vars
_init_posix(_CONFIG_VARS)
File "/home/SHARE/SVN/python-trunk/Lib/sysconfig.py", line 255, in _init_posix
raise IOError(msg)
IOError: invalid Python installation: unable to open /usr/local/lib/python2.7/config/Makefile (No such file or directory)
----- |
|
Date |
User |
Action |
Args |
2010-03-11 00:34:42 | vstinner | set | recipients:
+ vstinner, pitrou, schmir, tarek, jnoller, ezio.melotti, flox |
2010-03-11 00:34:41 | vstinner | set | messageid: <1268267681.27.0.829401206873.issue7774@psf.upfronthosting.co.za> |
2010-03-11 00:34:40 | vstinner | link | issue7774 messages |
2010-03-11 00:34:39 | vstinner | create | |
|