This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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)
-----
History
Date User Action Args
2010-03-11 00:34:42vstinnersetrecipients: + vstinner, pitrou, schmir, tarek, jnoller, ezio.melotti, flox
2010-03-11 00:34:41vstinnersetmessageid: <1268267681.27.0.829401206873.issue7774@psf.upfronthosting.co.za>
2010-03-11 00:34:40vstinnerlinkissue7774 messages
2010-03-11 00:34:39vstinnercreate