duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] GoogleDrive no longer available via gdocs (AuthForI


From: edgar . soldin
Subject: Re: [Duplicity-talk] GoogleDrive no longer available via gdocs (AuthForInstalledApps)
Date: Mon, 01 Jun 2015 10:45:41 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Carlos,

just a heads up. just yesterday Ken committed the following changes.

- enabling Gdocs access via pydrive://
- making gdocs:// an alias for pydrive://
- keeping the old backend as gdata+gdocs://

if you want to spend some time on gdata w/ OAuth, this seems to be an example 
on how to use it
 
http://stackoverflow.com/questions/16026286/using-oauth2-with-service-account-on-gdata-in-python

..ede

On 01.06.2015 10:15, Carlos Abalde wrote:
> Hi,
> 
> Sorry for this late answer. At the moment I'm on vacations with almost no 
> access to the Internet. I'll be back in a couple of days. However a move to a 
> new house and a ton of pending work are kindly waiting for me. I'm not using 
> the Duplicity Google Drive storage anymore, that's why I didn't notice this. 
> 
> If nobody else is able to look into this I'll do that in a couple of weeks. 
> Personally I think the plugin should be rewritten from scratch. It was 
> created a few days after my first 'Hello World' in Python. Anyway, I'll try 
> to look into this asap. Thanks for your patience :)
> 
> Best,
> __
> Carlos Abalde
> 
> P.S.: Message sent from my smartphone. Please, excuse my brevity.
> 
> On 27/5/2015, at 17:14, Kostas Papadopoulos <address@hidden 
> <mailto:address@hidden>> wrote:
> 
>> Just a quick heads-up that Google Drive isn't available via the gdocs API 
>> (AuthForInstalledApps) any more ...
>>
>> A few weeks ago I had to tweak my Google account's setting "access for less 
>> secure apps" but since today it won't login at all, with a 404 error:
>>
>>     --- Start running command STATUS at 15:03:46.662 ---
>>     Traceback (most recent call last):
>>       File "/usr/local/bin/duplicity", line 1523, in <module>
>>         with_tempdir(main)
>>       File "/usr/local/bin/duplicity", line 1517, in with_tempdir
>>         fn()
>>       File "/usr/local/bin/duplicity", line 1355, in main
>>         action = commandline.ProcessCommandLine(sys.argv[1:])
>>       File 
>> "/usr/local/lib/python2.7/dist-packages/duplicity/commandline.py", line 
>> 1093, in ProcessCommandLine
>>         globals.backend = backend.get_backend(args[0])
>>       File "/usr/local/lib/python2.7/dist-packages/duplicity/backend.py", 
>> line 223, in get_backend
>>         obj = get_backend_object(url_string)
>>       File "/usr/local/lib/python2.7/dist-packages/duplicity/backend.py", 
>> line 209, in get_backend_object
>>         return factory(pu)
>>       File 
>> "/usr/local/lib/python2.7/dist-packages/duplicity/backends/gdocsbackend.py", 
>> line 54, in __init__
>>         self._authorize(parsed_url.username + '@' + parsed_url.hostname, 
>> self.get_password())
>>       File 
>> "/usr/local/lib/python2.7/dist-packages/duplicity/backends/gdocsbackend.py", 
>> line 134, in _authorize
>>         captcha_response=captcha_response)
>>       File "/usr/lib/python2.7/dist-packages/gdata/client.py", line 441, in 
>> client_login
>>         captcha_token=captcha_token, captcha_response=captcha_response)
>>       File "/usr/lib/python2.7/dist-packages/gdata/client.py", line 373, in 
>> request_client_login_token
>>         response, ClientLoginFailed, response_body)
>>     ClientLoginFailed: Server responded to ClientLogin request: 404, 
>> https://developers.google.com/accounts/docs/AuthForInstalledApps
>>
>>
>>     15:03:47.956 Task 'STATUS' failed with exit code '30'.
>>     --- Finished state FAILED 'code 30' at 15:03:47.956 - Runtime 
>> 00:00:01.293 ---
>>
>> Apparently it isn't a temporary glitch.
>>
>>
>> Best regards,
>> KP
>>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]