Closed djotaku closed 4 years ago
Please show me the full error information. If you send that picture to my email, leohsiao@foxmail.com, I can try it.
Full stack trace is:
Traceback (most recent call last):
File "/home/ermesa/Programming Projects/python/photo_stats/photostats/main.py", line 24, in
photo can be downloaded from: https://www.dropbox.com/s/81ppdbk02on1iok/2020%20Tet%20Family%20Portrait.jpg?dl=0
When you upload an image through www.dropbox.com, Iit will delete all the metadata of the image to protect your privacy, so I can't try to read it.
Based on your error message, I suggest you try different encoding formats, like this:
this_image.read_exif(encoding='utf-8')
this_image.read_exif(encoding='iso-8859-1')
Does that solve your problem?
Sorry, got a little busy because of COVID.
Yes, that fixes the problem. Thanks!
Hope you are ready to defend against the Covid-19 and the chaos it brings. Wish you health and safety.
This issue has been automatically closed because there has been no activity for a month.
crashes with UnicodeDecodeError