Eastern European locations unicode cause a crash.
Some locations cause the following crash.
Traceback (most recent call last):
File "./elodie.py", line 345, in
Location.json
[{"lat": 49.7838611111111, "name": {"default": "Przemy\u015bl", "city": "Przemy\u015bl", "state": "podkarpackie", "country": "Polska"}, "long": 22.7677916666667}]
Thanks for reporting. Could you email the photo to jaisen (at) github username (dot) come?
Sent! Thanks for all the help.
Hi, I have the same bug - cant process pictures - getting the same error message as OP.
Traceback (most recent call last):
File "./elodie.py", line 345, in
Can You help please! kind regards, Piotr
I get the same error except in the end it's like that
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 34-38: character maps to
Had the same problem with Python 2.7 on Win 10. Switching to Python 3.6 environment solved it.
Looks like the problem is on line 63 of elodie.py, FILESYSTEM.process_file, when it creates the dest_path with unicode characters.
Had the same problem with Python 2.7 on Win 10. Switching to Python 3.6 environment solved it.
Looks like the problem is on line 63 of elodie.py,
FILESYSTEM.process_file, when it creates thedest_pathwith unicode characters.
Could you please share how you switched to Python 3.6? Installing it does not seem to be enough. I tried to run it on a system without Python2 and create a symlink but it wont run.
Could you please share how you switched to Python 3.6?
I've meant that I've downloaded elodie and ran it with a separate python3 installation, instead of running it with python2.
Installing it does not seem to be enough. I tried to run it on a system without Python2 and create a symlink but it wont run.
What is the error you are getting? Did you do pip3 install -r requirements.txt on the cloned repository before running it?
Thanks @the-lay
Another thing I had to do was change "python" in the Elodie.py to "python3" and works fine.