duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] error accessing googledocs


From: Norman Goldstein
Subject: Re: [Duplicity-talk] error accessing googledocs
Date: Wed, 20 Apr 2016 17:34:50 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1

Using 7.7 fixed the problem ... thanks.

My distribution just seems never to catch up with duplicity :-)


On 20/04/16 05:14 PM, Norman Goldstein wrote:
Here is the problem:

From line 36 of pydrivebackend.py

       from oauth2client.client import SignedJwtAssertionCredentials

SignedJwtAssertionCredentials has been removed from oauth2client .

I will try the newer version of duplicity, as suggested ...


On 20/04/16 02:37 PM, Norman Goldstein wrote:
I installed duplicity 0.7.06 through the repo.
However, I installed PyDrive using pip, directly.

At the python prompt,

>>> import pydrive

does not complain, so duplicity should be finding the PyDrive package.
Unfortunately, the error can refer to any problem in the setting up of
the credentials.

Any suggestion how I can check that my google authorization is
correctly set up?


On 20/04/16 01:50 PM, Kenneth Loafman wrote:
When you installed 0.7.06, did you first remove the repo version?  The tarball and the repo versions quite often install in conflicting places.

Duplicity 0.7.07.1 has been released.  You might want to install this to get the latest.


On Wed, Apr 20, 2016 at 2:54 PM, Norman Goldstein <address@hidden> wrote:
I'm sorry for bringing this up, again (I thought I had it all worked out).
In a nutshell, I get this error running duplicity:

BackendException:
   PyDrive backend requires PyDrive installation
   Please read the manpage to fix.

Here are is the result of "pip list" on Fedora 23 x86-64.
I assume these versions are sufficiently up-to-date?
No patches are needed? (like pydrivebackend.patch ?)

boto (2.39.0)
chardet (2.2.1)
dropbox (2.2.0)
duplicity (0.7.6)
ecdsa (0.11)
GnuPGInterface (0.3.2)
google-api-python-client (1.5.0)
httplib2 (0.9.2)
lockfile (0.10.2)
oauth2client (2.0.2)
paramiko (1.15.2)
pip (7.1.0)
pyasn1 (0.1.8)
pyasn1-modules (0.0.8)
pycrypto (2.6.1)
PyDrive (1.0.1)
pygobject (3.18.2)
PyYAML (3.11)
requests (2.9.1)
rsa (3.4.1)
setuptools (18.0.1)
simplejson (3.8.2)
six (1.9.0)
uritemplate (0.6)
urllib3 (1.13.1)

Thanks ... and here is a fuller trace of the error:

... [ lots of successful imports including gdocs ]
Import of duplicity.backends.webdavbackend Succeeded
Using temporary directory /tmp/duplicity-goUCAl-tempdir
Backend error detail: Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1532, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1526, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1364, in main
    action = "">   File "/usr/lib64/python2.7/site-packages/duplicity/commandline.py", line 1116, in ProcessCommandLine
    backup, local_pathname = set_backend(args[0], args[1])
  File "/usr/lib64/python2.7/site-packages/duplicity/commandline.py", line 1005, 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 41, in __init__
    raise BackendException('PyDrive backend requires PyDrive installation'
BackendException: PyDrive backend requires PyDrive installationPlease read the manpage to fix.




_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk



_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk



_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk



_______________________________________________
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]