Bug Detected KeyError: 'filter_type'

A nice (keyboard based) front end for Arcade / Console game emulators.

Moderator: battlecat

Bug Detected KeyError: 'filter_type'

Postby urbieta » Wed Jan 23, 2008 2:48 am

Code: Select all

Bug Detected

! Error

Traceback (most recent call last):
  File "/usr/share/games/wahcade/win_filter.py", line 239, in on_cboLists_changed
    self.load_filter()
  File "/usr/share/games/wahcade/win_filter.py", line 268, in load_filter
    if self.current_filter[fk[0]] == str(idx):
KeyError: 'filter_type'



I followed the quickstart guide, on a recent debian etch, installed python and have been through the threads and I installed

apt-get install python-elementtree

but this new bug is not on the forum, so there it is... oh ahd it happens when i press on the "Configure Filters" button, thanks for the help
urbieta
 
Posts: 2
Joined: Wed Jan 23, 2008 2:41 am

Postby urbieta » Wed Jan 23, 2008 5:40 am

FYI, I fixed this using ~/.wahcade/mameinfo.xml for the XML data file instead of the default one, this is not a root user

but now, my next problem is that I cant select a game to play, I can scroll up and down games, but if I press on enter, space, all keyboard keys? there is no game, I can also scroll up and down games in the list with the mouse, but no single or double click combiation will let me play, so whats up? btw heres an image just in case I am missing a configuration in there

http://imagebin.org/13316

plus, here is a little screen when I try to manually load a game, maybe thats the problem?


Code: Select all
sh-3.1$ xmame.x11 mtetrisc
GLERROR: cannot access OpenGL library libGL.so
GLERROR: dlerror() returns [libGL.so: cannot open shared object file: No such file or directory]
Use of OpenGL mode disabled
No cards detected.
ALSA sound disabled.
info: trying to parse: /etc/xmame/xmamerc
error: unknown option history_file, on line 13 of file: /etc/xmame/xmamerc
   ignoring line
error: unknown option mameinfo_file, on line 14 of file: /etc/xmame/xmamerc
   ignoring line
error: unknown option fuzzycmp, on line 33 of file: /etc/xmame/xmamerc
   ignoring line
error: unknown option skip_disclaimer, on line 35 of file: /etc/xmame/xmamerc
   ignoring line
info: trying to parse: /home/cti18/.xmame/xmamerc
error: unknown option fuzzycmp, on line 31 of file: /home/cti18/.xmame/xmamerc
   ignoring line
error: unknown option skip_disclaimer, on line 33 of file: /home/cti18/.xmame/xmamerc
   ignoring line
info: trying to parse: /etc/xmame/xmame-x11rc
info: trying to parse: /home/cti18/.xmame/xmame-x11rc
info: trying to parse: /etc/xmame/rc/mtetriscrc
info: trying to parse: /home/cti18/.xmame/rc/mtetriscrc
xmame: could not connect to socket
xmame: No such file or directory
LIRC disabled
loading rom 0: nus-zcaj.u4                     
loading rom 1: tet-01m.u5                     
loading rom 2: at24c01.u34                     
done
nus-zcaj.u4  NOT FOUND
tet-01m.u5   NOT FOUND
at24c01.u34  NOT FOUND
ERROR: required files are missing, the game cannot be run.
sh-3.1$


sh-3.1$ xmame.x11 mappyj
GLERROR: cannot access OpenGL library libGL.so
GLERROR: dlerror() returns [libGL.so: cannot open shared object file: No such file or directory]
Use of OpenGL mode disabled
No cards detected.
ALSA sound disabled.
info: trying to parse: /etc/xmame/xmamerc
error: unknown option history_file, on line 13 of file: /etc/xmame/xmamerc
   ignoring line
error: unknown option mameinfo_file, on line 14 of file: /etc/xmame/xmamerc
   ignoring line
error: unknown option fuzzycmp, on line 33 of file: /etc/xmame/xmamerc
   ignoring line
error: unknown option skip_disclaimer, on line 35 of file: /etc/xmame/xmamerc
   ignoring line
info: trying to parse: /home/cti18/.xmame/xmamerc
error: unknown option fuzzycmp, on line 31 of file: /home/cti18/.xmame/xmamerc
   ignoring line
error: unknown option skip_disclaimer, on line 33 of file: /home/cti18/.xmame/xmamerc
   ignoring line
info: trying to parse: /etc/xmame/xmame-x11rc
info: trying to parse: /home/cti18/.xmame/xmame-x11rc
info: trying to parse: /etc/xmame/rc/mappyjrc
info: trying to parse: /home/cti18/.xmame/rc/mappyjrc
xmame: could not connect to socket
xmame: No such file or directory
LIRC disabled
loading rom 0: mp1_3.1d                       
loading rom 1: mp1_2.1c                       
loading rom 2: mp1_1.1b                       
loading rom 3: mp1_4.1k                       
loading rom 4: mp1_5.3b                       
loading rom 5: mp1_6.3m                       
loading rom 6: mp1_7.3n                       
loading rom 7: mp1-5.5b                       
loading rom 8: mp1-6.4c                       
loading rom 9: mp1-7.5k                       
loading rom 10: mp1-3.3m                       
done
mp1_3.1d     NOT FOUND
mp1_2.1c     NOT FOUND
mp1_1.1b     NOT FOUND
mp1_4.1k     NOT FOUND
mp1_5.3b     NOT FOUND
mp1_6.3m     NOT FOUND
mp1_7.3n     NOT FOUND
mp1-5.5b     NOT FOUND
mp1-6.4c     NOT FOUND
mp1-7.5k     NOT FOUND
mp1-3.3m     NOT FOUND
ERROR: required files are missing, the game cannot be run.
sh-3.1$


sh-3.1$ xmame.x11 mcatadv
GLERROR: cannot access OpenGL library libGL.so
GLERROR: dlerror() returns [libGL.so: cannot open shared object file: No such file or directory]
Use of OpenGL mode disabled
No cards detected.
ALSA sound disabled.
info: trying to parse: /etc/xmame/xmamerc
error: unknown option history_file, on line 13 of file: /etc/xmame/xmamerc
   ignoring line
error: unknown option mameinfo_file, on line 14 of file: /etc/xmame/xmamerc
   ignoring line
error: unknown option fuzzycmp, on line 33 of file: /etc/xmame/xmamerc
   ignoring line
error: unknown option skip_disclaimer, on line 35 of file: /etc/xmame/xmamerc
   ignoring line
info: trying to parse: /home/cti18/.xmame/xmamerc
error: unknown option fuzzycmp, on line 31 of file: /home/cti18/.xmame/xmamerc
   ignoring line
error: unknown option skip_disclaimer, on line 33 of file: /home/cti18/.xmame/xmamerc
   ignoring line
info: trying to parse: /etc/xmame/xmame-x11rc
info: trying to parse: /home/cti18/.xmame/xmame-x11rc
info: trying to parse: /etc/xmame/rc/mcatadvrc
info: trying to parse: /home/cti18/.xmame/rc/mcatadvrc
xmame: could not connect to socket
xmame: No such file or directory
LIRC disabled
loading rom 0: mca-u30e                       
loading rom 1: mca-u29e                       
loading rom 2: u9.bin                         
loading rom 3: mca-u82.bin                     
loading rom 4: mca-u83.bin                     
loading rom 5: mca-u84.bin                     
loading rom 6: mca-u85.bin                     
loading rom 7: mca-u86e                       
loading rom 8: mca-u87e                       
loading rom 9: mca-u58.bin                     
loading rom 10: mca-u60.bin                     
loading rom 11: mca-u61.bin                     
loading rom 12: mca-u100                       
loading rom 13: mca-u53.bin                     
done
mca-u30e     NOT FOUND
mca-u29e     NOT FOUND
u9.bin       NOT FOUND
mca-u82.bin  NOT FOUND
mca-u83.bin  NOT FOUND
mca-u84.bin  NOT FOUND
mca-u85.bin  NOT FOUND
mca-u86e     NOT FOUND
mca-u87e     NOT FOUND
mca-u58.bin  NOT FOUND
mca-u60.bin  NOT FOUND
mca-u61.bin  NOT FOUND
mca-u100     NOT FOUND
mca-u53.bin  NOT FOUND
ERROR: required files are missing, the game cannot be run.
sh-3.1$


sh-3.1$ xmame.x11 mkla1
GLERROR: cannot access OpenGL library libGL.so
GLERROR: dlerror() returns [libGL.so: cannot open shared object file: No such file or directory]
Use of OpenGL mode disabled
No cards detected.
ALSA sound disabled.
info: trying to parse: /etc/xmame/xmamerc
error: unknown option history_file, on line 13 of file: /etc/xmame/xmamerc
   ignoring line
error: unknown option mameinfo_file, on line 14 of file: /etc/xmame/xmamerc
   ignoring line
error: unknown option fuzzycmp, on line 33 of file: /etc/xmame/xmamerc
   ignoring line
error: unknown option skip_disclaimer, on line 35 of file: /etc/xmame/xmamerc
   ignoring line
info: trying to parse: /home/cti18/.xmame/xmamerc
error: unknown option fuzzycmp, on line 31 of file: /home/cti18/.xmame/xmamerc
   ignoring line
error: unknown option skip_disclaimer, on line 33 of file: /home/cti18/.xmame/xmamerc
   ignoring line
