Beta Advanced MAME Launcher - MAME frontend for Kodi
#47
Can you please tell me what causes this behavior when I try to Context menu > Setup plugin > "Build Database".
XUbuntu 16.04.3
M.A.M.E. v0.160 (Mar 31 2015)

Starting MAME in xfce window is working ok. All rom paths are ok.

Version 0.9.0
Quote:03:07:44.731 T:139865747347200   ERROR: AML INFO : _command_setup_plugin() Generating MAME main database and PClone list...
03:07:44.731 T:139865747347200   ERROR: AML INFO : fs_build_MAME_main_database() Counting number of machines...
03:07:48.026 T:139865747347200   ERROR: AML INFO : fs_build_MAME_main_database() Found 0 machines.
03:07:48.026 T:139865747347200   ERROR: AML INFO : fs_load_Catver_ini() Parsing "/home/kodi/Downloads/catver.ini"
03:07:48.063 T:139865747347200   ERROR: AML INFO : fs_load_Catver_ini() Reached end of categories parsing.
03:07:48.063 T:139865747347200   ERROR: AML INFO : fs_load_Catver_ini() Number of machines    38793
03:07:48.063 T:139865747347200   ERROR: AML INFO : fs_load_Catver_ini() Number of categories    329
03:07:48.063 T:139865747347200   ERROR: AML INFO : fs_load_Catlist_ini() Parsing "/home/kodi/Downloads/UI_files/catlist.ini"
03:07:48.142 T:139865747347200   ERROR: AML INFO : fs_load_Catlist_ini() Number of machines    38795
03:07:48.142 T:139865747347200   ERROR: AML INFO : fs_load_Catlist_ini() Number of categories    335
03:07:48.142 T:139865747347200   ERROR: AML INFO : fs_load_Genre_ini() Parsing "/home/kodi/Downloads/UI_files/genre.ini"
03:07:48.224 T:139865747347200   ERROR: AML INFO : fs_load_Genre_ini() Number of machines    38795
03:07:48.224 T:139865747347200   ERROR: AML INFO : fs_load_Genre_ini() Number of categories     32
03:07:48.224 T:139865747347200   ERROR: AML INFO : fs_build_MAME_main_database() Loading "/home/kodi/.kodi/userdata/addon_data/plugin.program.advanced.MAME.launcher/MAME.xml"
03:07:48.227 T:139865747347200   ERROR: AML INFO : fs_build_MAME_main_database() MAME version is "0.160 (Mar 31 2015)"
03:07:48.227 T:139865747347200   ERROR: AML INFO : fs_build_MAME_main_database() Parsing MAME XML file ...
03:07:48.277 T:139865747347200   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnboundLocalError'>
                                            Error Contents: local variable 'machine' referenced before assignment
                                            Traceback (most recent call last):
                                              File "/home/kodi/.kodi/addons/plugin.program.advanced.MAME.launcher/addon.py", line 32, in <module>
                                                plugin.run_plugin()
                                              File "/home/kodi/.kodi/addons/plugin.program.advanced.MAME.launcher/resources/main.py", line 234, in run_plugin
                                                self._command_setup_plugin()
                                              File "/home/kodi/.kodi/addons/plugin.program.advanced.MAME.launcher/resources/main.py", line 830, in _command_setup_plugin
                                                fs_build_MAME_main_database(PATHS, self.settings)
                                              File "/home/kodi/.kodi/addons/plugin.program.advanced.MAME.launcher/resources/disk_IO.py", line 407, in fs_build_MAME_main_database
                                                machine['description'] = unicode(elem.text)
                                            UnboundLocalError: local variable 'machine' referenced before assignment
                                            -->End of Python script error report<--
 



and this is on Version 0.9.3
Quote:03:07:44.731 T:139865747347200   ERROR: AML INFO : _command_setup_plugin() Generating MAME main database and PClone list...
03:07:44.731 T:139865747347200   ERROR: AML INFO : fs_build_MAME_main_database() Counting number of machines...
03:07:48.026 T:139865747347200   ERROR: AML INFO : fs_build_MAME_main_database() Found 0 machines.
03:07:48.026 T:139865747347200   ERROR: AML INFO : fs_load_Catver_ini() Parsing "/home/kodi/Downloads/catver.ini"
03:07:48.063 T:139865747347200   ERROR: AML INFO : fs_load_Catver_ini() Reached end of categories parsing.
03:07:48.063 T:139865747347200   ERROR: AML INFO : fs_load_Catver_ini() Number of machines    38793
03:07:48.063 T:139865747347200   ERROR: AML INFO : fs_load_Catver_ini() Number of categories    329
03:07:48.063 T:139865747347200   ERROR: AML INFO : fs_load_Catlist_ini() Parsing "/home/kodi/Downloads/UI_files/catlist.ini"
03:07:48.142 T:139865747347200   ERROR: AML INFO : fs_load_Catlist_ini() Number of machines    38795
03:07:48.142 T:139865747347200   ERROR: AML INFO : fs_load_Catlist_ini() Number of categories    335
03:07:48.142 T:139865747347200   ERROR: AML INFO : fs_load_Genre_ini() Parsing "/home/kodi/Downloads/UI_files/genre.ini"
03:07:48.224 T:139865747347200   ERROR: AML INFO : fs_load_Genre_ini() Number of machines    38795
03:07:48.224 T:139865747347200   ERROR: AML INFO : fs_load_Genre_ini() Number of categories     32
03:07:48.224 T:139865747347200   ERROR: AML INFO : fs_build_MAME_main_database() Loading "/home/kodi/.kodi/userdata/addon_data/plugin.program.advanced.MAME.launcher/MAME.xml"
03:07:48.227 T:139865747347200   ERROR: AML INFO : fs_build_MAME_main_database() MAME version is "0.160 (Mar 31 2015)"
03:07:48.227 T:139865747347200   ERROR: AML INFO : fs_build_MAME_main_database() Parsing MAME XML file ...
03:07:48.277 T:139865747347200   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnboundLocalError'>
                                            Error Contents: local variable 'machine' referenced before assignment
                                            Traceback (most recent call last):
                                              File "/home/kodi/.kodi/addons/plugin.program.advanced.MAME.launcher/addon.py", line 32, in <module>
                                                plugin.run_plugin()
                                              File "/home/kodi/.kodi/addons/plugin.program.advanced.MAME.launcher/resources/main.py", line 234, in run_plugin
                                                self._command_setup_plugin()
                                              File "/home/kodi/.kodi/addons/plugin.program.advanced.MAME.launcher/resources/main.py", line 830, in _command_setup_plugin
                                                fs_build_MAME_main_database(PATHS, self.settings)
                                              File "/home/kodi/.kodi/addons/plugin.program.advanced.MAME.launcher/resources/disk_IO.py", line 407, in fs_build_MAME_main_database
                                                machine['description'] = unicode(elem.text)
                                            UnboundLocalError: local variable 'machine' referenced before assignment
                                            -->End of Python script error report<--


Thank you.
Reply


Messages In This Thread
RE: Advanced MAME Launcher - MAME frontend for Kodi - by Kel_Sceptic - 2018-02-17, 03:14


Logout Mark Read Team Forum Stats Members Help
Advanced MAME Launcher - MAME frontend for Kodi2
This forum uses Lukasz Tkacz MyBB addons.