Plugin não funciona em ahrdware AMLOGIC M3

Issue #4 invalid
Former user created an issue

Antes de mais nada obrigado pelo excelente plugin. Estou usando o xbmc em um G-Box Midnight rodando linux. Estou tendo dificuldade em fazer o plugin funcionar. Uma mensagem de erro surge (addon.py) surge toda vez que tenro executa-lo.

Aqui está a parte relevante do log:

G: WaitOnScriptResult - waiting on the Globo.tv (id=12) plugin... E: Thread XBPyThread start, auto delete: false G: Python thread: start processing E: -->Python Interpreter Initialized<-- G: Process - The source file to load is /root/.xbmc/addons/plugin.video.globotv/addon.py G: Process - Setting the Python path to /root/.xbmc/addons/plugin.video.globotv:/usr/share/xbmc/addons/weather.wunderground/resources/lib/wunderground:/root/.xbmc/addons/script.module.simplejson/lib:/root/.xbmc/addons/script.module.beaut G: Process - Entering source directory /root/.xbmc/addons/plugin.video.globotv G: Instantiating addon using automatically obtained id of "plugin.video.globotv" dependent on version 2.0 of the xbmc.python api R: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.ImportError'> Error Contents: No module named requests Traceback (most recent call last): File "/root/.xbmc/addons/plugin.video.globotv/addon.py", line 18, in <module> from resources.lib import globo File "/root/.xbmc/addons/plugin.video.globotv/resources/lib/globo.py", line 20, in <module> import requests ImportError: No module named requests -->End of Python script error report<-- O: Python script stopped G: Thread XBPyThread 1257092192 terminating G: WaitOnScriptResult - plugin exited prematurely - terminating R: GetDirectory - Error getting plugin://plugin.video.globotv/ R: CGUIMediaWindow::GetDirectory(plugin://plugin.video.globotv/) failed G: CGUIMediaWindow::GetDirectory (addons://sources/video/) G: ParentPath = [] E: Thread Background Loader start, auto delete: false G: waiting for python thread 12 (/root/.xbmc/addons/plugin.video.globotv/addon.py) to stop G: python thread 12 (/root/.xbmc/addons/plugin.video.globotv/addon.py) destructed G: ------ Window Init (DialogKaiToast.xml) ------

Sei que é meio específico, mas você pode me ajudar de alguma maneira?

Comments (2)

  1. Vitor Hirota repo owner

    Neste caso, o hardware é indiferente. Seu problema está na falta da biblioteca requests, que o plugin depende:

    Error Type: <type 'exceptions.ImportError'> Error Contents: No module named requests Traceback (most recent call last): File "/root/.xbmc/addons/plugin.video.globotv/addon.py", line 18, in <module> from resources.lib import globo File "/root/.xbmc/addons/plugin.video.globotv/resources/lib/globo.py", line 20, in <module> import requests ImportError: No module named requests
    

    Esta dependência é normalmente instalada automaticamente.

    Qual versão do xbmc vc está usando?

    Você pode tentar reinstalar o addon, ou instalar esta dependencia manualmente pelo zip.

  2. Log in to comment