[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-talk] KeyError: '_module' with gdocs
From: |
Norman Goldstein |
Subject: |
[Duplicity-talk] KeyError: '_module' with gdocs |
Date: |
Wed, 13 Sep 2017 08:47:38 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
After installing Fedora 26 0x86 64-bit, am unable to get duplicity to
connect with gdocs (worked fine on Fedora 24).
Python 2.7.13
duplicity 0.7.13.1
pydrive 1.3.1
Have redone the google developer authorization procedure, but keep
getting the following traceback:
File "/usr/bin/duplicity", line 1540, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1534, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1372, in main
action = commandline.ProcessCommandLine(sys.argv[1:])
File "/usr/lib64/python2.7/site-packages/duplicity/commandline.py",
line 1140, in ProcessCommandLine
backup, local_pathname = set_backend(args[0], args[1])
File "/usr/lib64/python2.7/site-packages/duplicity/commandline.py",
line 1015, 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/pydrivebackend.py",
line 69, in __init__
gauth.CommandLineAuth()
File "/usr/lib/python2.7/site-packages/pydrive/auth.py", line 111, in
_decorated
self.LoadCredentials()
File "/usr/lib/python2.7/site-packages/pydrive/auth.py", line 289, in
LoadCredentials
self.LoadCredentialsFile()
File "/usr/lib/python2.7/site-packages/pydrive/auth.py", line 308, in
LoadCredentialsFile
self.credentials = storage.get()
File "/usr/lib/python2.7/site-packages/oauth2client/client.py", line
407, in get
return self.locked_get()
File "/usr/lib/python2.7/site-packages/oauth2client/file.py", line
54, in locked_get
credentials = client.Credentials.new_from_json(content)
File "/usr/lib/python2.7/site-packages/oauth2client/client.py", line
302, in new_from_json
module_name = data['_module']
KeyError: '_module'
The credentials file is the json file that I downloaded from the Google
site.
?? .... thanks.
- [Duplicity-talk] KeyError: '_module' with gdocs,
Norman Goldstein <=