Can anyone tell me what's going on here or how I can workaround this
problem?

$ duplicity --version
duplicity 0.7.17

$ pip list | grep b2
b2 (1.3.4)

$ pip2 list | grep b2
b2 (1.3.4)

$ duplicity LocalDir/ b2://xxxxx:yyyyy@bucketname/local_dir
BackendException: B2 backend requires B2 Python APIs (pip install b2)

$ python
Python 2.7.6 (default, Nov 23 2017, 15:50:55) 
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import b2
>>> dir(b2)
['NullHandler', '__builtins__', '__doc__', '__file__', '__name__', 
'__package__', '__path__', 'logging', 'sys']

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in Ubuntu.
https://bugs.launchpad.net/bugs/1743247

Title:
  B2 Python APIs are missing

Status in Duplicity:
  In Progress
Status in duplicity package in Ubuntu:
  Confirmed

Bug description:
  When I try to use the B2 backend with
  0.7.16-0ubuntu1ppa1347~ubuntu16.04.1, I get the following error:

  > BackendException: B2 backend requires B2 Python APIs (pip install
  b2)

  It seems odd to me that the library would be installed outside of apt.
  I had an old package from trusty
  (duplicity_0.7.14-0ubuntu0ppa1316~ubuntu14.04.1_amd64.deb) with 0.7.14
  which works fine on 16.04, which makes me think this regression was in
  0.7.15 or 0.7.16.

To manage notifications about this bug go to:
https://bugs.launchpad.net/duplicity/+bug/1743247/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to