I have not been able to log in since Youtube changed their commenting engine to use Google Plus commenting. Here is the error from the log. I've tracked that the two-factor authentication step-2 form has been changed, and the plugin is no longer able to submit the form, but I don't know how to fix it. Any suggestions?
By the way, I deleted the cookiejar file before attempting to login so that the debug log would have a clean slate to work with.
Code:
09:12:35 T:2823506752 NOTICE: [YouTube-4.4.6] authorize : 'token not refresh, or new uname or password'
09:12:35 T:2823506752 NOTICE: [YouTube-4.4.6] _httpLogin : ''
09:12:35 T:2823506752 NOTICE: [YouTube-4.4.6] _httpLogin : 'Step : 0'
09:12:35 T:2823506752 NOTICE: [YouTube-4.4.6] _fetchPage : 'called for : {'link': 'http://www.youtube.com/'}'
09:12:35 T:2823506752 NOTICE: [YouTube-4.4.6] _fetchPage : 'got default: http://www.youtube.com/'
09:12:35 T:2823506752 NOTICE: [YouTube-4.4.6] _fetchPage : 'connecting to server... http://www.youtube.com/'
09:12:36 T:3008689984 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-i486-linux.so)
09:12:36 T:3008689984 DEBUG: Unloading: ImageLib-i486-linux.so
09:12:36 T:2823506752 NOTICE: [YouTube-4.4.6] _fetchPage : 'done'
09:12:36 T:2823506752 NOTICE: [YouTube-4.4.6] _findErrors : ''
09:12:36 T:2823506752 NOTICE: [YouTube-4.4.6] _findErrors : '1'
09:12:36 T:2823506752 NOTICE: [YouTube-4.4.6] _findErrors : '2'
09:12:37 T:2823506752 NOTICE: [YouTube-4.4.6] _findErrors : '4'
09:12:37 T:2823506752 NOTICE: [YouTube-4.4.6] _httpLogin : 'Part A : {'referer': 'http://www.youtube.com/', 'link': u'https://accounts.google.com/ServiceLogin?passive=true&service=youtube&uilel=3&hl=en&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26feature%3Dsign_in_button%26hl%3Den%26next%3D%252F'}'
09:12:37 T:2823506752 NOTICE: [YouTube-4.4.6] _httpLogin : 'Step : 1'
09:12:37 T:2823506752 NOTICE: [YouTube-4.4.6] _fetchPage : 'called for : {'referer': 'http://www.youtube.com/', 'link': u'https://accounts.google.com/ServiceLogin?passive=true&service=youtube&uilel=3&hl=en&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26feature%3Dsign_in_button%26hl%3Den%26next%3D%252F'}'
09:12:37 T:2823506752 NOTICE: [YouTube-4.4.6] _fetchPage : 'got default: https://accounts.google.com/ServiceLogin?passive=true&service=youtube&uilel=3&hl=en&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26feature%3Dsign_in_button%26hl%3Den%26next%3D%252F'
09:12:37 T:2823506752 NOTICE: [YouTube-4.4.6] _fetchPage : 'Added referer: http://www.youtube.com/'
09:12:37 T:2823506752 NOTICE: [YouTube-4.4.6] _fetchPage : 'connecting to server... https://accounts.google.com/ServiceLogin?passive=true&service=youtube&uilel=3&hl=en&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26feature%3Dsign_in_button%26hl%3Den%26next%3D%252F'
09:12:39 T:2823506752 NOTICE: [YouTube-4.4.6] _fetchPage : 'done'
09:12:39 T:2823506752 NOTICE: [YouTube-4.4.6] _findErrors : ''
09:12:39 T:2823506752 NOTICE: [YouTube-4.4.6] _findErrors : '1'
09:12:39 T:2823506752 NOTICE: [YouTube-4.4.6] _findErrors : '2'
09:12:39 T:2823506752 NOTICE: [YouTube-4.4.6] _findErrors : '4'
09:12:39 T:2823506752 NOTICE: [YouTube-4.4.6] _fillLoginInfo : ''
09:12:39 T:2794453824 DEBUG: Thread Jobworker 2794453824 terminating (autodelete)
09:12:39 T:2831899456 DEBUG: Thread Jobworker 2831899456 terminating (autodelete)
09:12:40 T:2823506752 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'34_O0DqO8Ds', u'signIn': u'Sign in', u'continue': u'https://www.youtube.com/signin?action_handle_signin=true&app=desktop&feature=sign_in_button&hl=en&next=%2F', u'hl': u'en', u'checkedDomains': u'youtube', u'bgresponse': u'js_disabled', u'_utf8': u'☃', u'Email': u'', u'checkConnection': u''}'
09:12:40 T:2823506752 NOTICE: [YouTube-4.4.6] _fillLoginInfo : 'Done'
09:12:40 T:2823506752 NOTICE: [YouTube-4.4.6] _httpLogin : 'Part B'
09:12:40 T:2823506752 NOTICE: [YouTube-4.4.6] _httpLogin : 'Step : 2'
09:12:40 T:2823506752 NOTICE: [YouTube-4.4.6] _fetchPage : 'called for : {'referer': u'https://accounts.google.com/ServiceLogin?passive=true&service=youtube&uilel=3&hl=en&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26feature%3Dsign_in_button%26hl%3Den%26next%3D%252F', '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': '[~~~ PASSWORD MASKED ~~~]', u'GALX': u'34_O0DqO8Ds', u'signIn': u'Sign in', u'continue': u'https://www.youtube.com/signin?action_handle_signin=true&app=desktop&feature=sign_in_button&hl=en&next=%2F', u'hl': u'en', u'checkedDomains': u'youtube', u'bgresponse': u'js_disabled', u'_utf8': u'☃', u'Email': '[~~~ USERNAME MASKED ~~~]', u'checkConnection': u''}}'
09:12:40 T:2823506752 NOTICE: [YouTube-4.4.6] _fetchPage : 'Added referer: https://accounts.google.com/ServiceLogin?passive=true&service=youtube&uilel=3&hl=en&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26feature%3Dsign_in_button%26hl%3Den%26next%3D%252F'
09:12:40 T:2823506752 NOTICE: [YouTube-4.4.6] _fetchPage : 'connecting to server... https://accounts.google.com/ServiceLoginAuth'
09:12:41 T:2823506752 NOTICE: [YouTube-4.4.6] _fetchPage : 'done'
09:12:41 T:2823506752 NOTICE: [YouTube-4.4.6] _findErrors : ''
09:12:41 T:2823506752 NOTICE: [YouTube-4.4.6] _findErrors : '1'
09:12:41 T:2823506752 NOTICE: [YouTube-4.4.6] _findErrors : '2'
09:12:41 T:2823506752 NOTICE: [YouTube-4.4.6] _findErrors : '4'
09:12:41 T:2823506752 NOTICE: [YouTube-4.4.6] _fillUserPin : ''
09:12:41 T:2823506752 NOTICE: [YouTube-4.4.6] _fillUserPin : 'url_data: []'
09:12:41 T:3008689984 INFO: Loading skin file: DialogNumeric.xml, load type: KEEP_IN_MEMORY
09:12:41 T:3008689984 DEBUG: Load DialogNumeric.xml: 178.60ms
09:12:41 T:3008689984 DEBUG: Alloc resources: 260.06ms (178.98 ms skin load)
09:12:41 T:3008689984 DEBUG: ------ Window Init (DialogNumeric.xml) ------
09:12:41 T:3008689984 DEBUG: Window DialogNumeric.xml was already loaded
09:12:41 T:3008689984 DEBUG: Alloc resources: 0.01m
09:12:41 T:3008689984 DEBUG: CAnnouncementManager - Announcement: OnInputRequested from xbmc
09:12:41 T:3008689984 DEBUG: GOT ANNOUNCEMENT, type: 128, from xbmc, message OnInputRequested
09:12:45 T:2941377344 DEBUG: Suspended the Sink
09:12:53 T:2941377344 INFO: CAESinkALSA::Initialize - Attempting to open device "iec958:CARD=Intel,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00"
09:12:53 T:2941377344 INFO: CAESinkALSA::Initialize - Opened device "iec958:CARD=Intel,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00"
09:12:53 T:2941377344 DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 2048, bufferSize 8192
09:12:53 T:2941377344 DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 2048, bufferSize 8192
09:12:53 T:2941377344 DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 186 ms
09:12:53 T:2941377344 DEBUG: Resumed the Sink
09:13:04 T:3008689984 DEBUG: ------ Window Deinit (DialogNumeric.xml) ------
09:13:04 T:3008689984 DEBUG: CAnnouncementManager - Announcement: OnInputFinished from xbmc
09:13:04 T:3008689984 DEBUG: GOT ANNOUNCEMENT, type: 128, from xbmc, message OnInputFinished
09:13:04 T:2823506752 NOTICE: [YouTube-4.4.6] _fillUserPin : 'Done: {'smsUserPin': '716107'}'
09:13:04 T:2823506752 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "/home/atv/.xbmc/addons/plugin.video.youtube/default.py", line 120, in <module>
navigation.executeAction(params)
File "/home/atv/.xbmc/addons/plugin.video.youtube/YouTubeNavigation.py", line 122, in executeAction
self.login.login(params)
File "/home/atv/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 75, in login
result, status = self.authorize()
File "/home/atv/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 85, in authorize
(result, status) = self._httpLogin({"new": "true"})
File "/home/atv/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 239, in _httpLogin
fetch_options = {"link": new_part[0].replace("&", "&"), "url_data": url_data, "referer": ret["location"]}
IndexError: list index out of range
-->End of Python script error report<--
09:13:04 T:3008689984 DEBUG: ------ Window Init (DialogKaiToast.xml) ------