Linux Advanced Mame Launcher on OSMC Rasperry cannot create the databases
#1
Hi,

I have a raspberry PI2 , and after installing mame on it , I've installed Advanced Mame Launcher , I've followed the documentation from here https://forum.kodi.tv/showthread.php?tid=183527

So I created the needed folders, setup the paths  , extract mame.xml file BUT when I try to build the databases it failed .

The message is
Quote:23:22:32.096 T:1396880128 WARNING: AML WARN : fs_load_JSON_file_dic() File not found "/home/osmc/.kodi/userdata/addon_data/plugin.program.AML/SoftwareLists_index.json"
23:22:32.097 T:1396880128 WARNING: AML WARN : fs_load_JSON_file_dic() File not found "/home/osmc/.kodi/userdata/addon_data/plugin.program.AML/SoftwareLists_machines.json"
23:22:32.099 T:1396880128 WARNING: AML WARN : fs_load_JSON_file_dic() File not found "/home/osmc/.kodi/userdata/addon_data/plugin.program.AML/SoftwareLists_pclone_dic.json"
23:22:32.099 T:1396880128 WARNING: AML WARN : fs_load_JSON_file_dic() File not found "/home/osmc/.kodi/userdata/addon_data/plugin.program.AML/DAT_History_index.json"
23:22:32.261 T:1396880128   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 'update_number' referenced before assignment
                                            Traceback (most recent call last):
                                              File "/home/osmc/.kodi/addons/plugin.program.AML/addon.py", line 37, in <module>
                                                resources.main.run_plugin(sys.argv)
                                              File "/home/osmc/.kodi/addons/plugin.program.AML/resources/main.py", line 393, in run_plugin
                                                _command_context_setup_plugin()
                                              File "/home/osmc/.kodi/addons/plugin.program.AML/resources/main.py", line 4920, in _command_context_setup_plugin
                                                SL_ROM_dir_FN, scan_SL_CHDs, SL_CHD_path_FN)
                                              File "/home/osmc/.kodi/addons/plugin.program.AML/resources/mame.py", line 6509, in mame_scan_SL_ROMs
                                                pDialog.update(update_number, pdialog_line1, ' ')
                                            UnboundLocalError: local variable 'update_number' referenced before assignment
                                            -->End of Python script error report<--

If someone can help, I really appreciate, I've been struggling with this soft since this morning (it's 11pm now)

Thank you very much in advance


Sparky
Reply
#2
Hi Sparky,

Better post AML issues in their thread. Otherwise I can miss the thread in the forum or reply later (I'm subscribed to AEL/AML threads but not the the Program Add-ons subforum).

Please post the full debug log and not just the crash point. I need to know the version of MAME and AML and your configuration in order to understand why the crash happens.

You are the first AML user on a Raspi, to the best of my knowledge. It will be interesting if AML is able to build the databases correctly in the Raspi and also if navigation is smooth.

EDIT: Also, the thread you reference contains instructions for Android (and probably obsolete). In the Raspi you use Linux (LibreELEC or similar) right?
Reply
#3
yes , OSMC is a Linux for ARM , I restart this threat in the main threat about AML :-)
Reply
#4
Given it's more specifically about OSMC than Kodi, you may be better on their forums ( https://discourse.osmc.tv/ ) than here.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#5
oh sorry I believed AML was a plugin of Kodi developed in Python and so platform independent .

But you're right I should seek also there.

Thank you,
Reply

Logout Mark Read Team Forum Stats Members Help
Advanced Mame Launcher on OSMC Rasperry cannot create the databases0