Joy2key_sdl.py crashing on game launch
-
Good day,
For the last several weeks (months, even?) my joy2key has been crashing as soon as I launch anything in mame. The error is "Type error in filter_active_events(): unhashable type: 'list.'"
I have a bit of a weird setup, as I am using retropie on an standard ubuntu install powering an arcade cabinet which I've built. Relevant details to follow:
uname -a:
Linux Elesium 5.15.0-72-generic #79-Ubuntu SMP Wed Apr 19 08:22:18 UTC 2023 x86_64 x86_64 x86_64 GNU/LinuxThis was also occurring on 5.4 kernel as well.
sudo lshw -short H/W path Device Class Description ============================================================== system To Be Filled By O.E.M. (To Be /0 bus FM2A88M-HD+ /0/0 memory 64KiB BIOS /0/8 memory 256KiB L1 cache /0/9 memory 4MiB L2 cache /0/10 memory 8GiB System Memory /0/10/0 memory 4GiB DIMM DDR3 Synchronous Un /0/10/1 memory 4GiB DIMM DDR3 Synchronous Un /0/18 processor AMD A10-7850K Radeon R7, 12 C /0/100 bridge Family 15h (Models 30h-3fh) P /0/100/2.1 bridge Kaveri P2P Bridge for GFX PCI /0/100/2.1/0 display GM204 [GeForce GTX 970] /0/100/2.1/0.1 card2 multimedia GM204 High Definition Audio C /0/100/2.1/0.1/0 input12 input HDA NVidia HDMI/DP,pcm=3 /0/100/2.1/0.1/1 input13 input HDA NVidia HDMI/DP,pcm=7 /0/100/2.1/0.1/2 input14 input HDA NVidia HDMI/DP,pcm=8 /0/100/2.1/0.1/3 input15 input HDA NVidia HDMI/DP,pcm=9 /0/100/2.1/0.1/4 input16 input HDA NVidia HDMI/DP,pcm=10 /0/100/2.1/0.1/5 input17 input HDA NVidia HDMI/DP,pcm=11 /0/100/2.1/0.1/6 input18 input HDA NVidia HDMI/DP,pcm=12 /0/100/3.1 bridge Family 15h (Models 30h-3fh) P /0/100/3.1/0 wlp2s0 network Wi-Fi 6 AX200 /0/100/3.2 bridge Family 15h (Models 30h-3fh) P /0/100/3.2/0 enp3s0 network RTL8111/8168/8411 PCI Express /0/100/10 bus FCH USB XHCI Controller /0/100/10/0 usb6 bus xHCI Host Controller /0/100/10/1 usb7 bus xHCI Host Controller /0/100/10.1 bus FCH USB XHCI Controller /0/100/10.1/0 usb8 bus xHCI Host Controller /0/100/10.1/0/1 input11 input Honey Bee Xbox360 dancepad /0/100/10.1/0/2 bus USB2.0 Hub /0/100/10.1/0/2/1 bus USB2.0 Hub /0/100/10.1/0/2/1/1 input6 input DragonRise Inc. Generic U /0/100/10.1/0/2/1/2 input8 input DragonRise Inc. Generic U /0/100/10.1/0/2/1/4 bus USB2.0 Hub /0/100/10.1/0/2/1/4/1 input10 input LINKFLY USB MOUSE LINKFLY MO /0/100/10.1/0/2/1/4/2 bus USB 2.0 Hub /0/100/10.1/0/2/1/4/2/4 input22 input HID 04d9:a088 Mouse /0/100/10.1/0/2/2 input5 input DragonRise Inc. Generic U /0/100/10.1/0/2/3 input7 input DragonRise Inc. Generic U /0/100/10.1/0/2/4 input9 input DragonRise Inc. Generic U /0/100/10.1/1 usb9 bus xHCI Host Controller /0/100/10.1/1/2 bus USB3.0 Hub /0/100/10.1/1/2/1 bus USB3.0 Hub /0/100/10.1/1/2/1/4 bus USB3.0 Hub /0/100/11 scsi0 storage FCH SATA Controller [AHCI mod /0/100/11/0 /dev/sda disk 250GB CT250BX100SSD1 /0/100/11/0/1 volume 511MiB Windows FAT volume /0/100/11/0/2 /dev/sda2 volume 216GiB EXT4 volume /0/100/11/0/3 /dev/sda3 volume 15GiB EFI partition /0/100/11/1 /dev/sdb disk 2TB TOSHIBA DT01ACA2 /0/100/12 bus FCH USB OHCI Controller /0/100/12/1 usb3 bus OHCI PCI host controller /0/100/12/1/3 card1 multimedia C-Media Electronics Inc. USB /0/100/12/1/5 communication AX200 Bluetooth /0/100/12.2 bus FCH USB EHCI Controller /0/100/12.2/1 usb1 bus EHCI Host Controller /0/100/13 bus FCH USB OHCI Controller /0/100/13/1 usb4 bus OHCI PCI host controller /0/100/13.2 bus FCH USB EHCI Controller /0/100/13.2/1 usb2 bus EHCI Host Controller /0/100/14 bus FCH SMBus Controller /0/100/14.1 storage FCH IDE Controller /0/100/14.2 card0 multimedia FCH Azalia Controller /0/100/14.2/0 input19 input HD-Audio Generic Rear Mic /0/100/14.2/1 input20 input HD-Audio Generic Line /0/100/14.2/2 input21 input HD-Audio Generic Line Out /0/100/14.3 bridge FCH LPC Bridge /0/100/14.3/0 system PnP device PNP0c01 /0/100/14.3/1 system PnP device PNP0c02 /0/100/14.3/2 system PnP device PNP0c02 /0/100/14.3/3 system PnP device PNP0c02 /0/100/14.3/4 printer PnP device PNP0401 /0/100/14.3/5 system PnP device PNP0c02 /0/100/14.3/6 system PnP device PNP0b00 /0/100/14.3/7 system PnP device PNP0c02 /0/100/14.3/8 communication PnP device PNP0501 /0/100/14.3/9 system PnP device PNP0c02 /0/100/14.4 bridge FCH PCI Bridge /0/100/14.5 bus FCH USB OHCI Controller /0/100/14.5/1 usb5 bus OHCI PCI host controller /0/101 bridge Family 15h (Models 30h-3fh) P /0/102 bridge Family 15h (Models 30h-3fh) P /0/103 bridge Family 15h (Models 30h-3fh) P /0/104 bridge Family 15h (Models 30h-3fh) P /0/105 bridge Family 15h (Models 30h-3fh) P /0/106 bridge Family 15h (Models 30h-3fh) P /0/107 bridge Family 15h (Models 30h-3fh) P /0/108 bridge Family 15h (Models 30h-3fh) P /0/109 bridge Family 15h (Models 30h-3fh) P /1 /dev/fb0 display EFI VGA /2 input0 input Power Button /3 input1 input Power Button /4 input2 input Video Bus /5 input27 input Microsoft X-Box 360 pad 1 /6 input28 input Microsoft X-Box 360 pad 2 /7 input29 input Microsoft X-Box 360 pad 3 /8 input30 input Microsoft X-Box 360 pad 4 /9 input31 input Microsoft X-Box 360 pad 5
Let me know any other info you might need. Thanks in advance.
EDIT: just tried to run the retropie setup script, and joy2key crashed then too.
-
Run the script with the debug options from the terminal and post the output:
/opt/retropie/admin/joy2key/joy2key_sdl.py kcub1 kcuf1 kcuu1 kcud1 0x0a 0x20 0x1b 0x00 kpp knp -d
What's the exact version of RetroPie that are you using ? What Ubuntu version are you using ?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.