Author arekm
Recipients arekm
Date 2012-03-09.09:21:58
SpamBayes Score 8.05296e-05
Marked as misclassified No
Message-id <1331284920.1.0.720164223022.issue14238@psf.upfronthosting.co.za>
In-reply-to
Content
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/site.py", line 567, in <module>
File "/usr/share/python2.7/site.py", line 549, in main
File "/usr/share/python2.7/site.py", line 278, in addusersitepackages
File "/usr/share/python2.7/site.py", line 253, in getusersitepackages
File "/usr/share/python2.7/site.py", line 243, in getuserbase
File "/usr/share/python2.7/sysconfig.py", line 522, in get_config_var
File "/usr/share/python2.7/sysconfig.py", line 426, in get_config_vars
File "/usr/share/python2.7/sysconfig.py", line 184, in _getuserbase
File "/usr/share/python2.7/sysconfig.py", line 171, in joinuser
File "/usr/share/python2.7/posixpath.py", line 260, in expanduser
KeyError: 'getpwuid(): uid not found: 51'
History
Date User Action Args
2012-03-09 09:22:00arekmsetrecipients: + arekm
2012-03-09 09:22:00arekmsetmessageid: <1331284920.1.0.720164223022.issue14238@psf.upfronthosting.co.za>
2012-03-09 09:21:59arekmlinkissue14238 messages
2012-03-09 09:21:58arekmcreate