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
Currently if you use env.CreateVersion to create a version file and don't have any of the following environment variables set: 'LOGNAME', 'USER', 'LNAME', 'USERNAME' and pwd.getpwuid(os.getuid())[0] fails then cuppa throws the exception from getpwuid failing the build.
Cuppa should probably catch this exception and set the user id to something like "?" or "Unknown". We hit this issue when trying to generate a version file within a docker container.
The text was updated successfully, but these errors were encountered:
Currently if you use env.CreateVersion to create a version file and don't have any of the following environment variables set:
'LOGNAME', 'USER', 'LNAME', 'USERNAME'
andpwd.getpwuid(os.getuid())[0]
fails then cuppa throws the exception fromgetpwuid
failing the build.Cuppa should probably catch this exception and set the user id to something like "?" or "Unknown". We hit this issue when trying to generate a version file within a docker container.
The text was updated successfully, but these errors were encountered: