Problem with joystick-selection tool
I'm having some problems with the @meleu joystick-selection tool. When I run it I get these error messages:
Traceback (most recent call last): File "/opt/retropie/supplementary/runcommand/joy2key.py", line 241, in <module> chars = get_hex_chars(arg) File "/opt/retropie/supplementary/runcommand/joy2key.py", line 147, in get_hex_chars return out.decode('utf-8') AttributeError: 'NoneType' object has no attribute 'decode'
Then, when I select
System specific joystick selectionfrom the Joystick Selection Main Menu nothing happens and it just sends me back to the main menu.
Pi Model or other hardware: pi4 4gb
Power Supply used: USB3.0
RetroPie Version Used: 4.7.14
Built From: https://github.com/RetroPie/RetroPie-Setup/releases/download/4.7.1/retropie-buster-4.7.1-rpi4_400.img.gz
USB Devices connected: none
Controller used: 8bitdo sfc30 (bluetooth)
What's the output of:
ls -1 /dev/input/js* 2>/dev/null | head -n1
That seems fine. The error comes from the
joy2keyscript and it usually happens when one of the arguments is incorrect. I see the joystick selection tool starts it here and the only variable param is the joystick device. Strange, as @meleu's tool hasn't been changed in quite some time and - similarly - the
@mitu Yes, I remember it was working fine before. I didn't use it for some time, and today I found out it was not working anymore. I don't know what changed.
saccublenda last edited by saccublenda
I don't know if it is related, but I've run into some errors also when trying to access the configuration editor
RetroPie Setup: if I select option 1
Configure basic libretro emulator optionsi get this error message:
/home/pi/RetroPie-Setup/scriptmodules/supplementary/configedit.sh: line 371: Error: Expected at least 5 tokens for --menu, have 4. Use --help to list options.: syntax error in expression (error token is ": Expected at least 5 tokens for --menu, have 4. Use --help to list options.")
I wonder if any files from RetroPie-Setup are corrupted. Can you run:
cd $HOME/RetroPie-Setup git fsck
and see if you get any errors ?
@mitu No errors:
Checking object directories: 100% (256/256), done. Checking objects: 100% (35216/35216), done.