Public bug reported:

I am using duplicity 0.8.11.1604 from snap edge channel.
I am trying to use multi backend with one of them being the OVH PCA.
It fails when trying to write to the PCA with the following error :

MultiBackend: _put: write to store #0 (pca://backupPortableX-cold)
Writing cold_duplicity-full.20200314T135032Z.vol1.difftar.gpg
Backtrace of previous error: Traceback (innermost last):
  File "/snap/duplicity/83/lib/python3.6/site-packages/duplicity/backend.py", 
line 376, in inner_retry
    return fn(self, *args)
  File "/snap/duplicity/83/lib/python3.6/site-packages/duplicity/backend.py", 
line 547, in put
    self.__do_put(source_path, remote_filename)
  File "/snap/duplicity/83/lib/python3.6/site-packages/duplicity/backend.py", 
line 533, in __do_put
    self.backend._put(source_path, remote_filename)
  File 
"/snap/duplicity/83/lib/python3.6/site-packages/duplicity/backends/pcabackend.py",
 line 153, in _put
    self.conn.put_object(self.container, self.prefix + remote_filename,
 TypeError: must be str, not bytes

** Affects: duplicity (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1867435

Title:
  TypeError: must be str, not bytes using PCA backend

Status in duplicity package in Ubuntu:
  New

Bug description:
  I am using duplicity 0.8.11.1604 from snap edge channel.
  I am trying to use multi backend with one of them being the OVH PCA.
  It fails when trying to write to the PCA with the following error :

  MultiBackend: _put: write to store #0 (pca://backupPortableX-cold)
  Writing cold_duplicity-full.20200314T135032Z.vol1.difftar.gpg
  Backtrace of previous error: Traceback (innermost last):
    File "/snap/duplicity/83/lib/python3.6/site-packages/duplicity/backend.py", 
line 376, in inner_retry
      return fn(self, *args)
    File "/snap/duplicity/83/lib/python3.6/site-packages/duplicity/backend.py", 
line 547, in put
      self.__do_put(source_path, remote_filename)
    File "/snap/duplicity/83/lib/python3.6/site-packages/duplicity/backend.py", 
line 533, in __do_put
      self.backend._put(source_path, remote_filename)
    File 
"/snap/duplicity/83/lib/python3.6/site-packages/duplicity/backends/pcabackend.py",
 line 153, in _put
      self.conn.put_object(self.container, self.prefix + remote_filename,
   TypeError: must be str, not bytes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/1867435/+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