Error al intentar visualizar los trailers
Publicado: 30 Sep 2011, 20:00
Hola.
Desde hace un tiempo he notado que al intentar ver los trailers, la busqueda se realiza correctamente pero al seleccionar alguno de los resultados de la busqueda para visualizarlo, salta el típico error en el script.
Me ocurre lo mismo en una Eden (build del 21 de junio, creo) y en una Dharma. En ambos casos, estoy usando la version 3.2.2 aunque el error lo llevo observando desde hace algún tiempo y alguna version.
He buscado y no parece que le pase a nadie mas en el foro. Os pego el log por si alguien tiene una idea ....
Muchas gracias de antemano:
log:
Desde hace un tiempo he notado que al intentar ver los trailers, la busqueda se realiza correctamente pero al seleccionar alguno de los resultados de la busqueda para visualizarlo, salta el típico error en el script.
Me ocurre lo mismo en una Eden (build del 21 de junio, creo) y en una Dharma. En ambos casos, estoy usando la version 3.2.2 aunque el error lo llevo observando desde hace algún tiempo y alguna version.
He buscado y no parece que le pase a nadie mas en el foro. Os pego el log por si alguien tiene una idea ....
Muchas gracias de antemano:
log:
20:58:51 T:128929792 M:113946624 NOTICE: -->Python Interpreter Initialized<--
20:58:51 T:128929792 M:113946624 DEBUG: Process - The source file to load is /var/mobile/Library/Preferences/XBMC/addons/plugin.video.pelisalacarta/default.py
20:58:51 T:128929792 M:113946624 DEBUG: Process - Setting the Python path to /var/mobile/Library/Preferences/XBMC/addons/plugin.video.pelisalacarta:/var/mobile/Library/Preferences/XBMC/addons/script.module.simplejson/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.beautifulsoup/lib:/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pil/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.elementtree/lib:/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pysqlite/lib:/var/stash/Applications/XBMC.frappliance/Frameworks:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python26.zip:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-darwin:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-mac:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-mac/lib-scriptpackages:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-tk:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-old:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-dynload:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/site-packages:
20:58:51 T:128929792 M:113946624 DEBUG: Process - Entering source directory /var/mobile/Library/Preferences/XBMC/addons/plugin.video.pelisalacarta
20:58:51 T:128929792 M:113946624 DEBUG: Instantiating addon using automatically obtained id of "plugin.video.pelisalacarta" dependent on version 1.0 of the xbmc.python api
20:58:51 T:128929792 M:113942528 NOTICE: [config.py] xbmcdharma config 3.2
20:58:51 T:128929792 M:113942528 NOTICE: [config.py] runtime path = /var/mobile/Library/Preferences/XBMC/addons/plugin.video.pelisalacarta
20:58:51 T:128929792 M:113942528 NOTICE: [config.py] data path = /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.pelisalacarta/
20:58:51 T:128929792 M:113942528 NOTICE: [config.py] temp path = /var/mobile/Library/Preferences/XBMC/temp/test
20:58:51 T:128929792 M:113942528 NOTICE: [default.py] pelisalacarta init...
20:58:54 T:128929792 M:113938432 NOTICE: [launcher.py] run
20:58:54 T:128929792 M:113938432 NOTICE: verify_directories_created
20:58:54 T:128929792 M:113938432 NOTICE: [launcher.py] extract_parameters
20:58:54 T:128929792 M:113938432 NOTICE: [launcher.py] sys.argv=['plugin://plugin.video.pelisalacarta/', '-1', '?channel=trailertools&action=youtubeplay&category=cuevana&title=R%C3%A1pidos+y+Furiosos%3A+5in+Control+%28Fast+Five%29+-+Trailer+Oficial+-+Subtitulado+Espa%C3%B1ol+%5BHD%5D&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DqNzPK5vtfwo%26feature%3Dyoutube_gdata_player&thumbnail=http%3A%2F%2Fi.ytimg.com%2Fvi%2FqNzPK5vtfwo%2F3.jpg&plot=Ver+Video&server=Directo&Serie=&subtitle=']
20:58:54 T:128929792 M:113938432 NOTICE: [launcher.py] params={'category': 'cuevana', 'plot': 'Ver+Video', 'subtitle': '', 'title': 'R%C3%A1pidos+y+Furiosos%3A+5in+Control+%28Fast+Five%29+-+Trailer+Oficial+-+Subtitulado+Espa%C3%B1ol+%5BHD%5D', 'url': 'http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DqNzPK5vtfwo%26feature%3Dyoutube_gdata_player', 'server': 'Directo', 'Serie': '', 'action': 'youtubeplay', 'thumbnail': 'http%3A%2F%2Fi.ytimg.com%2Fvi%2FqNzPK5vtfwo%2F3.jpg', 'channel': 'trailertools'}
20:58:54 T:128929792 M:113938432 NOTICE: [launcher.py] channel_name=trailertools, title=Rápidos y Furiosos: 5in Control (Fast Five) - Trailer Oficial - Subtitulado Español [HD], url=http://www.youtube.com/watch?v=qNzPK5vt ... ata_player, thumbnail=http://i.ytimg.com/vi/qNzPK5vtfwo/3.jpg, plot=Ver Video, action=youtubeplay, server=Directo, extra=, subtitle=, category=cuevana, show=, password=
20:58:54 T:128929792 M:113938432 NOTICE: [launcher.py] regular_channel_path=/var/mobile/Library/Preferences/XBMC/addons/plugin.video.pelisalacarta/pelisalacarta/channels/trailertools.py
20:58:54 T:128929792 M:113938432 NOTICE: [launcher.py] core_channel_path=/var/mobile/Library/Preferences/XBMC/addons/plugin.video.pelisalacarta/core/trailertools.py
20:58:54 T:128929792 M:113885184 ERROR: /var/mobile/Library/Preferences/XBMC/addons/plugin.video.pelisalacarta/core/scrapertools.py:21: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
20:58:54 T:128929792 M:113881088 NOTICE: [scrapertools.py] init
20:58:54 T:128929792 M:113881088 NOTICE: [scrapertools.py] CACHE_PATH=
20:58:55 T:128929792 M:113287168 ERROR: /var/mobile/Library/Preferences/XBMC/addons/plugin.video.pelisalacarta/lib/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
20:58:57 T:128929792 M:113201152 NOTICE: [launcher.py] running channel core.trailertools /var/mobile/Library/Preferences/XBMC/addons/plugin.video.pelisalacarta/core/trailertools.pyc
20:58:57 T:128929792 M:113201152 NOTICE: [launcher.py] xbmc native channel
20:58:57 T:128929792 M:113197056 NOTICE: [trailertools.py] youtubeplay
20:58:57 T:128929792 M:113197056 INFO: -->Python script returned the following error<--
20:58:57 T:128929792 M:113197056 ERROR: Error Type: <type 'exceptions.NameError'>
20:58:57 T:128929792 M:113197056 ERROR: Error Contents: global name '_VALID_URL' is not defined
20:58:57 T:128929792 M:113184768 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.pelisalacarta/default.py", line 27, in <module>
launcher.run()
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.pelisalacarta/platform/xbmc/launcher.py", line 113, in run
exec "channel."+action+"(params, url, category)"
File "<string>", line 1, in <module>
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.pelisalacarta/core/trailertools.py", line 430, in youtubeplay
id = youtube.Extract_id(url)
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.pelisalacarta/servers/youtube.py", line 209, in Extract_id
mobj = re.match(_VALID_URL, url)
NameError: global name '_VALID_URL' is not defined
20:58:57 T:128929792 M:113184768 INFO: -->End of Python script error report<--