Activity log for bug #581711

Date Who What changed Old value New value Message
2010-05-17 13:06:48 Wayne Moulden bug added bug
2010-05-17 13:12:34 Wayne Moulden description Game list generation crashes in both windows and linux when control type is 'keyboard' for ~0.137 builds. Tested with 0.137u4 in windows and 0.137u3 in mythbuntu 9.10. Traceback (most recent call last): File "/usr/local/share/games/wahcade/win_main.py", line 643, in on_winMain_key_press self.options.menu_selected() File "/usr/local/share/games/wahcade/win_options.py", line 346, in menu_selected self.set_menu(menu_item, menu_desc) File "/usr/local/share/games/wahcade/win_options.py", line 243, in set_menu self.WinMain.emu_ini) File "/usr/local/share/games/wahcade/filters.py", line 369, in create_initial_filter gd = mi.next() File "/usr/local/share/games/wahcade/filters.py", line 271, in get_xml_game_item d['controller_type'] = _controllers[ctrl.attrib['type']] KeyError: 'keyboard' This can be fixed by forcing keyboard as a string into d['controller_type'] at line 271 of filter.py replace d['controller_type'] = _controllers[ctrl.attrib['type']] with if ctrl.attrib['type'] == 'keyboard': d['controller_type'] = 'Keyboard' else: d['controller_type'] = _controllers[ctrl.attrib['type']] *** fix tested in linux Game list generation crashes in both windows and linux when control type is 'keyboard' for ~0.137 mame builds. Tested with 0.137u4 in windows and 0.137u3 in mythbuntu 9.10. Traceback (most recent call last):   File "/usr/local/share/games/wahcade/win_main.py", line 643, in on_winMain_key_press     self.options.menu_selected()   File "/usr/local/share/games/wahcade/win_options.py", line 346, in menu_selected     self.set_menu(menu_item, menu_desc)   File "/usr/local/share/games/wahcade/win_options.py", line 243, in set_menu     self.WinMain.emu_ini)   File "/usr/local/share/games/wahcade/filters.py", line 369, in create_initial_filter     gd = mi.next()   File "/usr/local/share/games/wahcade/filters.py", line 271, in get_xml_game_item     d['controller_type'] = _controllers[ctrl.attrib['type']] KeyError: 'keyboard' This can be fixed by forcing keyboard as a string into d['controller_type'] at line 271 of filter.py replace                        d['controller_type'] = _controllers[ctrl.attrib['type']] with    if ctrl.attrib['type'] == 'keyboard':                          d['controller_type'] = 'Keyboard'    else:                          d['controller_type'] = _controllers[ctrl.attrib['type']] *** fix tested in linux
2010-05-25 16:40:18 Wayne Moulden wahcade: status New Fix Committed
2013-02-08 13:57:39 Wayne Moulden branch linked lp:~waynemou/wahcade/devel