Página 1 de 1

errore SOD + openelec

Publicado: 02 Ago 2016, 15:02
por lucadita
Buongiorno a tutti,
openelec versione 7.0 veta3
piattaforma: MX6 (Cubox)
SOD: sia ultime versione "stabile" che ultima in development 5.3.2

premetto che internet funziona normalmente e che openelec accede tranquillamente ad aggiornamenti, repository...



Alla partenza di kodi, mi aggiorna gli elenchi e fa il download normale (update channel...)

Se faccio partire il plugin SOD ottengo questo messaggio:
"impossibile aggiornare" e poi ottengo un errore daparte di SOD nelle notifiche che mi dice di guardare il file di log...

Se disabilito l'auto aggiornamento in SOD, non i da piu' l'errore "impossibile aggiornare" ma comunque nelle notifiche mi arriva l'errore di SOD che mi dice di guardare nei log.

Questo e' uno stralcio del file di log:

---
01:01:00 T:1687155616 DEBUG: -->Python Interpreter Initialized<--
01:01:00 T:1687155616 DEBUG: CPythonInvoker(4, /storage/.kodi/addons/plugin.video.streamondemand-master/default.py): the source file to load is "/storage/.kodi/addons/plugin.video.streamondemand-master/default.py"
01:01:00 T:1687155616 DEBUG: CPythonInvoker(4, /storage/.kodi/addons/plugin.video.streamondemand-master/default.py): setting the Python path to /storage/.kodi/addons/plugin.video.streamondemand-master:/usr/lib/python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/li
01:01:00 T:1687155616 DEBUG: CPythonInvoker(4, /storage/.kodi/addons/plugin.video.streamondemand-master/default.py): entering source directory /storage/.kodi/addons/plugin.video.streamondemand-master
01:01:00 T:1687155616 DEBUG: CPythonInvoker(4, /storage/.kodi/addons/plugin.video.streamondemand-master/default.py): instantiating addon using automatically obtained id of "plugin.video.streamondemand" dependent on version 2.1.0 of the xbmc.python api
01:01:00 T:1687155616 DEBUG: LocalizeStrings: no strings.po file exist at /storage/.kodi/addons/plugin.video.streamondemand-master/resources/language/Italian, fallback to strings.xml
01:01:00 T:1687155616 DEBUG: LocalizeStrings: no strings.po file exist at /storage/.kodi/addons/plugin.video.streamondemand-master/resources/language/English, fallback to strings.xml
01:01:00 T:1687155616 ERROR: 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: cannot import name servertools
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.streamondemand-master/default.py", line 28, in <module>
launcher.run()
File "/storage/.kodi/addons/plugin.video.streamondemand-master/platformcode/launcher.py", line 59, in run
from platformcode import xbmctools
File "/storage/.kodi/addons/plugin.video.streamondemand-master/platformcode/xbmctools.py", line 16, in <module>
from servers import servertools
ImportError: cannot import name servertools
-->End of Python script error report<--
01:01:00 T:1687155616 INFO: Python script stopped
01:01:00 T:1687155616 DEBUG: Thread LanguageInvoker 1687155616 terminating
01:01:00 T:1657795488 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
01:01:00 T:1963192896 ERROR: GetDirectory - Error getting plugin://plugin.video.streamondemand/
01:01:00 T:1963192896 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.streamondemand/) failed
01:01:00 T:1963192896 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video)
01:01:00 T:1963192896 DEBUG: ParentPath = []
01:01:00 T:1687155616 DEBUG: Thread BackgroundLoader start, auto delete: false
01:01:01 T:1907123104 ERROR: CecLogMessage - Write: sent command error !
01:01:01 T:1963192896 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
01:01:01 T:1687155616 DEBUG: Thread BackgroundLoader 1687155616 terminating
01:01:01 T:1907123104 ERROR: CecLogMessage - Write: sent command error !
01:01:05 T:1963192896 ERROR: Previous line repeats 8 times.
01:01:05 T:1963192896 DEBUG: ------ Window Deinit (Pointer.xml) ------
01:01:06 T:1963192896 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
01:01:06 T:1907123104 ERROR: CecLogMessage - Write: sent command error !
01:01:30 T:1641018272 ERROR: Previous line repeats 45 times.
01:01:30 T:1641018272 DEBUG: Thread JobWorker 1641018272 terminating (autodelete)
01:01:30 T:1615852448 DEBUG: Thread JobWorker 1615852448 terminating (autodelete)
01:01:30 T:1657795488 DEBUG: Thread JobWorker 1657795488 terminating (autodelete)
01:01:31 T:1907123104 ERROR: CecLogMessage - Write: sent command error !
01:02:05 T:1963192896 ERROR: Previous line repeats 63 times.
01:02:05 T:1963192896 DEBUG: ProcessMouse: trying mouse action wheelup
01:02:05 T:1963192896 DEBUG: ------ Window Init (Pointer.xml) ------
01:02:06 T:1907123104 ERROR: CecLogMessage - Write: sent command error !
01:02:10 T:1963192896 ERROR: Previous line repeats 7 times.
01:02:10 T:1963192896 DEBUG: ------ Window Deinit (Pointer.xml) ------
01:02:10 T:1907123104 ERROR: CecLogMessage - Write: sent command error !
01:05:05 T:1963192896 ERROR: Previous line repeats 319 times.
01:05:05 T:1963192896 DEBUG: CAnnouncementManager - Announcement: OnScreensaverActivated from xbmc
01:05:05 T:1963192896 DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverActivated
01:05:05 T:1963192896 DEBUG: ------ Window Init () ------
01:05:05 T:1907123104 ERROR: CecLogMessage - Write: sent command error !

