View Single Post
Old 08-18-2018, 05:02 AM   #35
Shark69
Zealot
Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.
 
Shark69's Avatar
 
Posts: 136
Karma: 493152
Join Date: Mar 2012
Location: Spain
Device: Kindle Oasis 2
The problem arises when the program try to read the senses.csv file temporally created in C:\Users\xxxxx\AppData\Local\Temp\_MEInnnnnn
This issue can be produce when Python opens text files in the locale default encoding; if that encoding cannot handle the Unicode values. Because of this, I sugest you to try in other machine.
The problem could be solved if you change line 358 in the script:

with open(senses_path, 'rt') as f:

for

with open(senses_path, 'rt', encoding='UTF-8')
Shark69 is offline   Reply With Quote