phil65 / script.extendedinfo

script.extendedinfo
http://forum.xbmc.org/showthread.php?tid=160558
GNU General Public License v2.0
59 stars 79 forks source link

Using up-arrow twice crashes plugin #91

Open sim590 opened 4 years ago

sim590 commented 4 years ago

I am quoting myself here from #79 about the issue:

it happens every second time I use the UP arrow on a movie actor icon to get his info. The result: the plugin is not usable afterwards. I have to restart Kodi to get the UP-arrow function again. However, it won't ever work more than one time per restart ... That's very unpractical.

Here is the complete log of Kodi starting up and going to some movie info and hitting the UP arrow twice. The second time, the plugin crashes.

I have tracked down the origin of the issue to numpy not liking to be re-initialized. This happens when the up-arrow is hit a second time in extendedinfo since this triggers importing PIL.ImageFilter in kodi65 (see the bug I filed about it) which in turn imports numpy. The work-around should either take place in extendedinfo or kodi65. I guess that the best would be to fix kodi65 since it's not an end-user module but a "library" module used by other plugins. I am however filing this bug so that people know about it even though this project seems dead (as I pointed out in #88).