2011-03-01, 20:23
Thanks, that's very kind of you to go to that much effort. I think I've still got an X86_64 Arch install on my laptops try-before-you-buy partition so I can have a go with that later if it's still there.
vaca Wrote:I have the same problem as Velophile. And also for archlinux x86_64.
Velophile Wrote:Thanks, that's very kind of you to go to that much effort. I think I've still got an X86_64 Arch install on my laptops try-before-you-buy partition so I can have a go with that later if it's still there.
fschnack Wrote:Hello!
The language files must be in a specific format to work? I ask because I'm trying to translate this plugin to brazilian Portuguese but the file fails to load. XBMC log states that the end tag is missing, but it's there.
Here is my file: http://dl.dropbox.com/u/22768127/vimeo-p...brazil.zip
TobiasTheCommie Wrote:I had the same problem on my arch 64bit, at least until i set the time correctly.
The clock in my 64bit was one hour off, after correcting that i could login.
Vimeo plugin uses Oauth2 which uses the system clock to ensure safe and secure communication with Vimeo. Please update your time with ntpd/ntpdate and verify it is correct.
If it still fails please try setting your computer to CET and try again. If that still fails try setting the CMOS time to UTC.
Please use this release http://www.2shared.com/file/hIFiumWe/plu...vimeo.html for testing, it gives us a little more debugging.
Velophile Wrote:Thanks! intalling the ntpd and running it sorted the problem out. I hadn't noticed the time had drifted as it was only by seconds or minutes but that must have been enough to stop the plugin working.
fschnack Wrote:Hello!
I've updated the file as you said and now it works. I've updated the zip file as well. It would be possible to have it added to the plugin official distribution?
TobiasTheCommie Wrote:I had the same problem on my arch 64bit, at least until i set the time correctly.
The clock in my 64bit was one hour off, after correcting that i could login.
Vimeo plugin uses Oauth2 which uses the system clock to ensure safe and secure communication with Vimeo. Please update your time with ntpd/ntpdate and verify it is correct.
If it still fails please try setting your computer to CET and try again. If that still fails try setting the CMOS time to UTC.
Please use this release http://www.2shared.com/file/hIFiumWe/plu...vimeo.html for testing, it gives us a little more debugging.
10:31:05 T:140222562039552 M:1858146304 INFO: -->Python script returned the following error<--
10:31:05 T:140222562039552 M:1858146304 ERROR: Error Type: exceptions.AttributeError
10:31:05 T:140222562039552 M:1858146304 ERROR: Error Contents: 'NoneType' object has no attribute 'contents'
10:31:05 T:140222562039552 M:1858146304 ERROR: Traceback (most recent call last):
File "/home/xxxx/.xbmc/addons/plugin.video.vimeo/default.py", line 37, in ?
navigator.listMenu(params)
File "/home/xxxx/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 85, in listMenu
self.listUserFolder(params)
File "/home/xxxx/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 189, in listUserFolder
(result, status) = core.getUserData(params)
File "/home/xxxx/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 463, in getUserData
result = self._get_list('group', result)
File "/home/xxxx/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 572, in _get_list
group["thumbnail"] = item.logo_url.contents[0]
AttributeError: 'NoneType' object has no attribute 'contents'
10:31:05 T:140222562039552 M:1858146304 INFO: -->End of Python script error report<--
TravellingGuy Wrote:Hi Henrik.
I'm having a problem with the Vimeo plugin. When I select "My Groups", or I try to view the Groups of one of My Contacts, the plugin fails. Here is the error shown in the xbmc.log:
Code:10:31:05 T:140222562039552 M:1858146304 INFO: -->Python script returned the following error<--
10:31:05 T:140222562039552 M:1858146304 ERROR: Error Type: exceptions.AttributeError
10:31:05 T:140222562039552 M:1858146304 ERROR: Error Contents: 'NoneType' object has no attribute 'contents'
10:31:05 T:140222562039552 M:1858146304 ERROR: Traceback (most recent call last):
File "/home/xxxx/.xbmc/addons/plugin.video.vimeo/default.py", line 37, in ?
navigator.listMenu(params)
File "/home/xxxx/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 85, in listMenu
self.listUserFolder(params)
File "/home/xxxx/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 189, in listUserFolder
(result, status) = core.getUserData(params)
File "/home/xxxx/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 463, in getUserData
result = self._get_list('group', result)
File "/home/xxxx/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 572, in _get_list
group["thumbnail"] = item.logo_url.contents[0]
AttributeError: 'NoneType' object has no attribute 'contents'
10:31:05 T:140222562039552 M:1858146304 INFO: -->End of Python script error report<--
I should point out that I'm running OpdenKamp's most recent Ubuntu packages (i.e. the XBMC main PVR development repository), so I'm post Dharma. I don't think that this is the cause (the rest of Vimeo plugin works, and all other plugins work), but wanted to point that out, just in case....
Thanks
HenrikDK Wrote:Hi, thanks for the feed back, even though the error is pretty apparent (we assume there's always gonna be a logo for a group) is there any chance i could get a full log with the plugins debug mode enabled? or alternatively name of the group that it's failing on (your vimeo nick/ userid would also do ).
/Henrik DK
neo2154 Wrote:The XBMC distro is Ubuntu Live Dharma 10.1., with Aeon MQ2 skin (but the error persist also with confluence skin) and the hardware a Zotac ZBOX ION 2
First: Related with the playback of only certain Vimeo Videos ...
The error report is (debug flag set to true):
21:35:06 T:2538601328 M:1524862976 NOTICE: -->Python Interpreter Initialized<--
21:35:06 T:2538601328 M:1524862976 NOTICE: Vimeo-1.0.2
21:35:11 T:2538601328 M:1524858880 ERROR: Error Type: exceptions.AttributeError
21:35:11 T:2538601328 M:1524858880 ERROR: Error Contents: 'NoneType' object has no attribute 'contents'
21:35:11 T:2538601328 M:1524858880 ERROR: Traceback (most recent call last):
File "/home/dd/.xbmc/addons/plugin.video.vimeo/default.py", line 35, in ?
navigator.executeAction(params)
File "/home/dd/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 135, in executeAction
self.playVideo(params)
File "/home/dd/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 307, in playVideo
(video, status) = core.construct_video_url(get('videoid'));
File "/home/dd/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 351, in construct_video_url
video = self._get_details(videoid)
File "/home/dd/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 523, in _get_details
video['videoid'] = soup.embed_settings.clip_id.contents[0]
AttributeError: 'NoneType' object has no attribute 'contents'
21:35:11 T:3055388544 M:1524858880 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.vimeo/?path=/root/search&action=play_video&videoid=5606758]
The video id is 5606758 (an incredible HD 720p video of the most large aquarium in the world ).
There are other videos which are reporting the same error, but know i cant remember... if you need more videos please tell me...
video['videoid'] = soup.embed_settings.clip_id.contents[0]
with:
video['videoid'] = videoid
neo2154 Wrote:Second: When i try to login (the xbmc screen displays "login uncaught error" ) and the error report is (debug flag set to true):This one is a bit worse, it seems that among their recent pages they also broke the code we have for authenticating the plugin. This is messy code so it will be a while before i can sort out a fix.
21:55:08 T:2983058288 M:1866383360 WARNING: Create - Unsupported protocol(script) in script://
21:55:12 T:2886728560 M:1866928128 WARNING: Previous line repeats 1 times.
21:55:12 T:2886728560 M:1866928128 NOTICE: -->Python Interpreter Initialized<--
21:55:12 T:2886728560 M:1866928128 NOTICE: Vimeo-1.0.2 ARGV: ['plugin://plugin.video.vimeo/', '0', '']
21:55:16 T:2886728560 M:1866309632 NOTICE: Vimeo-1.0.2 __init__
21:55:16 T:2886728560 M:1866309632 NOTICE: Vimeo-1.0.2 view mode: 2
21:55:18 T:2886728560 M:1866948608 NOTICE: -->Python Interpreter Initialized<--
21:55:18 T:2886728560 M:1866948608 NOTICE: Vimeo-1.0.2 ARGV: ['plugin://plugin.video.vimeo/', '0', '?path=/root/login&action=settings&']
21:55:21 T:2886728560 M:1866948608 NOTICE: Vimeo-1.0.2 __init__
21:55:26 T:2886728560 M:1866059776 NOTICE: Vimeo-1.0.2 login_get_verifier - auth_url: http://vimeo.com/oauth/authorize?oauth_t...sion=write
21:55:30 T:2886728560 M:1866067968 NOTICE: Cookie jar contents: <_LWPCookieJar.LWPCookieJar[Cookie(version=0, name='cached_email', value='xxxxx@xxxx.com', port=None, port_specified=False, domain='.vimeo.com', domain_specified=True, domain_initial_dot=True, path='/', path_specified=True, secure=False, expires=None, discard=False, comment=None, comment_url=None, rest={}), Cookie(version=0, name='uid', value='6798055%7Cuser6798055%7C1303173722%7C0', port=None, port_specified=False, domain='.vimeo.com', domain_specified=True, domain_initial_dot=True, path='/', path_specified=True, secure=False, expires=1618862129, discard=False, comment=None, comment_url=None, rest={}), Cookie(version=0, name='vimeo', value='g5a5560t6500hiufd88anblol5', port=None, port_specified=False, domain='.vimeo.com', domain_specified=True, domain_initial_dot=True, path='/', path_specified=True, secure=False, expires=1306094127, discard=False, comment=None, comment_url=None, rest={})]>
21:55:30 T:2886728560 M:1866067968 NOTICE: Vimeo-1.0.2 setting userid: '6798055'
21:55:32 T:2886728560 M:1866067968 NOTICE: Vimeo-1.0.2 login_get_verifier no oauth_token:
21:55:32 T:2937060208 M:1866194944 NOTICE: -->Python Interpreter Initialized<--
21:55:32 T:2937060208 M:1866194944 NOTICE: Vimeo-1.0.2 ARGV: ['plugin://plugin.video.vimeo/', '1', '']
21:55:35 T:2937060208 M:1865187328 NOTICE: Vimeo-1.0.2 __init__
21:55:35 T:2937060208 M:1865187328 NOTICE: Vimeo-1.0.2 view mode: 2
21:55:35 T:3079481216 M:1865314304 ERROR: GetDirectory - Error getting plugin://plugin.video.vimeo/?path=/root/login&action=settings&
21:55:35 T:3079481216 M:1865314304 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.vimeo/?path=/root/login&action=settings&) failed
I have been watching the logs looking for a solution, and i have synced my local time with ntpdate, but i am not a skilled python interpreter and i have not solved this error with ntp setup ... anyway if you need some help tell me and i will try to help you...
HenrikDK Wrote:This one is a bit worse, it seems that among their recent pages they also broke the code we have for authenticating the plugin. This is messy code so it will be a while before i can sort out a fix.
For impatient users im suggesting applying the video playback fix manually since it will be a while before i can push a new version.