Beta Advanced Emulator Launcher - Multi-emulator frontend for Kodi
(2018-04-16, 13:13)Wintermute0110 Wrote:
(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 ...
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<--
How can I check what CURRENT_ADDON_DIR is set to?   

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). 
 Thanks for the quick reply--I might try doing a quick find and replace this week and see if that gets me going.
Reply


Messages In This Thread
RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - by illinx - 2018-04-16, 17:37
Can You create A Sub Category? - by Wild_Tom - 2020-07-13, 04:43
Crash & Lost my launchers? - by eirrocmh - 2020-11-29, 02:25
RE: Crash & Lost my launchers? - by eirrocmh - 2020-12-19, 00:19
Logout Mark Read Team Forum Stats Members Help
Advanced Emulator Launcher - Multi-emulator frontend for Kodi12