Since upgrading from duplicity 0.6.21 to duplicity 0.6.22 I get the following warning on various commands. For example with the following command (that intentionally does nothing for demo purposes): $ duplicity collection-status /dev/null Import of duplicity.backends.dpbxbackend Failed: No module named dropbox ... The operation succeeds but the warning is annoying, especially when running duplicity as a cronjob. I'm not using duplicity's Dropbox backend. Can I somehow disable Dropbox support in duplicity? Reproducible: Always
As a workaround: "--verbosity error" suppresses the warning.
Another workaround: rm /usr/lib64/python2.7/site-packages/duplicity/backends/dpbxbackend.py*
This kind of request should be opened on the upstream launchpad tracker. Basically upstream should switch to checking for modules only when certain backends are used or do silent failures/fallbacks when they're missing.
I've added a post install message about optional deps for various backends. If you want the warning messages to go away you should take that request upstream.