---


Qualcuno ha qualche idea?

ho gia' provato a disinstallare tutto (compresa la cancellazione delle directory) e reinstallare ma non cambia nulla.

grazie
Luca

Re: errore SOD + openelec

Publicado: 02 Ago 2016, 15:10
por andrea2107
lucadita escribió:Buongiorno a tutti,
openelec versione 7.0 veta3
piattaforma: MX6 (Cubox)
SOD: sia ultime versione "stabile" che ultima in development 5.3.2

premetto che internet funziona normalmente e che openelec accede tranquillamente ad aggiornamenti, repository...



Alla partenza di kodi, mi aggiorna gli elenchi e fa il download normale (update channel...)

Se faccio partire il plugin SOD ottengo questo messaggio:
"impossibile aggiornare" e poi ottengo un errore daparte di SOD nelle notifiche che mi dice di guardare il file di log...

Se disabilito l'auto aggiornamento in SOD, non i da piu' l'errore "impossibile aggiornare" ma comunque nelle notifiche mi arriva l'errore di SOD che mi dice di guardare nei log.

Questo e' uno stralcio del file di log:

---
01:01:00 T:1687155616 DEBUG: -->Python Interpreter Initialized<--
01:01:00 T:1687155616 DEBUG: CPythonInvoker(4, /storage/.kodi/addons/plugin.video.streamondemand-master/default.py): the source file to load is "/storage/.kodi/addons/plugin.video.streamondemand-master/default.py"
01:01:00 T:1687155616 DEBUG: CPythonInvoker(4, /storage/.kodi/addons/plugin.video.streamondemand-master/default.py): setting the Python path to /storage/.kodi/addons/plugin.video.streamondemand-master:/usr/lib/python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/li
01:01:00 T:1687155616 DEBUG: CPythonInvoker(4, /storage/.kodi/addons/plugin.video.streamondemand-master/default.py): entering source directory /storage/.kodi/addons/plugin.video.streamondemand-master
01:01:00 T:1687155616 DEBUG: CPythonInvoker(4, /storage/.kodi/addons/plugin.video.streamondemand-master/default.py): instantiating addon using automatically obtained id of "plugin.video.streamondemand" dependent on version 2.1.0 of the xbmc.python api
01:01:00 T:1687155616 DEBUG: LocalizeStrings: no strings.po file exist at /storage/.kodi/addons/plugin.video.streamondemand-master/resources/language/Italian, fallback to strings.xml
01:01:00 T:1687155616 DEBUG: LocalizeStrings: no strings.po file exist at /storage/.kodi/addons/plugin.video.streamondemand-master/resources/language/English, fallback to strings.xml
01:01:00 T:1687155616 ERROR: 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: cannot import name servertools
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.streamondemand-master/default.py", line 28, in <module>
launcher.run()
File "/storage/.kodi/addons/plugin.video.streamondemand-master/platformcode/launcher.py", line 59, in run
from platformcode import xbmctools
File "/storage/.kodi/addons/plugin.video.streamondemand-master/platformcode/xbmctools.py", line 16, in <module>
from servers import servertools
ImportError: cannot import name servertools
-->End of Python script error report<--
01:01:00 T:1687155616 INFO: Python script stopped
01:01:00 T:1687155616 DEBUG: Thread LanguageInvoker 1687155616 terminating
01:01:00 T:1657795488 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
01:01:00 T:1963192896 ERROR: GetDirectory - Error getting plugin://plugin.video.streamondemand/
01:01:00 T:1963192896 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.streamondemand/) failed
01:01:00 T:1963192896 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video)
01:01:00 T:1963192896 DEBUG: ParentPath = []
01:01:00 T:1687155616 DEBUG: Thread BackgroundLoader start, auto delete: false
01:01:01 T:1907123104 ERROR: CecLogMessage - Write: sent command error !
01:01:01 T:1963192896 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
01:01:01 T:1687155616 DEBUG: Thread BackgroundLoader 1687155616 terminating
01:01:01 T:1907123104 ERROR: CecLogMessage - Write: sent command error !
01:01:05 T:1963192896 ERROR: Previous line repeats 8 times.
01:01:05 T:1963192896 DEBUG: ------ Window Deinit (Pointer.xml) ------
01:01:06 T:1963192896 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
01:01:06 T:1907123104 ERROR: CecLogMessage - Write: sent command error !
01:01:30 T:1641018272 ERROR: Previous line repeats 45 times.
01:01:30 T:1641018272 DEBUG: Thread JobWorker 1641018272 terminating (autodelete)
01:01:30 T:1615852448 DEBUG: Thread JobWorker 1615852448 terminating (autodelete)
01:01:30 T:1657795488 DEBUG: Thread JobWorker 1657795488 terminating (autodelete)
01:01:31 T:1907123104 ERROR: CecLogMessage - Write: sent command error !
01:02:05 T:1963192896 ERROR: Previous line repeats 63 times.
01:02:05 T:1963192896 DEBUG: ProcessMouse: trying mouse action wheelup
01:02:05 T:1963192896 DEBUG: ------ Window Init (Pointer.xml) ------
01:02:06 T:1907123104 ERROR: CecLogMessage - Write: sent command error !
01:02:10 T:1963192896 ERROR: Previous line repeats 7 times.
01:02:10 T:1963192896 DEBUG: ------ Window Deinit (Pointer.xml) ------
01:02:10 T:1907123104 ERROR: CecLogMessage - Write: sent command error !
01:05:05 T:1963192896 ERROR: Previous line repeats 319 times.
01:05:05 T:1963192896 DEBUG: CAnnouncementManager - Announcement: OnScreensaverActivated from xbmc
01:05:05 T:1963192896 DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverActivated
01:05:05 T:1963192896 DEBUG: ------ Window Init () ------
01:05:05 T:1907123104 ERROR: CecLogMessage - Write: sent command error !

