2019-07-01, 09:56
Ok, but it's related to the PIL module.
For @haicaoboi87 it was related to Inkscape.
https://forum.kodi.tv/showthread.php?tid...pid2859742
Code:
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: 'NoneType' object is not callable
Traceback (most recent call last):
File "/home/roy/.kodi/addons/script.embuary.helper/plugin.py", line 16, in <module>
from resources.lib.plugin_utils import *
File "/home/roy/.kodi/addons/script.embuary.helper/resources/lib/plugin_utils.py", line 12, in <module>
from resources.lib.utils import gotopath
File "/home/roy/.kodi/addons/script.embuary.helper/resources/lib/utils.py", line 25, in <module>
from resources.lib.image import *
File "/home/roy/.kodi/addons/script.embuary.helper/resources/lib/image.py", line 11, in <module>
from PIL import ImageFilter,Image,ImageOps
File "/usr/lib/python2.7/site-packages/PIL/ImageFilter.py", line 23, in <module>
import numpy
File "/usr/lib/python2.7/site-packages/numpy/__init__.py", line 168, in <module>
from . import ma
File "/usr/lib/python2.7/site-packages/numpy/ma/__init__.py", line 44, in <module>
from . import core
File "/usr/lib/python2.7/site-packages/numpy/ma/core.py", line 1238, in <module>
add = _MaskedBinaryOperation(umath.add)
File "/usr/lib/python2.7/site-packages/numpy/ma/core.py", line 1001, in __init__
super(_MaskedBinaryOperation, self).__init__(mbfunc)
File "/usr/lib/python2.7/site-packages/numpy/ma/core.py", line 893, in __init__
self.__doc__ = ufunc.__doc__
File "/usr/lib/python2.7/site-packages/numpy/core/_internal.py", line 726, in _ufunc_doc_signature_formatter
in_args = ', '.join('x{}'.format(i+1) for i in range(ufunc.nin))
TypeError: 'NoneType' object is not callable
For @haicaoboi87 it was related to Inkscape.
https://forum.kodi.tv/showthread.php?tid...pid2859742