mglukhovsky / drafter

Drafter builds Gmail drafts for you programmatically.
MIT License
4 stars 0 forks source link

Error "too many values to unpack" after running xoauth.py #2

Open qupro opened 7 years ago

qupro commented 7 years ago

After running python xoauth.py --generate_oauth_token --user=xxxx@gmail.com with my corresponding gmail account I get this error:

Traceback (most recent call last):
  File "xoauth.py", line 482, in <module>
    main(sys.argv)
  File "xoauth.py", line 472, in main
    google_accounts_url_generator)
  File "xoauth.py", line 278, in GenerateRequestToken
    response_params = ParseUrlParamString(response)
  File "xoauth.py", line 213, in ParseUrlParamString
    k, v = kv.split('=')
ValueError: too many values to unpack
mglukhovsky commented 7 years ago

Google may have deprecated this authentication method. I'll take a look this weekend to see what I can do. 👍