Author vstinner
Recipients ezio.melotti, flox, jnoller, pitrou, schmir, tarek, vstinner
Date 2010-03-11.00:34:39
SpamBayes Score 5.524e-08
Marked as misclassified No
Message-id <>
"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/", line 542, in <module>
  File "Lib/", line 524, in main
    known_paths = addusersitepackages(known_paths)
  File "Lib/", line 257, in addusersitepackages
    user_site = getusersitepackages()
  File "Lib/", line 239, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "Lib/", line 229, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/home/SHARE/SVN/python-trunk/Lib/", line 494, in get_config_var
    return get_config_vars().get(name)
  File "/home/SHARE/SVN/python-trunk/Lib/", line 402, in get_config_vars
  File "/home/SHARE/SVN/python-trunk/Lib/", 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:42vstinnersetrecipients: + vstinner, pitrou, schmir, tarek, jnoller, ezio.melotti, flox
2010-03-11 00:34:41vstinnersetmessageid: <>
2010-03-11 00:34:40vstinnerlinkissue7774 messages
2010-03-11 00:34:39vstinnercreate