AIrjen / OneButtonPrompt

One Button Prompt
GNU General Public License v3.0
875 stars 87 forks source link

UnicodeDecodeError: utf-8 #157

Closed Rank66 closed 9 months ago

Rank66 commented 10 months ago

I had an error generating the image "UnicodeDecodeError: 'utf-8' codec can't decode byte 0x81 in position 15: invalid start byte" I found out where the problem was coming from, it's the 'artists.csv' file which contains accents not compatible with Stable Diffusion and A1111. I've corrected the problem by replacing the accented characters with the unaccented equivalent

AIrjen commented 10 months ago

Thanks! That seems to be something new. I'll adjust the csv's in the next update. (probably this weekend somewhere)

AIrjen commented 10 months ago

Hi Rank66, what OS are you running on and are you using latest version?

I am having trouble reproducing the error. For example, I have been testing with "Zdzisław Beksiński", the artist with the most accents ;) and everything is just working fine?

I check all the code that reads from the csv's, and they are all marked as reading with 'utf-8' encoding.

AIrjen commented 9 months ago

Can't reproduce, not enough information to continue. Haven't seen anyone else with this issue as well. Closing this for now.