TypeError (cannot use a string pattern on a bytes-like object) in ssh_paramiko_backend.py

Bug #1857734 reported by David Tucker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
Fix Released
Medium
Unassigned

Bug Description

duplicity 0.8.08 from homebrew on macOS 10.13.6

================================================================================
duplicity $version ($reldate)
Args: /usr/local/bin/duplicity -v9 --gpg-binary /usr/local/bin/gpg --encrypt-key REDACTED --sign-key REDACTED --full-if-older-than 1W --force --allow-source-mismatch REDACTED scp://REDACTED@REDACTED/REDACTED
Darwin REDACTED 17.7.0 Darwin Kernel Version 17.7.0: Sun Dec 1 19:19:56 PST 2019; root:xnu-4570.71.63~1/RELEASE_X86_64 x86_64 i386
/usr/local/Cellar/duplicity/0.8.08/libexec/bin/python 3.7.5 (default, Nov 1 2019, 02:16:38)
[Clang 10.0.0 (clang-1000.11.45.5)]
================================================================================

Backtrace of previous error: Traceback (innermost last):
  File "/usr/local/Cellar/duplicity/0.8.08/libexec/lib/python3.7/site-packages/duplicity/backend.py", line 371, in inner_retry
    return fn(self, *args)
  File "/usr/local/Cellar/duplicity/0.8.08/libexec/lib/python3.7/site-packages/duplicity/backend.py", line 554, in get
    self.backend._get(remote_filename, local_path)
  File "/usr/local/Cellar/duplicity/0.8.08/libexec/lib/python3.7/site-packages/duplicity/backends/ssh_paramiko_backend.py", line 340, in _get
    m = re.match(r"C([0-7]{4})\s+(\d+)\s+(\S.*)$", msg)
  File "/usr/local/Cellar/duplicity/0.8.08/libexec/lib/python3.7/re.py", line 173, in match
    return _compile(pattern, flags).match(string)
 TypeError: cannot use a string pattern on a bytes-like object

Changed in duplicity:
status: New → Fix Committed
importance: Undecided → Medium
milestone: none → 0.8.09
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.