Message100820
| Author |
vstinner |
| Recipients |
ezio.melotti, flox, jnoller, pitrou, schmir, tarek, vstinner |
| Date |
2010年03月11日.00:34:39 |
| SpamBayes Score |
5.5240005e-08 |
| Marked as misclassified |
No |
| Message-id |
<1268267681.27.0.829401206873.issue7774@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
"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)
----- |
|