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 arekm
Recipients aikinci, arekm, eric.araujo, georg.brandl, loewis, nadeem.vawda
Date 2012-03-12.22:04:56
SpamBayes Score 5.30345e-08
Marked as misclassified No
Message-id <>
$  LC_ALL=C sudo -u '#9999' -g '#9999' /bin/sh -c 'unset HOME ; python -c ""'
Traceback (most recent call last):
  File "/usr/share/python2.7/", line 567, in <module>
  File "/usr/share/python2.7/", line 549, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/share/python2.7/", line 278, in addusersitepackages
    user_site = getusersitepackages()
  File "/usr/share/python2.7/", line 253, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/usr/share/python2.7/", line 243, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/usr/share/python2.7/", line 522, in get_config_var
    return get_config_vars().get(name)
  File "/usr/share/python2.7/", line 426, in get_config_vars
    _CONFIG_VARS['userbase'] = _getuserbase()
  File "/usr/share/python2.7/", line 184, in _getuserbase
    return env_base if env_base else joinuser("~", ".local")
  File "/usr/share/python2.7/", line 171, in joinuser
    return os.path.expanduser(os.path.join(*args))
  File "/usr/share/python2.7/", line 260, in expanduser
    userhome = pwd.getpwuid(os.getuid()).pw_dir
KeyError: 'getpwuid(): uid not found: 9999'
Date User Action Args
2012-03-12 22:04:57arekmsetrecipients: + arekm, loewis, georg.brandl, nadeem.vawda, eric.araujo, aikinci
2012-03-12 22:04:57arekmsetmessageid: <>
2012-03-12 22:04:56arekmlinkissue14238 messages
2012-03-12 22:04:56arekmcreate