If it's an input problem, it might be something I can fix
In the log, I see you press A on a game
Code:
16:26:39 T:20056 DEBUG: CGenericJoystickInputHandling: game.controller.default feature [ a ] pressed
16:26:39 T:20056 DEBUG: Event handled
16:26:39 T:20056 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.program.iarl/Emulator/1943+-+The+Battle+of+Midway+%28USA%29)
16:26:39 T:20056 DEBUG: ParentPath = [plugin://plugin.program.iarl/Emulator/Nintendo+Entertainment+System+-+NES/1?parser_id=NoIntro_parser.xml&xml_id=C%3a%5cUsers%5cnjbetzen.xbmc-nate%5cAppData%5cRoaming%5cKodi%5caddons%5cplugin.program.iarl-master%5cresources%2fdata%2fdat_files%5cNES_ZachMorris.xml]
16:26:39 T:19328 DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin Internet Archive ROM Launcher('plugin://plugin.program.iarl/Emulator/1943+-+The+Battle+of+Midway+%28USA%29','3','')
16:26:39 T:19328 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the Internet Archive ROM Launcher (id=3) plugin...
The plugin tries to launch the game
Code:
16:26:39 T:19528 NOTICE: Thread LanguageInvoker start, auto delete: false
16:26:39 T:19528 INFO: initializing python engine.
16:26:39 T:19528 DEBUG: CPythonInvoker(3, C:\Users\njbetzen.xbmc-nate\AppData\Roaming\Kodi\addons\plugin.program.iarl-master\addon.py): start processing
16:26:39 T:19528 NOTICE: -->Python Interpreter Initialized<--
16:26:39 T:19528 DEBUG: CPythonInvoker(3, C:\Users\njbetzen.xbmc-nate\AppData\Roaming\Kodi\addons\plugin.program.iarl-master\addon.py): the source file to load is "C:\Users\njbetzen.xbmc-nate\AppData\Roaming\Kodi\addons\plugin.program.iarl-master\addon.py"
16:26:39 T:19528 DEBUG: CPythonInvoker(3, C:\Users\njbetzen.xbmc-nate\AppData\Roaming\Kodi\addons\plugin.program.iarl-master\addon.py): setting the Python path to C:\Users\njbetzen.xbmc-nate\AppData\Roaming\Kodi\addons\plugin.program.iarl-master;C:\Users\njbetzen.xbmc-nate\AppData\Roaming\Kodi\addons\script.module.requests\lib;C:\Users\njbetzen.xbmc-nate\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
16:26:39 T:19528 DEBUG: CPythonInvoker(3, C:\Users\njbetzen.xbmc-nate\AppData\Roaming\Kodi\addons\plugin.program.iarl-master\addon.py): entering source directory C:\Users\njbetzen.xbmc-nate\AppData\Roaming\Kodi\addons\plugin.program.iarl-master
16:26:39 T:19528 DEBUG: CPythonInvoker(3, C:\Users\njbetzen.xbmc-nate\AppData\Roaming\Kodi\addons\plugin.program.iarl-master\addon.py): instantiating addon using automatically obtained id of "plugin.program.iarl" dependent on version 2.14.0 of the xbmc.python api
16:26:39 T:19528 NOTICE: IARL_INFO: Loading sqlite3 as DB engine
16:26:39 T:19528 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
16:26:39 T:19528 DEBUG: [xbmcswift2] Adding url rule "/update_xml/<xml_id>" named "update_xml_value" pointing to function "update_xml_value"
16:26:39 T:19528 DEBUG: [xbmcswift2] Adding url rule "/" named "index" pointing to function "index"
16:26:39 T:19528 DEBUG: [xbmcswift2] Adding url rule "/Emulator/<category_id>/<page_id>" named "get_rom_list" pointing to function "get_rom_list"
16:26:39 T:19528 DEBUG: [xbmcswift2] Reading pickle storage from disk at "C:\Users\njbetzen.xbmc-nate\AppData\Roaming\Kodi\userdata\addon_data\plugin.program.iarl\.storage\.functions"
16:26:39 T:19528 DEBUG: [xbmcswift2] Loaded storage ".functions" from disk
16:26:39 T:19528 DEBUG: [xbmcswift2] Adding url rule "/Emulator/<romname>" named "get_selected_rom" pointing to function "get_selected_rom"
16:26:39 T:19528 DEBUG: [xbmcswift2] Handling incoming request for /Emulator/1943+-+The+Battle+of+Midway+%28USA%29
16:26:39 T:19528 NOTICE: [xbmcswift2] Request for "/Emulator/1943+-+The+Battle+of+Midway+%28USA%29" matches rule for function "get_selected_rom"
16:26:40 T:20056 DEBUG: ------ Window Init (DialogBusy.xml) ------
16:26:40 T:20056 DEBUG: ------ Window Init (C:\Users\njbetzen.xbmc-nate\AppData\Roaming\Kodi\addons\plugin.program.iarl-master\resources\skins\Default\720p\default.xml) ------
16:26:40 T:20056 INFO: Loading skin file: C:\Users\njbetzen.xbmc-nate\AppData\Roaming\Kodi\addons\plugin.program.iarl-master\resources\skins\Default\720p\default.xml, load type: LOAD_ON_GUI_INIT
16:26:40 T:20056 DEBUG: CGUIMediaWindow::GetDirectory ()
16:26:40 T:20056 DEBUG: ParentPath = []
Apparently Kodi tries to launch the game in the main thread, because it blocks for a second. Kodi doesn't poll for input while the main thread is blocked. At this point, the thread becomes unblocked and Kodi detects the A button is released. This is when the error is reported:
Code:
16:26:40 T:20056 DEBUG: Joystick Xbox 360-compatible controller: Button 0 released
16:26:40 T:20056 DEBUG: CGenericJoystickInputHandling: game.controller.default feature [ a ] released
16:26:40 T:20056 DEBUG: Event handled
16:26:40 T:20056 DEBUG: ------ Window Deinit (C:\Users\njbetzen.xbmc-nate\AppData\Roaming\Kodi\addons\plugin.program.iarl-master\resources\skins\Default\720p\default.xml) ------
16:26:40 T:19328 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult- plugin returned failure
16:26:40 T:19528 DEBUG: [xbmcswift2] Saving a pickle storage to disk at "C:\Users\njbetzen.xbmc-nate\AppData\Roaming\Kodi\userdata\addon_data\plugin.program.iarl\.storage\.functions"
16:26:40 T:20056 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.iarl/Emulator/1943+-+The+Battle+of+Midway+%28USA%29
16:26:40 T:20056 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.iarl/Emulator/1943+-+The+Battle+of+Midway+%28USA%29) failed