duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Issues with the Amazon Cloud Drive backend


From: Tero Toikkanen
Subject: Re: [Duplicity-talk] Issues with the Amazon Cloud Drive backend
Date: Sun, 25 Dec 2016 19:23:47 +0000

Hi,
Thanks for the download hint, as it didn't occur to me to verify the download 
(oops). I did find what seems like an input parsing error on the 
authentication, though. If you paste a leading whitespace where it says "URL of 
the resulting page:", it results in an error like this:

Traceback (most recent call last):
  File "/bin/duplicity", line 1546, in <module>
    with_tempdir(main)
  File "/bin/duplicity", line 1540, in with_tempdir
    fn()
  File "/bin/duplicity", line 1375, in main
    action = commandline.ProcessCommandLine(sys.argv[1:])
  File "/usr/lib64/python2.7/site-packages/duplicity/commandline.py", line 
1117, in ProcessCommandLine
    backup, local_pathname = set_backend(args[0], args[1])
  File "/usr/lib64/python2.7/site-packages/duplicity/commandline.py", line 
1006, in set_backend
    globals.backend = backend.get_backend(bend)
  File "/usr/lib64/python2.7/site-packages/duplicity/backend.py", line 223, in 
get_backend
    obj = get_backend_object(url_string)
  File "/usr/lib64/python2.7/site-packages/duplicity/backend.py", line 209, in 
get_backend_object
    return factory(pu)
  File "/usr/lib64/python2.7/site-packages/duplicity/backends/adbackend.py", 
line 88, in __init__
    self.initialize_oauth2_session()
  File "/usr/lib64/python2.7/site-packages/duplicity/backends/adbackend.py", 
line 155, in initialize_oauth2_session
    authorization_response=redirected_to)
  File "/usr/lib/python2.7/site-packages/requests_oauthlib/oauth2_session.py", 
line 134, in fetch_token
    state=self._state)
  File 
"/usr/lib/python2.7/site-packages/oauthlib/oauth2/rfc6749/clients/web_application.py",
 line 173, in parse_request_uri_response
    response = parse_authorization_code_response(uri, state=state)
  File 
"/usr/lib/python2.7/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 
161, in parse_authorization_code_response
    raise InsecureTransportError()
InsecureTransportError

(For some reason Firefox has a habit of adding one leading and trailing 
whitespace when you select a paragraph with a double click.)

So now I have a full backup running at vol10 of expected 242 and we'll see how 
it goes (this will take some time...).

-Tero



reply via email to

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