TobiasTheCommie Wrote:Well. two factor login works for me.
Did you use your application specific password?
Yes, I even created a new one
I have tried to login with my google user and pass, then I'm asked for the pin, after entering the pin, I get this error after some seconds:
Code:
10:54:16 T:139917011187456 NOTICE: YouTube2.6.1 _fetchPage called for : {'link': 'https://accounts.google.com/o/oauth2/auth?client_id=208795275779.apps.googleusercontent.com&redirect_uri=urn:ietf:wg:oauth:2.0:oob&scope=http%3A%2F%2Fgdata.youtube.com&response_type=code', 'no-language-cookie': 'true'}
10:54:16 T:139917011187456 NOTICE: YouTube2.6.1 _fetchPage connecting to server...
10:54:18 T:139917011187456 NOTICE: YouTube2.6.1 _fetchPage done
10:54:18 T:139917011187456 ERROR: Error Type: <type 'exceptions.ValueError'>
10:54:18 T:139917011187456 ERROR: Error Contents: No JSON object could be decoded
10:54:18 T:139917011187456 ERROR: Traceback (most recent call last):
File "/home/carlos/.xbmc/addons/plugin.video.youtube/default.py", line 75, in <module>
__navigation__.executeAction(params)
File "/home/carlos/.xbmc/addons/plugin.video.youtube/YouTubeNavigation.py", line 125, in executeAction
self.__login__.login(params)
File "/home/carlos/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 74, in login
(result, status) = self._apiLogin()
File "/home/carlos/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 133, in _apiLogin
oauth = json.loads(ret["content"])
File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 360, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 378, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
10:54:18 T:139917654677440 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/?path=/root/login&action=settings&
10:54:18 T:139917654677440 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/?path=/root/login&action=settings&) failed