Bug#974562: Extended info for actor, only work the first time
Package: kodi
Version: 2:17.6+dfsg1-4+b1
Extended info for actors only works the first time.
How to reproduce:
* Select a movie,
* Press 'i'
* Got to actor menu (pick the first one for example),
* Press key '↑' (arrow up)
[Message Add-on required is displayed: Click 'yes']
* Press key '↑' (arrow up)
[Extended info about actor should display fine]
[Press 'ESC' to exit]
* Go to next actor (eg. pick the second one in the list)
* Press key '↑' (arrow up)
[You should get an error]
Truncated log on my machine (.kodi/temp/kodi.log using debug logging):
10:54:43.093 T:140488562803456 DEBUG: Keyboard: scancode: 0x6f, sym:
0x0111, unicode: 0x0000, modifier: 0x0
10:54:43.093 T:140488562803456 DEBUG: OnKey: up (0xf080) pressed, action is Up
10:54:43.093 T:140486738376448 DEBUG: Thread LanguageInvoker start,
auto delete: false
10:54:43.093 T:140486738376448 INFO: initializing python engine.
10:54:43.093 T:140486738376448 DEBUG: CPythonInvoker(1,
/home/mathieu/.kodi/addons/script.extendedinfo/default.py): start
processing
10:54:43.136 T:140486738376448 DEBUG: -->Python Interpreter Initialized<--
10:54:43.136 T:140486738376448 DEBUG: CPythonInvoker(1,
/home/mathieu/.kodi/addons/script.extendedinfo/default.py): the source
file to load is
"/home/mathieu/.kodi/addons/script.extendedinfo/default.py"
10:54:43.136 T:140486738376448 DEBUG: CPythonInvoker(1,
/home/mathieu/.kodi/addons/script.extendedinfo/default.py): setting
the Python path to
/home/mathieu/.kodi/addons/script.extendedinfo:/home/mathieu/.kodi/addons/script.module.addon.signals/lib:/home/mathieu/.kodi/addons/script.module.autocompletion/lib:/home/mathieu/.kodi/addons/script.module.certifi/lib:/home/mathieu/.kodi/addons/script.module.chardet/lib:/home/mathieu/.kodi/addons/script.module.idna/lib:/home/mathieu/.kodi/addons/script.module.kodi65/lib:/home/mathieu/.kodi/addons/script.module.requests/lib:/home/mathieu/.kodi/addons/script.module.routing/lib:/home/mathieu/.kodi/addons/script.module.simplejson/lib:/home/mathieu/.kodi/addons/script.module.urllib3/lib:/home/mathieu/.kodi/addons/script.module.youtube.dl/lib:/usr/share/kodi/addons/script.module.pil/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/home/mathieu/.local/lib/python2.7/site-packages:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages
10:54:43.137 T:140486738376448 DEBUG: CPythonInvoker(1,
/home/mathieu/.kodi/addons/script.extendedinfo/default.py): entering
source directory /home/mathieu/.kodi/addons/script.extendedinfo
10:54:43.137 T:140486738376448 DEBUG: CPythonInvoker(1,
/home/mathieu/.kodi/addons/script.extendedinfo/default.py):
instantiating addon using automatically obtained id of
"script.extendedinfo" dependent on version 2.25.0 of the xbmc.python
api
10:54:43.159 T:140488562803456 DEBUG: Keyboard: scancode: 0x6f, sym:
0x0111, unicode: 0x0000, modifier: 0x0
10:54:43.585 T:140486738376448 NOTICE: script.module.youtube.dl:
youtube_dl core version: 2019.09.12.1
10:54:43.593 T:140486738376448 DEBUG: script.extendedinfo: version
5.6.0 started
10:54:43.594 T:140486738376448 DEBUG: script.extendedinfo: extendedactorinfo
10:54:43.594 T:140486738376448 DEBUG: script.extendedinfo: {
"handle": null,
"name": "Martin Sheen"
}
10:54:43.619 T:140486738376448 ERROR: EXCEPTION Thrown
(PythonToCppException) : -->Python callback/script returned the
following error<--
- NOTE: IGNORING THIS CAN
LEAD TO MEMORY LEAKS!
Error Type: <type
'exceptions.RuntimeError'>
Error Contents:
implement_array_function method already has a docstring
Traceback (most recent call last):
File
"/home/mathieu/.kodi/addons/script.extendedinfo/default.py", line 63,
in <module>
Main()
File
"/home/mathieu/.kodi/addons/script.extendedinfo/default.py", line 37,
in __init__
listitems =
process.start_info_actions(info, self.params)
File
"/home/mathieu/.kodi/addons/script.extendedinfo/resources/lib/process.py",
line 348, in start_info_actions
name=params.get("name"))
File
"/home/mathieu/.kodi/addons/script.extendedinfo/resources/lib/WindowManager.py",
line 155, in open_actor_info
from
dialogs.DialogActorInfo import DialogActorInfo
File
"/home/mathieu/.kodi/addons/script.extendedinfo/resources/lib/dialogs/DialogActorInfo.py",
line 11, in <module>
from kodi65 import imagetools
File
"/home/mathieu/.kodi/addons/script.module.kodi65/lib/kodi65/imagetools.py",
line 10, in <module>
import PIL.ImageFilter
File
"/usr/lib/python2.7/dist-packages/PIL/ImageFilter.py", line 23, in
<module>
import numpy
File
"/usr/lib/python2.7/dist-packages/numpy/__init__.py", line 142, in
<module>
from . import core
File
"/usr/lib/python2.7/dist-packages/numpy/core/__init__.py", line 40, in
<module>
from . import multiarray
File
"/usr/lib/python2.7/dist-packages/numpy/core/multiarray.py", line 12,
in <module>
from . import overrides
File
"/usr/lib/python2.7/dist-packages/numpy/core/overrides.py", line 46,
in <module>
""")
RuntimeError:
implement_array_function method already has a docstring
-->End of Python script
error report<--
10:54:43.626 T:140488562803456 DEBUG: ------ Window Init
(DialogNotification.xml) ------
10:54:43.661 T:140486738376448 WARNING: CPythonInvoker(1,
/home/mathieu/.kodi/addons/script.extendedinfo/default.py): the python
script "/home/mathieu/.kodi/addons/script.extendedinfo/default.py" has
left several classes in memory that we couldn't clean up. The classes
include: N9XBMCAddon7xbmcgui10DialogBusyE
10:54:43.661 T:140486738376448 INFO: Python script stopped
10:54:43.661 T:140486738376448 DEBUG: Thread LanguageInvoker
140486738376448 terminating
10:54:44.693 T:140488562803456 DEBUG: Keyboard: scancode: 0x40, sym:
0x0134, unicode: 0x0000, modifier: 0x100
Reply to: