TypeError: fsdecode() takes 1 positional argument but 2 were given with PCA backend

Bug #1867742 reported by Xavier Poinsard
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
duplicity (Ubuntu)

Bug Description

I am using 0.8.11-0ubuntu1ppa1609~ubuntu18.04.1 package and trying to use PCA backend.
Here is the error :
MultiBackend: _put: write to store #0 (pca://backupPortableX-cold)
Writing cold_duplicity-full.20200317T082259Z.vol1.difftar.gpg
Backtrace of previous error: Traceback (innermost last):
  File "/usr/lib/python3/dist-packages/duplicity/backend.py", line 376, in inner_retry
    return fn(self, *args)
  File "/usr/lib/python3/dist-packages/duplicity/backend.py", line 547, in put
    self.__do_put(source_path, remote_filename)
  File "/usr/lib/python3/dist-packages/duplicity/backend.py", line 533, in __do_put
    self.backend._put(source_path, remote_filename)
  File "/usr/lib/python3/dist-packages/duplicity/backends/pcabackend.py", line 154, in _put
    open(util.fsdecode(source_path.name, u'rb')))
 TypeError: fsdecode() takes 1 positional argument but 2 were given

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

Thanks for being persistent!

Changed in duplicity:
importance: Undecided → Medium
milestone: none → 0.8.12
status: New → Fix Committed
Revision history for this message
Xavier Poinsard (xpoinsard) wrote :

Thanks for being so reactive.
It's now working !

Changed in duplicity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers