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.
(2017-02-08, 17:28)TheSwede1970 Wrote: [ -> ]
(2017-02-07, 23:24)justinhow Wrote: [ -> ]I'm also getting script error on Kodi 17 final release when using Extended Info option in a movie Info screen. Info from kodi.log in debug mode.

Popup error is "Could not find valid content type"

Same issue here...

The issue is that the latest extendedinfo script has been made to work with Kodi 18 Leia. In Kodi 18 Leia, the function System.HasModalDialog has been changed to System.HasActiveModalDialog. This causes the error "Could not find valid content type". To fix it for Kodi 17 look in your addon directory and open the file process.py ("C:\Users\yourusername\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib") .

Look for the line:
if xbmc.getCondVisibility("System.HasActiveModalDialog")

should be line 263 and change it to

if xbmc.getCondVisibility("System.HasModalDialog").

Hope the original author can fix it in an update to work with both Kodi 17 and 18.
(2017-02-15, 17:31)nvsquared Wrote: [ -> ]
(2017-02-08, 17:28)TheSwede1970 Wrote: [ -> ]
(2017-02-07, 23:24)justinhow Wrote: [ -> ]I'm also getting script error on Kodi 17 final release when using Extended Info option in a movie Info screen. Info from kodi.log in debug mode.

Popup error is "Could not find valid content type"

Same issue here...

The issue is that the latest extendedinfo script has been made to work with Kodi 18 Leia. In Kodi 18 Leia, the function System.HasModalDialog has been changed to System.HasActiveModalDialog. This causes the error "Could not find valid content type". To fix it for Kodi 17 look in your addon directory and open the file process.py ("C:\Users\yourusername\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib") .

Look for the line:
if xbmc.getCondVisibility("System.HasActiveModalDialog")

should be line 263 and change it to

if xbmc.getCondVisibility("System.HasModalDialog").

Hope the original author can fix it in an update to work with both Kodi 17 and 18.

Thank you this just fixed the problem for me! Big Grin
Hi

Clicking the add to Sickbeard button doesn't appear to do anything and the TV Show is not added.

I have the SickRage add-on installed for Kodi which appears to be working on its own.

The add to Couch Potato button works OK however from ExtendedInfo.

What I am missing for Sickbeard?

Thanks
(2017-02-15, 17:31)nvsquared Wrote: [ -> ]
(2017-02-08, 17:28)TheSwede1970 Wrote: [ -> ]
(2017-02-07, 23:24)justinhow Wrote: [ -> ]I'm also getting script error on Kodi 17 final release when using Extended Info option in a movie Info screen. Info from kodi.log in debug mode.

Popup error is "Could not find valid content type"

Same issue here...

The issue is that the latest extendedinfo script has been made to work with Kodi 18 Leia. In Kodi 18 Leia, the function System.HasModalDialog has been changed to System.HasActiveModalDialog. This causes the error "Could not find valid content type". To fix it for Kodi 17 look in your addon directory and open the file process.py ("C:\Users\yourusername\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib") .

Look for the line:
if xbmc.getCondVisibility("System.HasActiveModalDialog")

should be line 263 and change it to

if xbmc.getCondVisibility("System.HasModalDialog").

Hope the original author can fix it in an update to work with both Kodi 17 and 18.
It didn't work in Kodi 18 in Nvidia Shield. The installed addon version is 5.6.0. It works fine in final Kodi 17 though.

The message I get: "ExtendedInfo script error"

The log:
Code:
01:12:45.547 T:1660934432   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'module' object has no attribute 'ACTION_MOVE_LEFT'
                                            Traceback (most recent call last):
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/default.py", line 8, in <module>
                                                from resources.lib import process
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/resources/lib/process.py", line 16, in <module>
                                                import Trakt
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/resources/lib/Trakt.py", line 8, in <module>
                                                import TheMovieDB as tmdb
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/resources/lib/TheMovieDB.py", line 9, in <module>
                                                from kodi65 import kodijson
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.kodi65/lib/kodi65/__init__.py", line 11, in <module>
                                                from actionhandler import ActionHandler
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.kodi65/lib/kodi65/actionhandler.py", line 8, in <module>
                                                ACTIONS = {"left": xbmcgui.ACTION_MOVE_LEFT,
                                            AttributeError: 'module' object has no attribute 'ACTION_MOVE_LEFT'
                                            -->End of Python script error report<--
(2017-02-16, 00:13)iMak Wrote: [ -> ]
(2017-02-15, 17:31)nvsquared Wrote: [ -> ]
(2017-02-08, 17:28)TheSwede1970 Wrote: [ -> ]Same issue here...

The issue is that the latest extendedinfo script has been made to work with Kodi 18 Leia. In Kodi 18 Leia, the function System.HasModalDialog has been changed to System.HasActiveModalDialog. This causes the error "Could not find valid content type". To fix it for Kodi 17 look in your addon directory and open the file process.py ("C:\Users\yourusername\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib") .

Look for the line:
if xbmc.getCondVisibility("System.HasActiveModalDialog")

should be line 263 and change it to

if xbmc.getCondVisibility("System.HasModalDialog").

Hope the original author can fix it in an update to work with both Kodi 17 and 18.
It didn't work in Kodi 18 in Nvidia Shield. The installed addon version is 5.6.0. It works fine in final Kodi 17 though.

The message I get: "ExtendedInfo script error"

The log:
Code:
01:12:45.547 T:1660934432   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'module' object has no attribute 'ACTION_MOVE_LEFT'
                                            Traceback (most recent call last):
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/default.py", line 8, in <module>
                                                from resources.lib import process
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/resources/lib/process.py", line 16, in <module>
                                                import Trakt
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/resources/lib/Trakt.py", line 8, in <module>
                                                import TheMovieDB as tmdb
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/resources/lib/TheMovieDB.py", line 9, in <module>
                                                from kodi65 import kodijson
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.kodi65/lib/kodi65/__init__.py", line 11, in <module>
                                                from actionhandler import ActionHandler
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.kodi65/lib/kodi65/actionhandler.py", line 8, in <module>
                                                ACTIONS = {"left": xbmcgui.ACTION_MOVE_LEFT,
                                            AttributeError: 'module' object has no attribute 'ACTION_MOVE_LEFT'
                                            -->End of Python script error report<--

Same error on Kodi 18 (master branch) when use 'RunScript(script.extendedinfo,info=openinfodialog)'

Code:
03:10:10.491 T:123145407041536   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'module' object has no attribute 'ACTION_MOVE_LEFT'
                                            Traceback (most recent call last):
                                              File "/Users/Cyril/Library/Application Support/Kodi/addons/script.extendedinfo/default.py", line 8, in <module>
                                                from resources.lib import process
                                              File "/Users/Cyril/Library/Application Support/Kodi/addons/script.extendedinfo/resources/lib/process.py", line 16, in <module>
                                                import Trakt
                                              File "/Users/Cyril/Library/Application Support/Kodi/addons/script.extendedinfo/resources/lib/Trakt.py", line 8, in <module>
                                                import TheMovieDB as tmdb
                                              File "/Users/Cyril/Library/Application Support/Kodi/addons/script.extendedinfo/resources/lib/TheMovieDB.py", line 9, in <module>
                                                from kodi65 import kodijson
                                              File "/Users/Cyril/Library/Application Support/Kodi/addons/script.module.kodi65/lib/kodi65/__init__.py", line 11, in <module>
                                                from actionhandler import ActionHandler
                                              File "/Users/Cyril/Library/Application Support/Kodi/addons/script.module.kodi65/lib/kodi65/actionhandler.py", line 8, in <module>
                                                ACTIONS = {"left": xbmcgui.ACTION_MOVE_LEFT,
                                            AttributeError: 'module' object has no attribute 'ACTION_MOVE_LEFT'
                                            -->End of Python script error report<--
Hope @phil65 steps in and update the script
Please give it some time. Kodi 18 is still pre alpha stage so skinners and addon devs need time to adjust their work.
You can't expect it to work already at this stage. Remember we're all volunteers that give up our free time to create these tools.
(2017-02-16, 09:37)marcelveldt Wrote: [ -> ]Please give it some time. Kodi 18 is still pre alpha stage so skinners and addon devs need time to adjust their work.
You can't expect it to work already at this stage. Remember we're all volunteers that give up our free time to create these tools.

All the efforts are highly appreciated. Well done guys.
nvsquared

Have you any idea where to find the file to solve the extendedinfo erro on a MAC?
Quote:The issue is that the latest extendedinfo script has been made to work with Kodi 18 Leia. In Kodi 18 Leia, the function System.HasModalDialog has been changed to System.HasActiveModalDialog. This causes the error "Could not find valid content type". To fix it for Kodi 17 look in your addon directory and open the file process.py ("C:\Users\yourusername\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib") .

Look for the line:
if xbmc.getCondVisibility("System.HasActiveModalDialog")

should be line 263 and change it to

if xbmc.getCondVisibility("System.HasModalDialog").

Hope the original author can fix it in an update to work with both Kodi 17 and 18.

Works perfectly. Cheers. I know Phil is busy, but this addon is fantastic and I hope he can find more time for it.
(2017-02-15, 19:04)cw-kid Wrote: [ -> ]
(2017-02-15, 17:31)nvsquared Wrote: [ -> ]
(2017-02-08, 17:28)TheSwede1970 Wrote: [ -> ]Same issue here...

The issue is that the latest extendedinfo script has been made to work with Kodi 18 Leia. In Kodi 18 Leia, the function System.HasModalDialog has been changed to System.HasActiveModalDialog. This causes the error "Could not find valid content type". To fix it for Kodi 17 look in your addon directory and open the file process.py ("C:\Users\yourusername\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib") .

Look for the line:
if xbmc.getCondVisibility("System.HasActiveModalDialog")

should be line 263 and change it to

if xbmc.getCondVisibility("System.HasModalDialog").

Hope the original author can fix it in an update to work with both Kodi 17 and 18.

Thank you this just fixed the problem for me! Big Grin

here too - thanks a lot for the hint !!Big Grin

edit, but only in kodi 17(1), in 18 it doesn't
is it still possible to load the script in backend mode?

to request labels of actors in dialogvideoinfo or anything else without the xml file from the script?


and gives there a dokumentation for backend mode and which labels?
(2017-02-17, 13:53)cablecar1 Wrote: [ -> ]nvsquared

Have you any idea where to find the file to solve the extendedinfo erro on a MAC?

Don't have a Mac but according to the Kodi Wiki the userdata folder is located at "/Users/<your_user_name>/Library/Application Support/Kodi/userdata/". So your addons folder should be "/Users/<your_user_name>/Library/Application Support/Kodi/addons/"
See this link:
Userdata (wiki)
@phil65

Trouble reported by iMak,

Code:
Support/Kodi/addons/script.module.kodi65/lib/kodi65/actionhandler.py", line 8, in <module>
                                                ACTIONS = {"left": xbmcgui.ACTION_MOVE_LEFT,
                                            AttributeError: 'module' object has no attribute 'ACTION_MOVE_LEFT'
                                            -->End of Python script error report<--

Happen in Leia when using windows OS too, hope in next days, you check this..

When using Krypton, script is broken for play youtube videos, appear message no youtube id found.

Thanks again for all support in this script, it´s great.
Running LibreElec Milhouse V18 L nightlies on a Chromebox , Getting Script Errors with Newest Version of the script.

Full Debug Log:

LOG