NameError (name 'file' is not defined) in

Bug #1857554 reported by David Tucker on 2019-12-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I installed duplicity 0.8.08 via Homebrew on MacOS 10.13.6 and cannot back up with the Paramiko backend (targeting, OS unknown but unix-y):

duplicity $version ($reldate)
Args: /usr/local/bin/duplicity --gpg-binary /usr/local/bin/gpg --encrypt-key REDACTED --sign-key REDACTED -v9 --full-if-older-than 1W --force --allow-source-mismatch REDACTED scp://REDACTED@REDACTED/REDACTED
Darwin REDACTED.lan1 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/", line 371, in inner_retry
    return fn(self, *args)
  File "/usr/local/Cellar/duplicity/0.8.08/libexec/lib/python3.7/site-packages/duplicity/", line 531, in put
    self.__do_put(source_path, remote_filename)
  File "/usr/local/Cellar/duplicity/0.8.08/libexec/lib/python3.7/site-packages/duplicity/", line 517, in __do_put
    self.backend._put(source_path, remote_filename)
  File "/usr/local/Cellar/duplicity/0.8.08/libexec/lib/python3.7/site-packages/duplicity/backends/", line 299, in _put
    f = file(, u'rb')
 NameError: name 'file' is not defined

Attempt 1 failed. NameError: name 'file' is not defined

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