[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-talk] Dropbox backend: error on backup
From: |
Richard McGraw |
Subject: |
[Duplicity-talk] Dropbox backend: error on backup |
Date: |
Sat, 5 Nov 2016 19:44:38 +0100 |
Hello,
I created an App folder access token.
collection-status succeeds, but backups fail:
Here is a Python traceback:
Writing duplicity-full.20161105T142636Z.vol1.difftar.gpg
Exception [expected request_binary as binary type, got <type 'file'>]:
| Traceback (most recent call last):
| File
"/usr/lib/python2.7/dist-packages/duplicity/backends/dpbxbackend.py",
line 76, in wrapper | return f(self, *args) | File
"/usr/lib/python2.7/dist-packages/duplicity/backends/dpbxbackend.py",
line 186, in _put | res_metadata = self.put_file_small(source_path,
remote_path) | File
"/usr/lib/python2.7/dist-packages/duplicity/backends/dpbxbackend.py",
line 207, in put_file_small | mute=True) | File
"/usr/local/lib/python2.7/dist-packages/dropbox/base.py", line 1225, in
files_upload | f, | File
"/usr/local/lib/python2.7/dist-packages/dropbox/dropbox.py", line 249,
in request | timeout=timeout) | File
"/usr/local/lib/python2.7/dist-packages/dropbox/dropbox.py", line 341,
in request_json_string_with_retry | timeout=timeout) | File
"/usr/local/lib/python2.7/dist-packages/dropbox/dropbox.py", line 385,
in request_json_string | type(request_binary)) | TypeError:
expected request_binary as binary type, got <type 'file'> dpbx code
error "expected request_binary as binary type, got <type 'file'>"
Attempt 4 failed. TypeError: expected request_binary as binary type,
got <type 'file'> Writing
duplicity-full.20161105T142636Z.vol1.difftar.gpg Exception [expected
request_binary as binary type, got <type 'file'>]: | Traceback (most
recent call last): | File
"/usr/lib/python2.7/dist-packages/duplicity/backends/dpbxbackend.py",
line 76, in wrapper | return f(self, *args) | File
"/usr/lib/python2.7/dist-packages/duplicity/backends/dpbxbackend.py",
line 186, in _put | res_metadata = self.put_file_small(source_path,
remote_path) | File
"/usr/lib/python2.7/dist-packages/duplicity/backends/dpbxbackend.py",
line 207, in put_file_small | mute=True) | File
"/usr/local/lib/python2.7/dist-packages/dropbox/base.py", line 1225, in
files_upload | f, | File
"/usr/local/lib/python2.7/dist-packages/dropbox/dropbox.py", line 249,
in request | timeout=timeout) | File
"/usr/local/lib/python2.7/dist-packages/dropbox/dropbox.py", line 341,
in request_json_string_with_retry | timeout=timeout) | File
"/usr/local/lib/python2.7/dist-packages/dropbox/dropbox.py", line 385,
in request_json_string | type(request_binary)) | TypeError:
expected request_binary as binary type, got <type 'file'> dpbx code
error "expected request_binary as binary type, got <type 'file'>"
Giving up after 5 attempts. TypeError: expected request_binary as
binary type, got <type 'file'>
Versions:
---------
Python 2.7.12
duplicity 0.7.10
dropbox package: 7.1.1
urrlib3: 1.19
Ubuntu 16.04
- [Duplicity-talk] Dropbox backend: error on backup,
Richard McGraw <=