---


Qualcuno ha qualche idea?

ho gia' provato a disinstallare tutto (compresa la cancellazione delle directory) e reinstallare ma non cambia nulla.

grazie
Luca
secondo il log ti mancano i moduli xbmctools e servertools, prova a riscaricare SOD da qui https://github.com/streamondemand/plugi ... master.zip

Re: errore SOD + openelec

Publicado: 02 Ago 2016, 15:29
por lucadita
"ovviamente" stesso risultato di prima :-(
ma servertools e xbmctools dove dovrebbero essere installati? e da chi?

grazie
Luca

Re: errore SOD + openelec

Publicado: 02 Ago 2016, 15:46
por lucadita
xbmctools.py l'ho trovato qui:
./storage/.kodi/addons/plugin.video.streamondemand-master/platformcode/xbmctools.py

ma di servertools.py manco l'ombra.

guardando bene il log, mi sembra che dia un errore xbmctools perche' non trova servertools.py

Re: errore SOD + openelec

Publicado: 02 Ago 2016, 15:56
por lucadita
picolo aggiornamento.
Dentro il file .zip di sod plugin-video.streamondemand-master.zip, nella cartella servers c'e' il file servertools.py


copiato il file nella cartella
...kodi/addons/plugin.video.streamondemand-master/servers


il plugin si avvia.

ci deve essere un BUG nell'installazione di SOD che nel mio caso non copia il file servertool.py

persiste comunque l'errore sull'aggioramento...



Grazie per ora e compliementi agli sviluppatori per l'incredibile lavoro
Luca

Re: errore SOD + openelec

Publicado: 02 Ago 2016, 15:56
por andrea2107
lucadita escribió:xbmctools.py l'ho trovato qui:
./storage/.kodi/addons/plugin.video.streamondemand-master/platformcode/xbmctools.py

ma di servertools.py manco l'ombra.

guardando bene il log, mi sembra che dia un errore xbmctools perche' non trova servertools.py
servertools è in servers come scritto nel codice

ma che versione di openelec hai?

edit:vedo che hai risolto,meglio così

Re: errore SOD + openelec

Publicado: 02 Ago 2016, 16:26
por lucadita
si risolto :)

come scritto in testa al primo post, ho la versione openelec versione 7.0 veta3 per cubox-i (MX6).

strano sto bug... e' possibile segnalarlo agli sviluppatori in qualche modo? (scusa, ma e' la prima volta che installo il tutto e non so ancora bene come muovermi..)

Re: errore SOD + openelec

Publicado: 02 Ago 2016, 16:46
por andrea2107
lucadita escribió:si risolto :)

come scritto in testa al primo post, ho la versione openelec versione 7.0 veta3 per cubox-i (MX6).

strano sto bug... e' possibile segnalarlo agli sviluppatori in qualche modo? (scusa, ma e' la prima volta che installo il tutto e non so ancora bene come muovermi..)
di sicuro un dev leggerà questo thread
in ogni caso è di sicuro un bug specifico di openelec,sul mio tv box android non ho questo bug

Re: errore SOD + openelec

Publicado: 02 Ago 2016, 17:19
por costaplus
lucadita escribió:si risolto :)

come scritto in testa al primo post, ho la versione openelec versione 7.0 veta3 per cubox-i (MX6).

strano sto bug... e' possibile segnalarlo agli sviluppatori in qualche modo? (scusa, ma e' la prima volta che installo il tutto e non so ancora bene come muovermi..)
Ciao Luca,

eccoti un Dev :D :D :D si uno degli ultimi, ma tranquillo ci sono i livelli superiori..(Detanku,Doc, Zanzibar, ...... e altri)... scherzi a parte,

La prima domanda:

perche usi una versione beta di Openelec quando esiste una versione stable ?

http://openelec.tv/get-openelec

Sai che le beta a volte riservano sorprese inspiegabili ? le chiamano beta apposta :lol: :lol: :lol: :lol:

Secondo le releases ufficali le trovi qui:

https://github.com/streamondemand/plugi ... d/releases

e scaricati questa versione:

https://github.com/streamondemand/plugi ... v5.3.2.zip

Ma prima prova a rimuovere StreamOnDemand e poi manualmente elimina qualsiasi traccia che troverai qui:

./storage/.kodi/addons

ed elimina tutta la cartella plugin.video.streamondemand-master e ttue quelle che si chiamano in modo simile... plugin.video.streamondemand potresti avere il classico problema del doppio addons dove kodi/openelec ne vede uno ma tu non sai da quale cartella lo prende!

per poi dopo aver finito rimetti su l'addons...

Costaplus

Re: errore SOD + openelec

Publicado: 02 Ago 2016, 17:30
por lucadita
Ciao Costasplus,
grazie per l'attenzione :-)

Ho una versione beta perche' avevo provato con la versione "stable" e mi dava problemi, cosi' (prima di andare ad abilitare il log e "attaccare il cervello" ho provato la beta... vistoc he con la beta mi dava lo stesso identico problema, sono rimasto con quella per ora...

I file che avevo scaricato erano esattamente quelli che mi hai indicato :-) E avevo gia' svolta la stessa procedura per rimuovere SOD e reinstallarlo ogni volta che facevo qualche prova :-)

Esiste un log di installazione?

Adesso mi sembra funzionare peccato che Openload fa le bizze... ho gia' letto il thread spagnolo in porposito... c'e' qualche patch per risolvere "al volo" il problema su SOD (linux lo mastico abbastanza... ma non so nulla, per ora :-) di Kodi e SOD, ma sto cercando di colmare il gap :-)

Per ora grazie di tutto
Luca