-
Notifications
You must be signed in to change notification settings - Fork 866
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
'OSError' object has no attribute 'message' #196
Comments
Hi @gpavanb-osi, thanks for making the issue. What code are you running to make this error appear? |
Hi @mdbloice, I'm running Interestingly, the error disappears once I specify a |
Ok, well I am guessing that there is something up with the images that causes an exception, which then triggers a further exception as the keyword |
No worries. There is a workaround for the time being. |
Ok fine, in a next version I will fix the |
What is the workaround? |
Python : 3.7.4
OS : Mac OSX 10.14.3
Bug : 'OSError' object has no attribute 'message' when using
sample
methodSolution :
message
is deprecated in latest Python version. One must usemsg
while catching such exceptionsThe text was updated successfully, but these errors were encountered: