2018-04-24, 02:35
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
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