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 arekm
Date 2012-03-09.09:21:58
SpamBayes Score 8.052962e-05
Marked as misclassified No
Message-id <>
I'm trying to run python from UID which doesn't have entry in passwd database. This fails with:

 Traceback (most recent call last):
File "/usr/share/python2.7/", line 567, in <module>
File "/usr/share/python2.7/", line 549, in main
File "/usr/share/python2.7/", line 278, in addusersitepackages
File "/usr/share/python2.7/", line 253, in getusersitepackages
File "/usr/share/python2.7/", line 243, in getuserbase
File "/usr/share/python2.7/", line 522, in get_config_var
File "/usr/share/python2.7/", line 426, in get_config_vars
File "/usr/share/python2.7/", line 184, in _getuserbase
File "/usr/share/python2.7/", line 171, in joinuser
File "/usr/share/python2.7/", line 260, in expanduser
KeyError: 'getpwuid(): uid not found: 51'
Date User Action Args
2012-03-09 09:22:00arekmsetrecipients: + arekm
2012-03-09 09:22:00arekmsetmessageid: <>
2012-03-09 09:21:59arekmlinkissue14238 messages
2012-03-09 09:21:58arekmcreate