- HenrikDK - 2011-01-05 12:16
kricker Wrote:Okay here is a log from XBMC where I try to login and see my videos using vs 1.0.1. I keep seeing login in the list. Each time I use it to login and I get the notification that I am logged in, but the login entry is still in the item list and I see no "My Videos". "My Videos" is also not hidden in the addon options.
Code:
23:04:52 T:5456 M:165625856 NOTICE: Vimeo-1.0.0 login_get_verifier - auth_url: http://vimeo.com/oauth/authorize?oauth_token=fd36f85174117f2d5caae5c950e7580e&permission=write
23:04:53 T:5456 M:165838848 NOTICE: Vimeo-1.0.0 setting userid: ''
23:04:54 T:5456 M:165511168 NOTICE: Vimeo-1.0.0 login_get_verifier verifier: toys-1150726094
23:04:54 T:5456 M:165404672 NOTICE: Vimeo-1.0.0 login token: oauth_token_secret=21d3b5046e7b2111220b2e4d1b6c7bb8bd602356&oauth_token=ffc04f15a21638522755b0af8c112003
23:04:54 T:5456 M:165404672 NOTICE: Vimeo-1.0.0 login done
Hmm it seems that the login process goes fine, but the user id isnt found, i will create a new beta with better debugging code that will give me an idea of what is wrong.
- kricker - 2011-01-05 21:13
Great. Let me know when it is ready and I'll give it a dance.
- HenrikDK - 2011-01-05 22:31
I've reworked how the plugin fetches and stores the userid to a more consistent method. I've also added some additional debugging that should tell us what's wrong if it doesn't work:
The new version is plugin.video.vimeo.beta-1.1.1 and can be downloaded from the site:
http://code.google.com/p/vimeoxbmc/downloads/list
If this release fixes the problem we'll push it to the official repo, as its only a minor fix.
/HenrikDK
- colbert - 2011-01-06 03:29
I can login sucessfully, load Show Information, browse the listings, etc. just fine but trying to watch a video goes back out to the menu and I see: http://i.imgur.com/64lzA.jpg
Here is log output:
Code:
20:20:59 T:3022288768 M:2556256256 DEBUG: StartScript - calling plugin Vimeo('plugin://plugin.video.vimeo/','0','?path=/root/explore/staffpicks&action=play_video&videoid=18046748')
20:20:59 T:3022288768 M:2556256256 INFO: initializing python engine.
20:20:59 T:3022288768 M:2556256256 DEBUG: new python thread created. id=32
20:20:59 T:3022288768 M:2556256256 DEBUG: WaitOnScriptResult - waiting on the Vimeo plugin...
20:20:59 T:2928175984 M:2556256256 DEBUG: thread start, auto delete: 0
20:20:59 T:2928175984 M:2556256256 DEBUG: Python thread: start processing
20:20:59 T:2928175984 M:2556256256 NOTICE: -->Python Interpreter Initialized<--
20:20:59 T:2928175984 M:2556256256 DEBUG: Process - The source file to load is /home/bobby/.xbmc/addons/plugin.video.vimeo/default.py
20:20:59 T:2928175984 M:2556256256 DEBUG: Process - Setting the Python path to /home/bobby/.xbmc/addons/plugin.video.vimeo:/home/bobby/.xbmc/addons/script.module.simplejson/lib:/home/bobby/.xbmc/addons/script.module.beautifulsoup/lib:/usr/lib/xbmc/addons/script.module.pil/lib:/home/bobby/.xbmc/addons/script.module.elementtree/lib:/usr/lib/xbmc/addons/script.module.pysqlite/lib:/usr/lib/xbmc/system/python/python24.zip:/usr/share/xbmc/system/python/lib/python24.zip:/usr/share/xbmc/system/python/lib/python2.4/:/usr/share/xbmc/system/python/lib/python2.4/plat-linux2:/usr/share/xbmc/system/python/lib/python2.4/lib-tk:/usr/share/xbmc/system/python/lib/python2.4/lib-dynload
20:20:59 T:2928175984 M:2556256256 DEBUG: Process - Entering source directory /home/bobby/.xbmc/addons/plugin.video.vimeo
20:20:59 T:2928175984 M:2556256256 NOTICE: Vimeo-1.0.0 ARGV: ['plugin://plugin.video.vimeo/', '0', '?path=/root/explore/staffpicks&action=play_video&videoid=18046748']
20:21:00 T:2928175984 M:2556534784 NOTICE: Vimeo-1.0.0 __init__
20:21:00 T:2928175984 M:2556366848 NOTICE: Vimeo-1.0.0 construct_video_url : '18046748'
20:21:00 T:2928175984 M:2556366848 NOTICE: Vimeo-1.0.0 _get_details: '18046748'
20:21:00 T:2928175984 M:2556366848 INFO: -->Python script returned the following error<--
20:21:00 T:2928175984 M:2556366848 ERROR: Error Type: urllib2.HTTPError
20:21:00 T:2928175984 M:2556366848 ERROR: Error Contents: HTTP Error 500: Internal Server Error
20:21:00 T:2928175984 M:2556366848 ERROR: Traceback (most recent call last):
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/default.py", line 35, in ?
navigator.executeAction(params)
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 135, in executeAction
self.playVideo(params)
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 307, in playVideo
(video, status) = core.construct_video_url(get('videoid'));
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 342, in construct_video_url
video = self._get_details(videoid)
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 505, in _get_details
con = urllib2.urlopen(url);
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 364, in open
response = meth(req, response)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 471, in http_response
response = self.parent.error(
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 402, in error
return self._call_chain(*args)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 337, in _call_chain
result = func(*args)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 480, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
20:21:00 T:2928175984 M:2556366848 INFO: -->End of Python script error report<--
20:21:00 T:2928175984 M:2556366848 INFO: Python script stopped
20:21:00 T:2928175984 M:2556366848 DEBUG: Thread 2928175984 terminating
20:21:00 T:3022288768 M:2556366848 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
20:21:00 T:3022288768 M:2556366848 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.vimeo/?path=/root/explore/staffpicks&action=play_video&videoid=18046748]
20:21:00 T:3022288768 M:2556366848 DEBUG: Playlist Player: one or more items failed to play... aborting playback
20:21:00 T:3022288768 M:2556366848 INFO: Loading skin file: DialogOK.xml
20:21:00 T:3022288768 M:2556366848 DEBUG: ------ Window Init (DialogOK.xml) ------
20:21:00 T:3022288768 M:2556366848 DEBUG: python thread 32 destructed
20:21:00 T:3022288768 M:2556366848 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
20:21:03 T:3022288768 M:2555133952 DEBUG: SDLKeyboard: scancode: 51, sym: 92, unicode: 92, modifier: 0
20:21:03 T:3022288768 M:2555133952 DEBUG: OnKey: 61676 pressed, action is ToggleFullScreen
20:21:03 T:3022288768 M:2555133952 ERROR: GLX: Same window as before, refreshing context
20:21:03 T:3022288768 M:2555133952 INFO: GL: Maximum texture width: 8192
20:21:05 T:3022288768 M:2552725504 DEBUG: SDLKeyboard: scancode: 51, sym: 92, unicode: 92, modifier: 0
20:21:05 T:3022288768 M:2552725504 DEBUG: OnKey: 61676 pressed, action is ToggleFullScreen
20:21:05 T:3022288768 M:2552594432 ERROR: GLX: Same window as before, refreshing context
20:21:05 T:3022288768 M:2552594432 INFO: GL: Maximum texture width: 8192
20:21:06 T:3022288768 M:2552852480 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
20:21:07 T:2919783280 M:2552987648 NOTICE: 'TRAKT: Resetting last update timestamp'
20:21:08 T:3022288768 M:2553225216 DEBUG: SDLKeyboard: scancode: 51, sym: 92, unicode: 92, modifier: 0
20:21:08 T:3022288768 M:2553225216 DEBUG: OnKey: 61676 pressed, action is ToggleFullScreen
20:21:08 T:3022288768 M:2553249792 ERROR: GLX: Same window as before, refreshing context
20:21:08 T:3022288768 M:2553249792 INFO: GL: Maximum texture width: 8192
20:21:12 T:3022288768 M:2552250368 DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 0
20:21:12 T:3022288768 M:2552250368 DEBUG: OnKey: 61453 pressed, action is Select
20:21:12 T:3022288768 M:2552250368 DEBUG: ------ Window Deinit (DialogOK.xml) ------
20:21:12 T:2854218608 M:2552758272 DEBUG: thread start, auto delete: 0
20:21:12 T:2928175984 M:2552758272 DEBUG: thread start, auto delete: 1
20:21:12 T:2854218608 M:2552758272 DEBUG: Thread 2854218608 terminating
20:21:13 T:3022288768 M:2552860672 DEBUG: SDLKeyboard: scancode: 51, sym: 92, unicode: 92, modifier: 0
20:21:13 T:3022288768 M:2552860672 DEBUG: OnKey: 61676 pressed, action is ToggleFullScreen
20:21:13 T:3022288768 M:2552877056 ERROR: GLX: Same window as before, refreshing context
20:21:13 T:3022288768 M:2552877056 INFO: GL: Maximum texture width: 8192
20:21:22 T:2919783280 M:2557345792 NOTICE: 'TRAKT: Resetting last update timestamp'
ââ[ 01/05/11 07:09:36 PM ][ ~/.xbmc/temp ]
Thank you for any help!
- HenrikDK - 2011-01-06 11:08
colbert Wrote:I can login sucessfully, load Show Information, browse the listings, etc. just fine but trying to watch a video goes back out to the menu and I see: http://i.imgur.com/64lzA.jpg
Here is log output:
Code:
20:20:59 T:3022288768 M:2556256256 DEBUG: StartScript - calling plugin Vimeo('plugin://plugin.video.vimeo/','0','?path=/root/explore/staffpicks&action=play_video&videoid=18046748')
20:20:59 T:3022288768 M:2556256256 INFO: initializing python engine.
20:20:59 T:3022288768 M:2556256256 DEBUG: new python thread created. id=32
20:20:59 T:3022288768 M:2556256256 DEBUG: WaitOnScriptResult - waiting on the Vimeo plugin...
20:20:59 T:2928175984 M:2556256256 DEBUG: thread start, auto delete: 0
20:20:59 T:2928175984 M:2556256256 DEBUG: Python thread: start processing
20:20:59 T:2928175984 M:2556256256 NOTICE: -->Python Interpreter Initialized<--
20:20:59 T:2928175984 M:2556256256 DEBUG: Process - The source file to load is /home/bobby/.xbmc/addons/plugin.video.vimeo/default.py
20:20:59 T:2928175984 M:2556256256 DEBUG: Process - Setting the Python path to /home/bobby/.xbmc/addons/plugin.video.vimeo:/home/bobby/.xbmc/addons/script.module.simplejson/lib:/home/bobby/.xbmc/addons/script.module.beautifulsoup/lib:/usr/lib/xbmc/addons/script.module.pil/lib:/home/bobby/.xbmc/addons/script.module.elementtree/lib:/usr/lib/xbmc/addons/script.module.pysqlite/lib:/usr/lib/xbmc/system/python/python24.zip:/usr/share/xbmc/system/python/lib/python24.zip:/usr/share/xbmc/system/python/lib/python2.4/:/usr/share/xbmc/system/python/lib/python2.4/plat-linux2:/usr/share/xbmc/system/python/lib/python2.4/lib-tk:/usr/share/xbmc/system/python/lib/python2.4/lib-dynload
20:20:59 T:2928175984 M:2556256256 DEBUG: Process - Entering source directory /home/bobby/.xbmc/addons/plugin.video.vimeo
20:20:59 T:2928175984 M:2556256256 NOTICE: Vimeo-1.0.0 ARGV: ['plugin://plugin.video.vimeo/', '0', '?path=/root/explore/staffpicks&action=play_video&videoid=18046748']
20:21:00 T:2928175984 M:2556534784 NOTICE: Vimeo-1.0.0 __init__
20:21:00 T:2928175984 M:2556366848 NOTICE: Vimeo-1.0.0 construct_video_url : '18046748'
20:21:00 T:2928175984 M:2556366848 NOTICE: Vimeo-1.0.0 _get_details: '18046748'
20:21:00 T:2928175984 M:2556366848 INFO: -->Python script returned the following error<--
20:21:00 T:2928175984 M:2556366848 ERROR: Error Type: urllib2.HTTPError
20:21:00 T:2928175984 M:2556366848 ERROR: Error Contents: HTTP Error 500: Internal Server Error
20:21:00 T:2928175984 M:2556366848 ERROR: Traceback (most recent call last):
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/default.py", line 35, in ?
navigator.executeAction(params)
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 135, in executeAction
self.playVideo(params)
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 307, in playVideo
(video, status) = core.construct_video_url(get('videoid'));
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 342, in construct_video_url
video = self._get_details(videoid)
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 505, in _get_details
con = urllib2.urlopen(url);
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 364, in open
response = meth(req, response)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 471, in http_response
response = self.parent.error(
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 402, in error
return self._call_chain(*args)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 337, in _call_chain
result = func(*args)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 480, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
20:21:00 T:2928175984 M:2556366848 INFO: -->End of Python script error report<--
20:21:00 T:2928175984 M:2556366848 INFO: Python script stopped
20:21:00 T:2928175984 M:2556366848 DEBUG: Thread 2928175984 terminating
20:21:00 T:3022288768 M:2556366848 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
20:21:00 T:3022288768 M:2556366848 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.vimeo/?path=/root/explore/staffpicks&action=play_video&videoid=18046748]
20:21:00 T:3022288768 M:2556366848 DEBUG: Playlist Player: one or more items failed to play... aborting playback
20:21:00 T:3022288768 M:2556366848 INFO: Loading skin file: DialogOK.xml
20:21:00 T:3022288768 M:2556366848 DEBUG: ------ Window Init (DialogOK.xml) ------
20:21:00 T:3022288768 M:2556366848 DEBUG: python thread 32 destructed
20:21:00 T:3022288768 M:2556366848 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
20:21:03 T:3022288768 M:2555133952 DEBUG: SDLKeyboard: scancode: 51, sym: 92, unicode: 92, modifier: 0
20:21:03 T:3022288768 M:2555133952 DEBUG: OnKey: 61676 pressed, action is ToggleFullScreen
20:21:03 T:3022288768 M:2555133952 ERROR: GLX: Same window as before, refreshing context
20:21:03 T:3022288768 M:2555133952 INFO: GL: Maximum texture width: 8192
20:21:05 T:3022288768 M:2552725504 DEBUG: SDLKeyboard: scancode: 51, sym: 92, unicode: 92, modifier: 0
20:21:05 T:3022288768 M:2552725504 DEBUG: OnKey: 61676 pressed, action is ToggleFullScreen
20:21:05 T:3022288768 M:2552594432 ERROR: GLX: Same window as before, refreshing context
20:21:05 T:3022288768 M:2552594432 INFO: GL: Maximum texture width: 8192
20:21:06 T:3022288768 M:2552852480 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
20:21:07 T:2919783280 M:2552987648 NOTICE: 'TRAKT: Resetting last update timestamp'
20:21:08 T:3022288768 M:2553225216 DEBUG: SDLKeyboard: scancode: 51, sym: 92, unicode: 92, modifier: 0
20:21:08 T:3022288768 M:2553225216 DEBUG: OnKey: 61676 pressed, action is ToggleFullScreen
20:21:08 T:3022288768 M:2553249792 ERROR: GLX: Same window as before, refreshing context
20:21:08 T:3022288768 M:2553249792 INFO: GL: Maximum texture width: 8192
20:21:12 T:3022288768 M:2552250368 DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 0
20:21:12 T:3022288768 M:2552250368 DEBUG: OnKey: 61453 pressed, action is Select
20:21:12 T:3022288768 M:2552250368 DEBUG: ------ Window Deinit (DialogOK.xml) ------
20:21:12 T:2854218608 M:2552758272 DEBUG: thread start, auto delete: 0
20:21:12 T:2928175984 M:2552758272 DEBUG: thread start, auto delete: 1
20:21:12 T:2854218608 M:2552758272 DEBUG: Thread 2854218608 terminating
20:21:13 T:3022288768 M:2552860672 DEBUG: SDLKeyboard: scancode: 51, sym: 92, unicode: 92, modifier: 0
20:21:13 T:3022288768 M:2552860672 DEBUG: OnKey: 61676 pressed, action is ToggleFullScreen
20:21:13 T:3022288768 M:2552877056 ERROR: GLX: Same window as before, refreshing context
20:21:13 T:3022288768 M:2552877056 INFO: GL: Maximum texture width: 8192
20:21:22 T:2919783280 M:2557345792 NOTICE: 'TRAKT: Resetting last update timestamp'
ââ[ 01/05/11 07:09:36 PM ][ ~/.xbmc/temp ]
Thank you for any help!
Hmm seems that vimeo changed their backend systems AGAIN and one of the urls we use to resolve video details is broken. I Will look into fixing this tonight.
- kricker - 2011-01-06 17:24
Login does work great now though I could finally see my videos and subscriptions, etc.
- HenrikDK - 2011-01-06 21:08
So I discovered this was an issue with vimeo's embedding server and alot of people had issues with this:
http://vimeo.com/forums/topic:32796
But it seems to be back up now, and playback is indeed working for me again. I'm still arguing with myself if theres any point in creating a workaround for this issue. Since there doesn't seem to be another "clean" way to get this information, scraping the video homepage would be the only way to go and it seems rather messy. Anyway I will probably look into this but I'm putting the issue on the back burner for now.
- kricker - 2011-01-06 22:02
Since the playback issue looks fixed on Vimeo's side are you pushing this beta to the repo?
- HenrikDK - 2011-01-06 22:05
kricker Wrote:Since the playback issue looks fixed on Vimeo's side are you pushing this beta to the repo?
Pushing changes to the release branch as I'm write this
- colbert - 2011-01-07 00:41
Yes I can confirm that video playback now works as well!
|