Ned Deily <n...@acm.org> added the comment: The problem is reproducible on a current Debian Linux system although with different results for current versions of Python (only security issues are accepted against 2.6). Unlike with 2.6, 3.1 reports no error. 2.7 and 3.2 both fail with an exception:
Traceback (most recent call last): File "/usr/lib/python2.7/site.py", line 548, in <module> main() File "/usr/lib/python2.7/site.py", line 530, in main known_paths = addusersitepackages(known_paths) File "/usr/lib/python2.7/site.py", line 257, in addusersitepackages user_site = getusersitepackages() File "/usr/lib/python2.7/site.py", line 232, in getusersitepackages user_base = getuserbase() # this will also set USER_BASE File "/usr/lib/python2.7/site.py", line 222, in getuserbase USER_BASE = get_config_var('userbase') File "/usr/lib/python2.7/sysconfig.py", line 541, in get_config_var return get_config_vars().get(name) File "/usr/lib/python2.7/sysconfig.py", line 449, in get_config_vars _CONFIG_VARS['userbase'] = _getuserbase() File "/usr/lib/python2.7/sysconfig.py", line 198, in _getuserbase return env_base if env_base else joinuser("~", ".local") File "/usr/lib/python2.7/sysconfig.py", line 185, in joinuser return os.path.expanduser(os.path.join(*args)) File "/usr/lib/python2.7/posixpath.py", line 256, in expanduser userhome = pwd.getpwuid(os.getuid()).pw_dir KeyError: 'getpwuid(): uid not found: 12345' ---------- nosy: +ned.deily stage: -> needs patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10496> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com