Mega backend upload error

Bug #1716188 reported by Ivan Phrolov on 2017-09-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

duplicity version: 0.7.14
python version: 2.7.13

megaput: duplicity-full.20170910T012131Z.vol1.difftar.gz
Backtrace of previous error: Traceback (innermost last):
  File "/usr/local/lib/python2.7/dist-packages/duplicity/", line 369, in inner_retry
    return fn(self, *args)
  File "/usr/local/lib/python2.7/dist-packages/duplicity/", line 522, in put
    self.__do_put(source_path, remote_filename)
  File "/usr/local/lib/python2.7/dist-packages/duplicity/", line 508, in __do_put
    self.backend._put(source_path, remote_filename)
  File "/usr/local/lib/python2.7/dist-packages/duplicity/backends/", line 101, in _put
    self.upload(local_file=source_path.get_canonical(), remote_file=remote_filename)
  File "/usr/local/lib/python2.7/dist-packages/duplicity/backends/", line 164, in upload
  File "/usr/local/lib/python2.7/dist-packages/duplicity/", line 479, in subprocess_popen
    private = self.munge_password(commandline)
  File "/usr/local/lib/python2.7/dist-packages/duplicity/", line 449, in munge_password
    return re.sub(r'(:([^\s:/@]+)@([^\s@]+))', r':*****@\3', commandline)
  File "/usr/lib/python2.7/", line 155, in sub
    return _compile(pattern, flags).sub(repl, string, count)
 TypeError: expected string or buffer

Attempt 1 failed. TypeError: expected string or buffer

Changed in duplicity:
status: New → Fix Committed
importance: Undecided → Medium
milestone: none → 0.7.15
Changed in duplicity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers