ssh_paramiko_backend.py - global name 'paramiko' is not defined
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Checked out a copy of 0.8.0 series. Ran ./dist/makedist 0.8.0 then normal build (wheel) and install.
Run using duply, using configs that had been working for the past year or so.
Using installed duplicity version 0.8.0, python 2.7.15 (/opt/bin/python2), gpg 2.0.14 (Home: ~/.gnupg), awk 'GNU Awk 3.1.7', grep 'grep (GNU grep) 2.20', bash '4.1.2(1)-release (x86_64-
...
--- Start running command BKP at 17:28:53.875 ---
Traceback (innermost last):
File "/opt/bin/
with_
File "/opt/bin/
fn()
File "/opt/bin/
action = commandline.
File "/opt/lib/
backup, local_pathname = set_backend(
File "/opt/lib/
globals.backend = backend.
File "/opt/lib/
obj = get_backend_
File "/opt/lib/
return factory(pu)
File "/opt/lib/
parsed_
File "/opt/lib/
sshconfig = paramiko.
NameError: global name 'paramiko' is not defined
17:28:54.305 Task 'BKP' failed with exit code '30'.
--- Finished state FAILED 'code 30' at 17:28:54.305 - Runtime 00:00:00.430 ---
Changed in duplicity: | |
importance: | Undecided → Medium |
milestone: | none → 0.7.19 |
status: | New → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
If I add "import paramiko" to the top of duplicity/ backends/ ssh_paramiko_ backend. py this error does not happen.