2014-03-20, 17:12
Hi!
I simply can't login.
I've tried various methods described here but none of them work properly!
After analyzing the xbmc.log file I got to this part that I think it's relevant:
I'm Portuguese and most Google pages are now in Portuguese when you're unauthenticated.
Is there any way to resolve this issue?
Thank you!
Below is the relevant part of the log file!
I simply can't login.
I've tried various methods described here but none of them work properly!
After analyzing the xbmc.log file I got to this part that I think it's relevant:
Code:
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeEncodeError'>
Error Contents: 'ascii' codec can't encode character u'\xe3' in position 12: ordinal not in range(128)
I'm Portuguese and most Google pages are now in Portuguese when you're unauthenticated.
Is there any way to resolve this issue?
Thank you!
Below is the relevant part of the log file!
Code:
19:30:51 T:140247987840768 NOTICE: [YouTube-4.4.6] getInfo : 'returning cache '
19:30:51 T:140247987840768 NOTICE: [YouTube-4.4.6] extractVideoLinksFromYoutube : 'trying website: {'action': 'play_video', 'path': '/root/video', 'videoid': 'B9lVnKiqyQk'}'
19:30:51 T:140247987840768 NOTICE: [YouTube-4.4.6] _fetchPage : 'called for : {'login': 'true', u'link': 'http://www.youtube.com/watch?v=B9lVnKiqyQk&safeSearch=none'}'
19:30:51 T:140247987840768 NOTICE: [YouTube-4.4.6] _fetchPage : 'got default: http://www.youtube.com/watch?v=B9lVnKiqyQk&safeSearch=none'
19:30:51 T:140247987840768 NOTICE: [YouTube-4.4.6] _fetchPage : 'got login'
19:30:51 T:140247987840768 NOTICE: [YouTube-4.4.6] _httpLogin : ''
19:30:51 T:140247987840768 NOTICE: [YouTube-4.4.6] _httpLogin : 'Step : 0'
19:30:51 T:140247987840768 NOTICE: [YouTube-4.4.6] _fetchPage : 'called for : {'link': 'http://www.youtube.com/'}'
19:30:51 T:140247987840768 NOTICE: [YouTube-4.4.6] _fetchPage : 'got default: http://www.youtube.com/'
19:30:51 T:140247987840768 NOTICE: [YouTube-4.4.6] _fetchPage : 'connecting to server... http://www.youtube.com/'
19:30:51 T:140247987840768 NOTICE: [YouTube-4.4.6] _fetchPage : 'done'
19:30:52 T:140247987840768 NOTICE: [YouTube-4.4.6] _findErrors : ''
19:30:52 T:140247987840768 NOTICE: [YouTube-4.4.6] _findErrors : '1'
19:30:52 T:140247987840768 NOTICE: [YouTube-4.4.6] _findErrors : '2'
19:30:52 T:140247987840768 NOTICE: [YouTube-4.4.6] _findErrors : '4'
19:30:53 T:140247987840768 NOTICE: [YouTube-4.4.6] _httpLogin : 'Part A : {'referer': 'http://www.youtube.com/', 'link': u'https://accounts.google.com/ServiceLogin?passive=true&hl=pt-PT&service=youtube&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26feature%3Dsign_in_button%26hl%3Dpt-PT%26next%3D%252F&uilel=3'}'
19:30:53 T:140247987840768 NOTICE: [YouTube-4.4.6] _httpLogin : 'Step : 1'
19:30:53 T:140247987840768 NOTICE: [YouTube-4.4.6] _fetchPage : 'called for : {'referer': 'http://www.youtube.com/', 'link': u'https://accounts.google.com/ServiceLogin?passive=true&hl=pt-PT&service=youtube&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26feature%3Dsign_in_button%26hl%3Dpt-PT%26next%3D%252F&uilel=3'}'
19:30:53 T:140247987840768 NOTICE: [YouTube-4.4.6] _fetchPage : 'got default: https://accounts.google.com/ServiceLogin?passive=true&hl=pt-PT&service=youtube&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26feature%3Dsign_in_button%26hl%3Dpt-PT%26next%3D%252F&uilel=3'
19:30:53 T:140247987840768 NOTICE: [YouTube-4.4.6] _fetchPage : 'Added referer: http://www.youtube.com/'
19:30:53 T:140247987840768 NOTICE: [YouTube-4.4.6] _fetchPage : 'connecting to server... https://accounts.google.com/ServiceLogin?passive=true&hl=pt-PT&service=youtube&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26feature%3Dsign_in_button%26hl%3Dpt-PT%26next%3D%252F&uilel=3'
19:30:54 T:140247987840768 NOTICE: [YouTube-4.4.6] _fetchPage : 'done'
19:30:54 T:140247987840768 NOTICE: [YouTube-4.4.6] _findErrors : ''
19:30:54 T:140247987840768 NOTICE: [YouTube-4.4.6] _findErrors : '1'
19:30:54 T:140247987840768 NOTICE: [YouTube-4.4.6] _findErrors : '2'
19:30:54 T:140247987840768 NOTICE: [YouTube-4.4.6] _findErrors : '4'
19:30:54 T:140247987840768 NOTICE: [YouTube-4.4.6] _fillLoginInfo : ''
19:30:54 T:140247987840768 NOTICE: [YouTube-4.4.6] _fillLoginInfo : 'Extracted url_data: {u'PersistentCookie': u'yes', u'rmShown': u'1', u'dnConn': u'', u'pstMsg': u'0', u'service': u'youtube', u'GALX': u'rLzKeMwQ37M', u'signIn': u'Iniciar sess\xe3o', u'continue': u'https://www.youtube.com/signin?action_handle_signin=true&app=desktop&feature=sign_in_button&hl=pt-PT&next=%2F', u'hl': u'pt-PT', u'checkedDomains': u'youtube', u'bgresponse': u'js_disabled', u'_utf8': u'☃', u'Email': u'', u'checkConnection': u''}'
19:30:54 T:140247987840768 NOTICE: [YouTube-4.4.6] _fillLoginInfo : 'Done'
19:30:54 T:140247987840768 NOTICE: [YouTube-4.4.6] _httpLogin : 'Part B'
19:30:54 T:140247987840768 NOTICE: [YouTube-4.4.6] _httpLogin : 'Step : 2'
19:30:54 T:140247987840768 NOTICE: [YouTube-4.4.6] _fetchPage : 'called for : {'referer': u'https://accounts.google.com/ServiceLogin?passive=true&hl=pt-PT&service=youtube&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26feature%3Dsign_in_button%26hl%3Dpt-PT%26next%3D%252F&uilel=3', 'hidden': 'true', 'link': u'https://accounts.google.com/ServiceLoginAuth', 'url_data': {u'PersistentCookie': u'yes', u'rmShown': u'1', u'dnConn': u'', u'pstMsg': u'0', u'service': u'youtube', 'Passwd': 'myPass', u'GALX': u'rLzKeMwQ37M', u'signIn': u'Iniciar sess\xe3o', u'continue': u'https://www.youtube.com/signin?action_handle_signin=true&app=desktop&feature=sign_in_button&hl=pt-PT&next=%2F', u'hl': u'pt-PT', u'checkedDomains': u'youtube', u'bgresponse': u'js_disabled', u'_utf8': u'☃', u'Email': '[email protected]', u'checkConnection': u''}}'
19:30:54 T:140247987840768 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeEncodeError'>
Error Contents: 'ascii' codec can't encode character u'\xe3' in position 12: ordinal not in range(128)
Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.video.youtube/default.py", line 120, in <module>
navigation.executeAction(params)
File "/storage/.xbmc/addons/plugin.video.youtube/YouTubeNavigation.py", line 143, in executeAction
self.player.playVideo(params)
File "/storage/.xbmc/addons/plugin.video.youtube/YouTubePlayer.py", line 80, in playVideo
(video, status) = self.buildVideoObject(params)
File "/storage/.xbmc/addons/plugin.video.youtube/YouTubePlayer.py", line 285, in buildVideoObject
(links, video) = self.extractVideoLinksFromYoutube(video, params)
File "/storage/.xbmc/addons/plugin.video.youtube/YouTubePlayer.py", line 418, in extractVideoLinksFromYoutube
result = self.getVideoPageFromYoutube(get)
File "/storage/.xbmc/addons/plugin.video.youtube/YouTubePlayer.py", line 401, in getVideoPageFromYoutube
page = self.core._fetchPage({u"link": self.urls[u"video_stream"] % get(u"videoid"), "login": login})
File "/storage/.xbmc/addons/plugin.video.youtube/YouTubeCore.py", line 447, in _fetchPage
self.login._httpLogin()
File "/storage/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 183, in _httpLogin
ret = self.core._fetchPage(fetch_options)
File "/storage/.xbmc/addons/plugin.video.youtube/YouTubeCore.py", line 400, in _fetchPage
request = urllib2.Request(link, urllib.urlencode(get("url_data")))
File "/home/stephan/projects/openelec-4.0/build.OpenELEC-Generic.x86_64-3.95.2/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib.py", line 1312, in urlencode
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe3' in position 12: ordinal not in range(128)
-->End of Python script error report<--
19:30:54 T:140247987840768 WARNING: CPythonInvoker(6, /storage/.xbmc/addons/plugin.video.youtube/default.py): the python script "/storage/.xbmc/addons/plugin.video.youtube/default.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE,N9XBMCAddon9xbmcaddon5AddonE
19:30:54 T:140249473599296 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/?path=/root/video&action=play_video&videoid=B9lVnKiqyQk]
19:30:54 T:140247987840768 NOTICE: Thread BackgroundLoader start, auto delete: false
19:31:24 T:140248054982400 NOTICE: Thread JobWorker start, auto delete: true