2018-04-16, 13:13
(2018-04-14, 16:08)illinx Wrote: Seeing this with latest from release 0.9.8 branch, whenever I try and scan for roms:
Quote:15:56:13.620 T:140464742811392 ERROR: AEL INFO : _roms_import_roms() Starting ROM scanner ...How can I check what CURRENT_ADDON_DIR is set to?
15:56:13.620 T:140464742811392 ERROR: AEL INFO : Launcher name "Game Boy Color (Retroarch)"
15:56:13.620 T:140464742811392 ERROR: AEL INFO : launcher ID "071dc59302673cfdebbf9d9e63ea1006"
15:56:13.620 T:140464742811392 ERROR: AEL INFO : ROM path "/media/storage/Roms/GBC/"
15:56:13.620 T:140464742811392 ERROR: AEL INFO : ROM exts "zip|gbc"
15:56:13.620 T:140464742811392 ERROR: AEL INFO : Multidisc True
15:56:13.620 T:140464742811392 ERROR: AEL INFO : Platform "Nintendo GameBoy Color"
15:56:13.620 T:140464742811392 ERROR: AEL INFO : Report file OP "special://profile/addon_data/plugin.program.advanced.emulator.launcher/reports/roms_Nintendo_Game_Boy_Color_(Retroarch)_071dc5_report.txt"
15:56:13.620 T:140464742811392 ERROR: AEL INFO : Report file P "/home/kodi/.kodi/userdata/addon_data/plugin.program.advanced.emulator.launcher/reports/roms_Nintendo_Game_Boy_Color_(Retroarch)_071dc5_report.txt"
15:56:13.678 T:140464742811392 ERROR: AEL INFO : Launcher ROM database contain 1662 items
15:56:13.678 T:140464742811392 ERROR: AEL ERROR: SingleInstance::__exit__() Unhandled excepcion in protected code
15:56:13.692 T:140464742811392 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.NameError'>
Error Contents: global name 'CURRENT_ADDON_DIR' is not defined
Traceback (most recent call last):
File "/home/kodi/.kodi/addons/plugin.program.advanced.emulator.launcher/addon.py", line 39, in <module>
main.Main().run_plugin()
File "/home/kodi/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 271, in run_plugin
self.run_protected(command, args)
File "/home/kodi/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 364, in run_protected
self._command_add_roms(args['launID'][0])
File "/home/kodi/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 2482, in _command_add_roms
self._roms_import_roms(launcher)
File "/home/kodi/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 8629, in _roms_import_roms
self.scraper_data.set_addon_dir(CURRENT_ADDON_DIR.getPath())
NameError: global name 'CURRENT_ADDON_DIR' is not defined
-->End of Python script error report<--
Thanks for reporting. I will fix ASAP but it's going to take some time cos now I'm busy with AML. That error is because of a variable rename (to equalise AEL and AML code). If interested, it is defined here (the new name should be AEL_ADDON_DIR).