-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getpwuid(): uid not found: 99 #17707
Comments
Can you provide the full traceback. We do not call |
|
So with your setup you cannot even call |
This can probably be fixed via the container configuration in the short run, but this is something that we should support gracefully. |
I am using mesos universal container runtime .. this is why it is not really easy to solve in container runtime |
The function that is failing (https://docs.python.org/3/library/pwd.html#pwd.getpwuid) is trying to look up information about the user that is currently running. I am not convinced that this should be expected to fail in a properly configured container (but I am not an expert sysadmin). |
It should not fail indeed |
I don't understand why, if you can't fix |
Configuration aside, IMHO, |
I fix |
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help! |
We should be defensively catching an exceptions that may be raised on import as they are non-recoverable by the user. |
With mpl 3.9 will require python 3.10 which fixes this bug upstream. |
Hello
I am using a container image of tensorflow.
Inside it, the uid is 99 and there is no user map to it in /etc/passwd
I get the following error when I import matplotlib "getpwuid(): uid not found: 99"
Name: matplotlib
Version: 3.2.1
The text was updated successfully, but these errors were encountered: