Kodi Community Forum

Full Version: script.extendedinfo
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
thx, that´s indeed an oversight on my part. will get fixed.
Thank Phil!
I Tested the new version, and still I have errors.

script.module.autocompletion - v1.1.1, Jarvis RC3:
Code:
21:45:17 T:4756   ERROR: CScriptInvocationManager::ExecuteAsync - Not executing non-existing script C:\Users\Tomer\AppData\Roaming\Kodi\addons\script.module.autocompletion\lib
21:45:17 T:4756   ERROR: Unable to run plugin AutoCompletion library
21:45:17 T:4756   ERROR: PlayMedia could not play media: plugin://script.module.autocompletion/?info=selectautocomplete&&id=testing
I will check later. Does that always happen? Debug log would be nice.
Thanks for the quick reply.

I do get the content to my "panel" control, the problem is when clicking on one of the results.
and yes, always.
http://pastebin.com/PXxcDsqU

shortn version:
Code:
DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin AutoCompletion library('plugin://script.module.autocompletion/','35','?info=selectautocomplete&&id=80s music hits')
ERROR: CScriptInvocationManager::ExecuteAsync - Not executing non-existing script C:\Users\Tomer\AppData\Roaming\Kodi\addons\script.module.autocompletion\lib
I'm afraid this might be a bit of a dumbass question, but I'm been trying to find a fix for a while and need to ask, despite potential embarrassment.

I have a list which displays movies and has this onclick behavior and it works beautifully:

Code:
<onclick>RunScript(script.extendedinfo,info=extendedinfo,dbid=$INFO[ListItem.DBID])</onclick>

As soon as I apply this to a list which uses TV shows, it breaks and displays information for an unrelated movie and not a TV show. (e.g. Walking Dead shows "Young Adult (2011)" and "Last Week Tonight with John Oliver" shows "Transformers: Age of Extinction (2014)).

I'd obviously like the onclick behavior for the TV list to display information on the TV show. It's got to be something simple I'm missing and if somebody could point me in the right direction, that would be appreciated. Big Grin

~Raze
(2016-02-16, 01:40)Raze Wrote: [ -> ]I'm afraid this might be a bit of a dumbass question, but I'm been trying to find a fix for a while and need to ask, despite potential embarrassment.

I have a list which displays movies and has this onclick behavior and it works beautifully:

Code:
<onclick>RunScript(script.extendedinfo,info=extendedinfo,dbid=$INFO[ListItem.DBID])</onclick>

As soon as I apply this to a list which uses TV shows, it breaks and displays information for an unrelated movie and not a TV show. (e.g. Walking Dead shows "Young Adult (2011)" and "Last Week Tonight with John Oliver" shows "Transformers: Age of Extinction (2014)).

I'd obviously like the onclick behavior for the TV list to display information on the TV show. It's got to be something simple I'm missing and if somebody could point me in the right direction, that would be appreciated. Big Grin

~Raze

Code:
<onclick>RunScript(script.extendedinfo,info=extendedtvinfo,dbid=$INFO[ListItem.DBID])</onclick>
(2016-02-15, 22:05)tomer953 Wrote: [ -> ]Thanks for the quick reply.

I do get the content to my "panel" control, the problem is when clicking on one of the results.
and yes, always.
http://pastebin.com/PXxcDsqU

shortn version:
Code:
DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin AutoCompletion library('plugin://script.module.autocompletion/','35','?info=selectautocomplete&&id=80s music hits')
ERROR: CScriptInvocationManager::ExecuteAsync - Not executing non-existing script C:\Users\Tomer\AppData\Roaming\Kodi\addons\script.module.autocompletion\lib

Silly mistake on my side, PR´s with fixes are already done.
https://github.com/xbmc/repo-plugins/pull/330
https://github.com/xbmc/repo-scripts/pull/44
(2016-02-16, 01:42)phil65 Wrote: [ -> ]
(2016-02-16, 01:40)Raze Wrote: [ -> ]I'm afraid this might be a bit of a dumbass question, but I'm been trying to find a fix for a while and need to ask, despite potential embarrassment.

I have a list which displays movies and has this onclick behavior and it works beautifully:

Code:
<onclick>RunScript(script.extendedinfo,info=extendedinfo,dbid=$INFO[ListItem.DBID])</onclick>

As soon as I apply this to a list which uses TV shows, it breaks and displays information for an unrelated movie and not a TV show. (e.g. Walking Dead shows "Young Adult (2011)" and "Last Week Tonight with John Oliver" shows "Transformers: Age of Extinction (2014)).

I'd obviously like the onclick behavior for the TV list to display information on the TV show. It's got to be something simple I'm missing and if somebody could point me in the right direction, that would be appreciated. Big Grin

~Raze

Code:
<onclick>RunScript(script.extendedinfo,info=extendedtvinfo,dbid=$INFO[ListItem.DBID])</onclick>

Thanks Phil. I knew it was something simple I was missing and didn't see this in the readme.

~Raze
sometimes I get an error:
Code:
09:01:59 T:4992   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: ('mbid',)
                                            Traceback (most recent call last):
                                              File "C:\Users\Dragon\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py", line 103, in <module>
                                                Main()
                                              File "C:\Users\Dragon\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py", line 21, in __init__
                                                listitems = start_info_actions(info, self.params)
                                              File "C:\Users\Dragon\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\process.py", line 217, in start_info_actions
                                                return LocalDB.local_db.get_similar_artists(params.get("artist_mbid"))
                                              File "C:\Users\Dragon\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\LocalDB.py", line 32, in get_similar_artists
                                                simi_artists = LastFM.get_similar_artists(artist_id)
                                              File "C:\Users\Dragon\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\LastFM.py", line 227, in get_similar_artists
                                                return handle_artists(results['similarartists'])
                                              File "C:\Users\Dragon\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\LastFM.py", line 116, in handle_artists
                                                'mbid': artist['mbid'],
                                            KeyError: ('mbid',)
                                            -->End of Python script error report<--
09:01:59 T:3380   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.extendedinfo/?info=similarartistsinlibrary&&artistname=30 Seconds to Mars

how can I fix ??
(2016-02-17, 10:06)JimThend Wrote: [ -> ]sometimes I get an error:
Code:
09:01:59 T:4992   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: ('mbid',)
                                            Traceback (most recent call last):
                                              File "C:\Users\Dragon\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py", line 103, in <module>
                                                Main()
                                              File "C:\Users\Dragon\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py", line 21, in __init__
                                                listitems = start_info_actions(info, self.params)
                                              File "C:\Users\Dragon\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\process.py", line 217, in start_info_actions
                                                return LocalDB.local_db.get_similar_artists(params.get("artist_mbid"))
                                              File "C:\Users\Dragon\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\LocalDB.py", line 32, in get_similar_artists
                                                simi_artists = LastFM.get_similar_artists(artist_id)
                                              File "C:\Users\Dragon\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\LastFM.py", line 227, in get_similar_artists
                                                return handle_artists(results['similarartists'])
                                              File "C:\Users\Dragon\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\LastFM.py", line 116, in handle_artists
                                                'mbid': artist['mbid'],
                                            KeyError: ('mbid',)
                                            -->End of Python script error report<--
09:01:59 T:3380   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.extendedinfo/?info=similarartistsinlibrary&&artistname=30 Seconds to Mars

how can I fix ??

Should be fixed with https://github.com/phil65/script.extende...4512a2cb2b
Tk's for this great script, it is a valuable one for me.
Those errors doesn't cause me any problems at this point.


Code:
07:52:32  35.144176 T:140709815097408  NOTICE: Starting Kodi (17.0-ALPHA1 Git:e39724c). Platform: Linux x86 64-bit
07:52:32  35.144180 T:140709815097408  NOTICE: Using Release Kodi x64 build
07:52:32  35.144188 T:140709815097408  NOTICE: Kodi compiled Feb  4 2016 by GCC 5.3.0 for Linux x86 64-bit version 4.4.1 (263169)
07:52:32  35.144245 T:140709815097408  NOTICE: Running on OpenELEC (Milhouse) - Version: devel-20160204013535-#0203-g5704075 [Build #0203] 7.0, kernel: Linux x86 64-
bit version 4.4.1

Version Aeon-Nox-SiLVO-master downloaded today
Version script.extendedinfo-master downloaded today

Here's my errors.

Code:
09:37:53 6355.614746 T:140707258562304   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                            - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                             Error Type: <type 'exceptions.NameError'>
                                             Error Contents: global name 'params' is not defined
                                               Traceback (most recent call last):
                                              File "/storage/.kodi/addons/script.extendedinfo/plugin.py", line 103, in <module>
                                                Main()
                                              File "/storage/.kodi/addons/script.extendedinfo/plugin.py", line 21, in __init__
                                                listitems = start_info_actions(info, self.params)
                                              File "/storage/.kodi/addons/script.extendedinfo/resources/lib/process.py", line 148, in start_info_actions
                                                return tmdb.get_company_data(company_data[0]["id"])
                                              File "/storage/.kodi/addons/script.extendedinfo/resources/lib/TheMovieDB.py", line 616, in get_company_data
                                                params=params,
                                            NameError: global name 'params' is not defined
                                            -->End of Python script error report<--
09:37:53 6355.701660 T:140707658446592 WARNING: Attempt to use invalid handle 19
09:37:53 6355.701660 T:140708186924800   ERROR: GetDirectory - Error getting plugin://script.extendedinfo/?info=similartvshows&&dbid=896
09:37:53 6355.701660 T:140707658446592 WARNING: Attempt to use invalid handle 19
09:37:53 6355.707520 T:140707305608960 WARNING: Previous line repeats 30 times.
09:37:53 6355.707520 T:140707305608960   ERROR: GetDirectory - Error getting plugin://script.extendedinfo/?info=studio&&studio=Focus Features


EDIT 1 : Ho just saw your last post, downloading in progress... many thanks
So I downloaded a fresh new zip file and I have no more errors in the logs and the screen.

Many tk's
The last errors were hiding a smaller other problem:

Code:
11:31:29 13172.305664 T:140707280434944   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.studios.white/Warner Bros., Northern Lights Entertainment, Donner/Shuler-Donner Productions.png
11:31:30 13173.127930 T:140707146454784 WARNING: Attempt to use invalid handle 36
11:31:31 13173.540039 T:140707136661248 WARNING: Previous line repeats 26 times.
11:31:31 13173.540039 T:140707136661248 WARNING: Attempt to use invalid handle 39
11:31:31 13173.540039 T:140707258562304   ERROR: GetDirectory - Error getting plugin://script.extendedinfo/?info=studio&&studio=Warner Bros., Northern Lights Entertainment, Donner/Shuler-Donner Productions
11:31:31 13173.540039 T:140707136661248 WARNING: Attempt to use invalid handle 39
11:31:31 13173.780273 T:140707064837888 WARNING: Previous line repeats 30 times.
11:31:31 13173.780273 T:140707064837888 WARNING: Attempt to use invalid handle 38
11:31:31 13174.249023 T:140707163240192 WARNING: Previous line repeats 26 times.
11:31:31 13174.250000 T:140707163240192 WARNING: Attempt to use invalid handle 37
11:31:31 13174.250000 T:140707146454784 WARNING: Previous line repeats 26 times.
11:31:31 13174.250000 T:140707146454784 WARNING: Attempt to use invalid handle 40
11:31:31 13174.250000 T:140707258562304   ERROR: GetDirectory - Error getting plugin://script.extendedinfo/?info=similartvshows&&dbid=271
11:31:31 13174.250000 T:140707146454784 WARNING: Attempt to use invalid handle 40
11:32:11 13213.770508 T:140707314513664 WARNING: Previous line repeats 30 times.
11:32:11 13213.770508 T:140707314513664   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.studios.white/Donner/Shuler-Donner Productions.png

But this one might be caused by a different addons.

Tk's again
(2016-02-17, 18:38)morstef4 Wrote: [ -> ]The last errors were hiding a smaller other problem:

Code:
11:31:29 13172.305664 T:140707280434944   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.studios.white/Warner Bros., Northern Lights Entertainment, Donner/Shuler-Donner Productions.png
11:31:30 13173.127930 T:140707146454784 WARNING: Attempt to use invalid handle 36
11:31:31 13173.540039 T:140707136661248 WARNING: Previous line repeats 26 times.
11:31:31 13173.540039 T:140707136661248 WARNING: Attempt to use invalid handle 39
11:31:31 13173.540039 T:140707258562304   ERROR: GetDirectory - Error getting plugin://script.extendedinfo/?info=studio&&studio=Warner Bros., Northern Lights Entertainment, Donner/Shuler-Donner Productions
11:31:31 13173.540039 T:140707136661248 WARNING: Attempt to use invalid handle 39
11:31:31 13173.780273 T:140707064837888 WARNING: Previous line repeats 30 times.
11:31:31 13173.780273 T:140707064837888 WARNING: Attempt to use invalid handle 38
11:31:31 13174.249023 T:140707163240192 WARNING: Previous line repeats 26 times.
11:31:31 13174.250000 T:140707163240192 WARNING: Attempt to use invalid handle 37
11:31:31 13174.250000 T:140707146454784 WARNING: Previous line repeats 26 times.
11:31:31 13174.250000 T:140707146454784 WARNING: Attempt to use invalid handle 40
11:31:31 13174.250000 T:140707258562304   ERROR: GetDirectory - Error getting plugin://script.extendedinfo/?info=similartvshows&&dbid=271
11:31:31 13174.250000 T:140707146454784 WARNING: Attempt to use invalid handle 40
11:32:11 13213.770508 T:140707314513664 WARNING: Previous line repeats 30 times.
11:32:11 13213.770508 T:140707314513664   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.studios.white/Donner/Shuler-Donner Productions.png

But this one might be caused by a different addons.

Tk's again

Could you post the complete debug log (wiki)?