Mega backend upload error

Bug #1716188 reported by Ivan Phrolov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
Fix Released
Medium
Unassigned

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/backend.py", line 369, in inner_retry
    return fn(self, *args)
  File "/usr/local/lib/python2.7/dist-packages/duplicity/backend.py", line 522, in put
    self.__do_put(source_path, remote_filename)
  File "/usr/local/lib/python2.7/dist-packages/duplicity/backend.py", line 508, in __do_put
    self.backend._put(source_path, remote_filename)
  File "/usr/local/lib/python2.7/dist-packages/duplicity/backends/megabackend.py", 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/megabackend.py", line 164, in upload
    self.subprocess_popen(cmd)
  File "/usr/local/lib/python2.7/dist-packages/duplicity/backend.py", line 479, in subprocess_popen
    private = self.munge_password(commandline)
  File "/usr/local/lib/python2.7/dist-packages/duplicity/backend.py", line 449, in munge_password
    return re.sub(r'(:([^\s:/@]+)@([^\s@]+))', r':*****@\3', commandline)
  File "/usr/lib/python2.7/re.py", 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

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.