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

Hello!

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:

Code:
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:

Code:
> 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/DeviceManager.py:

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

Cheers!

Graham

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