vitalyrodnenko / geeknote

Console client for Evernote.
2.11k stars 330 forks source link

Error during Two-factor Authentication #241

Open bleepster opened 10 years ago

bleepster commented 10 years ago

After specifying two-factor aurhetication code, I get the following error:

: Allow Access...Traceback (most recent call last): File "/usr/home/erl/venv/env_geeknote/lib/python2.7/site-packages/geeknote-0.2a-py2.7.egg/geeknote/geeknote.py", line 851, in main User().login(*_ARGS) File "/usr/home/erl/venv/env_geeknote/lib/python2.7/site-packages/geeknote-0.2a-py2.7.egg/geeknote/geeknote.py", line 34, in wrapper return func(_args, **kwargs) File "/usr/home/erl/venv/env_geeknote/lib/python2.7/site-packages/geeknote-0.2a-py2.7.egg/geeknote/geeknote.py", line 338, in login if self.getEvernote().auth(): File "/usr/home/erl/venv/env_geeknote/lib/python2.7/site-packages/geeknote-0.2a-py2.7.egg/geeknote/geeknote.py", line 141, in auth self.authToken = GNA.getToken() File "/usr/home/erl/venv/env_geeknote/lib/python2.7/site-packages/geeknote-0.2a-py2.7.egg/geeknote/oauth.py", line 133, in getToken self.allowAccess() File "/usr/home/erl/venv/env_geeknote/lib/python2.7/site-packages/geeknote-0.2a-py2.7.egg/geeknote/oauth.py", line 243, in allowAccess responseData = self.parseResponse(response.location) File "/usr/home/erl/venv/env_geeknote/lib/python2.7/site-packages/geeknote-0.2a-py2.7.egg/geeknote/oauth.py", line 124, in parseResponse return dict(item.split('=', 1) for item in data.split('?')[-1].split('&')) ValueError: dictionary update sequence element #0 has length 1; 2 is required

Kangou commented 9 years ago

Same error for me on debian with an up to date master branch

ebretteville commented 9 years ago

Same problem here.... LMDE and geeknote recently installed.

butchlebo commented 9 years ago

I had the same problem with new clone and install off master. Ended up removing 2FA from my account, and was surprised I was still prompted for the 2FA code. That was successful. Geeknote continued to work after a re-enabled 2FA.

azilber commented 9 years ago

Having the same identical issue with Deepin Linux (Ubuntu based): Distributor ID: Deepin Description: Deepin 2014.1 Release: 2014.1 Codename: trusty

andrew-ws commented 9 years ago

Same issue here with Ubuntu Utopic and a fresh install off master

topinet commented 9 years ago

Same issue in Ubuntu Trusty

mamikonyana commented 9 years ago

same issue here with fresh install from master on OS X Yosemite

collinpeters commented 9 years ago

Same issue - Ubuntu Trusty

fabrc commented 9 years ago

Same issue on UbuntuTrusty. Tweaked parseResponse method on oauth.py to print the contents of data and it showed "https://maintenance.evernote.com/maintenace.html"