TheMealDB.com - An Open Recipe Database with API
#63
Thank you for Kodi kitchen, themealdb.com is really cool idea!

when I select ingredient picker Kodi crashes on OS X v. 17.6 and Libreelec v. 17.6 

log osx:
                                            ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: ('strIngredient1',)
                                            Traceback (most recent call last):
                                              File "/Users/osx/Library/Application Support/Kodi/addons/script.screensaver.themealdb/interface.py", line 339, in onClick
                                                self.ingredient_picker()
                                              File "/Users/osx/Library/Application Support/Kodi/addons/script.screensaver.themealdb/interface.py", line 125, in ingredient_picker
                                                categories = mealsdb_api.List().ingredient()
                                              File "/Users/osx/Library/Application Support/Kodi/addons/script.screensaver.themealdb/resources/lib/themealdb.py", line 115, in ingredient
                                                if item["strIngredient1"]: return_list.append(item["strIngredient1"])
                                            KeyError: ('strIngredient1',)
                                            -->End of Python script error report<--


and log libreelec
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: ('strIngredient1',)
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/script.screensaver.themealdb/interface.py", line 339, in onClick
                                                self.ingredient_picker()
                                              File "/storage/.kodi/addons/script.screensaver.themealdb/interface.py", line 125, in ingredient_picker
                                                categories = mealsdb_api.List().ingredient()
                                              File "/storage/.kodi/addons/script.screensaver.themealdb/resources/lib/themealdb.py", line 115, in ingredient
                                                if item["strIngredient1"]: return_list.append(item["strIngredient1"])
                                            KeyError: ('strIngredient1',)
                                            -->End of Python script error report<--

thank you
Reply
 
Thread Rating:
  • 3 Vote(s) - 4.33 Average


Messages In This Thread
RE: TheMealDB.com - An Open Recipe Database with API - by Duff Man - 2018-04-24, 02:35


Logout Mark Read Team Forum Stats Members Help
TheMealDB.com - An Open Recipe Database with API4.333