OK, now I'm having another problem
After letting my Pi sit and AEL scan my mame folder (of 56000 files) for 4 days straight (because even though the UI froze up, the log file was still showing activity), I finally had to kill it an reboot. Now though, nothing launches.
Here's the relevant portion.
20:01:31.122 T:1373971360 ERROR: AEL INFO : _command_run_rom() Launching ROM in Launcher ...
20:01:31.350 T:1373971360 ERROR: AEL INFO : _command_run_rom() Using Launcher standard arguments
20:01:31.351 T:1373971360 ERROR: AEL INFO : _command_run_rom() Sigle ROM detected (no multidisc)
20:01:31.351 T:1373971360 ERROR: AEL INFO : _command_run_rom() ROMFileName OP "/storage/emulators/roms/Nintendo Game Boy Advance/Roms/Advance Wars (USA) (Rev 1).gba"
20:01:31.351 T:1373971360 ERROR: AEL INFO : _command_run_rom() ROMFileName P "/storage/emulators/roms/Nintendo Game Boy Advance/Roms/Advance Wars (USA) (Rev 1).gba"
20:01:31.352 T:1373971360 ERROR: AEL INFO : _command_run_rom() categoryID 2b494a422afb2474f89a7b693328fe92
20:01:31.352 T:1373971360 ERROR: AEL INFO : _command_run_rom() launcherID c2b7de4d1f1ffc9e7eb09866d79a156e
20:01:31.352 T:1373971360 ERROR: AEL INFO : _command_run_rom() romID 18927807bbbae1f0518ad982e17821b9
20:01:31.353 T:1373971360 ERROR: AEL INFO : _command_run_rom() romfile "/storage/emulators/roms/Nintendo Game Boy Advance/Roms/Advance Wars (USA) (Rev 1).gba"
20:01:31.353 T:1373971360 ERROR: AEL INFO : _command_run_rom() rompath "/storage/emulators/roms/Nintendo Game Boy Advance/Roms"
20:01:31.353 T:1373971360 ERROR: AEL INFO : _command_run_rom() rombase "Advance Wars (USA) (Rev 1).gba"
20:01:31.353 T:1373971360 ERROR: AEL INFO : _command_run_rom() rombasenoext "Advance Wars (USA) (Rev 1)"
20:01:31.353 T:1373971360 ERROR: AEL INFO : _command_run_rom() romtitle "Advance Wars (USA) (Rev 1)"
20:01:31.353 T:1373971360 ERROR: AEL INFO : _command_run_rom() application "/storage/.kodi/addons/game.retroarch/addon.sh"
20:01:31.353 T:1373971360 ERROR: AEL INFO : _command_run_rom() apppath "/storage/.kodi/addons/game.retroarch"
20:01:31.354 T:1373971360 ERROR: AEL INFO : _command_run_rom() romext "gba|zip"
20:01:31.665 T:1373971360 ERROR: AEL INFO : _command_run_rom() raw arguments "mgba "%rom%""
20:01:31.665 T:1373971360 ERROR: AEL INFO : _command_run_rom() final arguments "mgba "/storage/emulators/roms/Nintendo Game Boy Advance/Roms/Advance Wars (USA) (Rev 1).gba""
20:01:32.283 T:1373971360 ERROR: AEL INFO : fs_write_Favourites_JSON() File special://profile/addon_data/plugin.program.advanced.emulator.launcher/most_played.json
20:01:32.600 T:1373971360 ERROR: AEL INFO : _command_run_rom() Launcher is not Kodi Retroplayer.
20:01:33.435 T:1373971360 ERROR: AEL ERROR: SingleInstance::__exit__() Unhandled excepcion in protected code
20:01:33.741 T:1373971360 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.OSError'>
Error Contents: [Errno 2] No such file or directory
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.program.advanced.emulator.launcher/addon.py", line 39, in <module>
main.Main().run_plugin()
File "/storage/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 248, in run_plugin
with SingleInstance(): self.run_protected(args)
File "/storage/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 339, in run_protected
self._command_run_rom(args['catID'][0], args['launID'][0], args['romID'][0])
File "/storage/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 6743, in _command_run_rom
self._run_process(application.getPath(), arguments, apppath, romext)
File "/storage/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 6845, in _run_process
retcode = subprocess.call(exec_list, stdout = f, stderr = subprocess.STDOUT)
File "/usr/lib/python2.7/subprocess.py", line 168, in call
File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child
OSError: [Errno 2] No such file or directory
-->End of Python script error report<--
I've verified that the requested core exists. I know there used to be a symlink in the cores folder though that would truncate the "_libretro.so" portion of the command, but I don't see it anymore and I don't know how to recreate it. Chances are I downloaded the full Lakka cores, found out they didn't work, and then purged the whole directory, killing the symlink in the process. And I can't figure out how to recreate it either.
LibreELEC:~/.kodi/userdata/addon_data/game.retroarch/cores # ls -l
total 9450
-rw-r--r-- 1 root root 2068216 Sep 6 19:59 desmume_libretro.so
-rw-r--r-- 1 root root 56900 Sep 6 19:59 emux_gb_libretro.so
-rw-r--r-- 1 root root 331704 Sep 6 19:59 fceumm_libretro.so
-rw-r--r-- 1 root root 157680 Sep 6 19:59 gambatte_libretro.so
-rw-r--r-- 1 root root 2686204 Sep 6 20:00 genesis_plus_gx_libretro.so
-rw-r--r-- 1 root root 532492 Sep 6 20:00 mednafen_pce_fast_libretro.so
-rw-r--r-- 1 root root 567408 Sep 1 15:19 mgba_libretro.so
-rw-r--r-- 1 root root 527488 Sep 6 20:00 pcsx_rearmed_libretro.so
-rw-r--r-- 1 root root 1219020 Sep 6 20:00 snes9x2010_libretro.so
-rw-r--r-- 1 root root 1431776 Sep 6 19:59 stella_libretro.so
-rw-r--r-- 1 root root 91924 Sep 6 19:59 tgbdual_libretro.so
Also, I can no longer launch retroarch from the plugin menu. The splash screen shows but the RA interface never appears. The retroarch executable never launches (as shown by a ps -ef | grep retro). However, from SSH I can manually kill kodi and launch the retroarch-RPi executable in the addon folder, and the app launches. Below appears to be the only relevant log entries for this problem.
20:07:57.928 T:1352135584 NOTICE: LoadJpeg: unable to load /storage/.kodi/addons/game.retroarch/fanart.jpg
20:07:58.013 T:1778381728 ERROR: EXCEPTION: XBMC is not playing any file
20:08:03.184 T:1778381728 ERROR: Previous line repeats 51 times.
20:08:03.184 T:1778381728 NOTICE: PLEX.kodimonitor -> No current File, cancel OnPlayBackStart...
I've tried updating the plugin, but that doesn't solve the problem.