Backup to b2 fails on 0.7.15
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Duplicity installed on Arch Linux: backup to b2 fails on duplicity 0.7.15.
Backup to b2 works on 0.7.14.
Error message copied below. It indicates need to install b2 utility with pip - doing this makes no difference to error. Note b2 CLI utility not installed with 0.7.14 but backups to b2 working nonetheless.
Backend error detail: Traceback (innermost last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
action = commandline.
File "/usr/lib/
backup, local_pathname = set_backend(
File "/usr/lib/
globals.backend = backend.
File "/usr/lib/
obj = get_backend_
File "/usr/lib/
return factory(pu)
File "/usr/lib/
raise BackendExceptio
BackendException: B2 backend requires B2 Python APIs (pip install b2)
BackendException: B2 backend requires B2 Python APIs (pip install b2)
Duplicity version: 0.7.15
Python version: 3.6.3
OS Distro and version: Arch Linux
Type of target filesystem: Linux
Changed in duplicity: | |
status: | New → Invalid |
It looks like this started with the new b2 backend at revision 1329.
The backend now imports the b2 API - it looks like the old backend used its own code to manipulate buckets.
For some reason though when the backend attempts to import the API this fails - even with the b2 CLI tool installed.