View Single Post
Old 21 November 2012, 15:16   #1
Posts: n/a
Launcher UnicodeDecodeError [Solved]


Firstly, I just wanted to say thanks for an awesome emulator.

And a quick note about a small issue with the current development version of the frontend on Linux. I encountered the following error, stopping the frontend from running:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 19: ordinal not in range(128)
On my system, this is caused by a Unicode character being output from the --list-joysticks argument:

> fs-uae --list-joysticks
Microsoft Microsoft® 2.4GHz Transceiver v6.0
It's a keyboard dongle, rather than a joystick, and it must be the (r) character causing problems. I solved this by adding the following after line 94 in fs_uae_launcher/

joysticks = joysticks.decode('utf-8', 'ignore')
I'm not a Python programmer, but this seems to solve the problem for me.



Last edited by degville; 21 November 2012 at 15:49.
Page generated in 0.07440 seconds with 11 queries