info: trying to parse: /etc/xmame/xmame-x11rc
info: trying to parse: /home/cti18/.xmame/xmame-x11rc
info: trying to parse: /etc/xmame/rc/mkla1rc
info: trying to parse: /home/cti18/.xmame/rc/mkla1rc
xmame: could not connect to socket
xmame: No such file or directory
LIRC disabled
loading rom 0: mks-u3.rom                     
loading rom 1: mks-u12.rom                     
loading rom 2: mks-u13.rom                     
loading rom 3: mkg-u105.la1                   
loading rom 4: mkg-u89.la1                     
loading rom 5: mkg-u111.rom                   
loading rom 6: mkg-u112.rom                   
loading rom 7: mkg-u113.rom                   
loading rom 8: mkg-u114.rom                   
loading rom 9: mkg-u95.rom                     
loading rom 10: mkg-u96.rom                     
loading rom 11: mkg-u97.rom                     
loading rom 12: mkg-u98.rom                     
loading rom 13: mkg-u106.rom                   
loading rom 14: mkg-u107.rom                   
loading rom 15: mkg-u108.rom                   
loading rom 16: mkg-u109.rom                   
done
mks-u3.rom   NOT FOUND
mks-u12.rom  NOT FOUND
mks-u13.rom  NOT FOUND
mkg-u105.la1 NOT FOUND
mkg-u89.la1  NOT FOUND
mkg-u111.rom NOT FOUND
mkg-u112.rom NOT FOUND
mkg-u113.rom NOT FOUND
mkg-u114.rom NOT FOUND
mkg-u95.rom  NOT FOUND
mkg-u96.rom  NOT FOUND
mkg-u97.rom  NOT FOUND
mkg-u98.rom  NOT FOUND
mkg-u106.rom NOT FOUND
mkg-u107.rom NOT FOUND
mkg-u108.rom NOT FOUND
mkg-u109.rom NOT FOUND
ERROR: required files are missing, the game cannot be run.
sh-3.1$



sh-3.1$ xmame.x11 mswordj
GLERROR: cannot access OpenGL library libGL.so
GLERROR: dlerror() returns [libGL.so: cannot open shared object file: No such file or directory]
Use of OpenGL mode disabled
No cards detected.
ALSA sound disabled.
info: trying to parse: /etc/xmame/xmamerc
error: unknown option history_file, on line 13 of file: /etc/xmame/xmamerc
   ignoring line
error: unknown option mameinfo_file, on line 14 of file: /etc/xmame/xmamerc
   ignoring line
error: unknown option fuzzycmp, on line 33 of file: /etc/xmame/xmamerc
   ignoring line
error: unknown option skip_disclaimer, on line 35 of file: /etc/xmame/xmamerc
   ignoring line
info: trying to parse: /home/cti18/.xmame/xmamerc
error: unknown option fuzzycmp, on line 31 of file: /home/cti18/.xmame/xmamerc
   ignoring line
error: unknown option skip_disclaimer, on line 33 of file: /home/cti18/.xmame/xmamerc
   ignoring line
info: trying to parse: /etc/xmame/xmame-x11rc
info: trying to parse: /home/cti18/.xmame/xmame-x11rc
info: trying to parse: /etc/xmame/rc/mswordjrc
info: trying to parse: /home/cti18/.xmame/rc/mswordjrc
xmame: could not connect to socket
xmame: No such file or directory
LIRC disabled
loading rom 0: msj_36.bin                     
loading rom 1: msj_42.bin                     
loading rom 2: msj_37.bin                     
loading rom 3: msj_43.bin                     
loading rom 4: ms_32.rom                       
loading rom 5: ms_gfx5.rom                     
loading rom 6: ms_gfx7.rom                     
loading rom 7: ms_gfx1.rom                     
loading rom 8: ms_gfx3.rom                     
loading rom 9: ms_9.rom                       
loading rom 10: ms_18.rom                       
loading rom 11: ms_19.rom                       
done
msj_36.bin   NOT FOUND
msj_42.bin   NOT FOUND
msj_37.bin   NOT FOUND
msj_43.bin   NOT FOUND
ms_32.rom    NOT FOUND
ms_gfx5.rom  NOT FOUND
ms_gfx7.rom  NOT FOUND
ms_gfx1.rom  NOT FOUND
ms_gfx3.rom  NOT FOUND
ms_9.rom     NOT FOUND
ms_18.rom    NOT FOUND
ms_19.rom    NOT FOUND
ERROR: required files are missing, the game cannot be run.
sh-3.1$


zip files are in ~/emulators/mame/roms/

I tried copying the zip files to /usr/share/games/xmame/roms/ with no results

thanks
urbieta
 
Posts: 2
Joined: Wed Jan 23, 2008 2:41 am

Postby balki » Tue Jan 29, 2008 6:48 pm

Hi,

The default key to start a game is "1". (see the KEYS file for more info).

If you can't start a game from the command line by typing "xmame [romname]" then you need to edit either the /etc/xmame/xmamerc file or the ~/.xmame/xmamerc file and set the "rompath" entry to point to your roms.

Cheers,
Andy
User avatar
balki
Site Admin
 
Posts: 425
Joined: Thu Jan 01, 1970 1:00 am
Location: Huddersfield, UK


Return to Wah!Cade

Who is online

Users browsing this forum: Bing [Bot] and 3 guests

cron