OneDrive backend - give proper error message if requests or requests-oauthlib is not installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I was trying to use the OneDrive backend for backups and kept getting the following error message:
UnsupportedBa
I took some time to track down where the issue was and it appears that if you happen to run duplicity with --verbosity info a following message would appear:
Import of duplicity.
So, I had not installed python-
The OneDrive backend could do what multiple other backends do for dependencies that might not be installed by default. That is import requests and requests-oauth inside the backend initializer, catch any errors and give a clear instructions what to do when that happens.
----
Duplicity version: 0.7.02-0ubuntu1
Python version: 2.7.6
OS distro and version: Ubuntu 14.04
Changed in duplicity: | |
importance: | Undecided → Medium |
milestone: | none → 0.7.03 |
status: | New → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |