You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getpass.getuser fails when called from containers and returns the following error.
File ""/.pyenv/versions/python39_loaded/lib/python3.9/site-packages/nzpy/core.py"", line 1530, in __init__
hs = handshake.Handshake(self._usock, self._sock, ssl, self.log)
File ""/.pyenv/versions/python39_loaded/lib/python3.9/site-packages/nzpy/handshake.py"", line 76, in __init__
self.guardium_clientOSUser = getuser()
File ""/.pyenv/versions/3.9.10/lib/python3.9/getpass.py"", line 169, in getuser
return pwd.getpwuid(os.getuid())[0]
KeyError: 'getpwuid(): uid not found: 10000'"
A similar issue was noted in a package called ansible and was resolved in ansible/ansible#68007
Activity