duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] KeyError: '_module' with gdocs


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] KeyError: '_module' with gdocs
Date: Thu, 14 Sep 2017 09:31:58 -0500

It looks like you do not have GOOGLE_CREDENTIALS_FILE set.  Set it to the location of the filename you got from Google and it should work.

...Ken


On Wed, Sep 13, 2017 at 10:47 AM, Norman Goldstein via Duplicity-talk <address@hidden> wrote:
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 = "">(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 mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk


reply via email to

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