sugarlabs / sugar

Sugar GTK shell
GNU General Public License v3.0
252 stars 240 forks source link

Possible fix to #941 #942

Closed walterbender closed 3 years ago

walterbender commented 3 years ago

There was a decode() error:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 7862: invalid continuation byte

Fixed by adding 'utf-8' and 'ignore' args to decode()

Not 100% sure that this is the only thing causing #941 but it is certainly part of the problem.

aperezbios commented 3 years ago

I have manually applied this patch and confirmed that it fixes the problem. I am able to change languages to Spanish, successfully restart, and change language back to English.