duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] termios error in duplicity 0.4.3.RC12


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] termios error in duplicity 0.4.3.RC12
Date: Fri, 17 Aug 2007 09:33:23 -0500
User-agent: Thunderbird 1.5.0.12 (X11/20070604)

There is a fix for this in the upcoming release.  For now, in
backends.py, change line 432 from:
        child.sendeof()
to:
        child.sendline('quit')
and make sure that the passwords are supplied in the environment.

And yes, you are using both sftp and scp.  The ssh backend uses sftp for
list and delete and uses scp for get and put.  It's all part of the ssh
suite (ssh, scp, sftp, etc.).

...Thanks,
...Ken


Fred Trotter wrote:
> I am getting the following traceback from duplicity 0.4.3.RC12
> I am using scp and not sftp
> 
> -FT
> 
> Traceback (most recent call last):
>   File "/usr/bin/duplicity", line 378, in ?
>     if __name__ == "__main__": main()
>   File "/usr/bin/duplicity", line 354, in main
>     globals.archive_dir).set_values()
>   File "/usr/lib/python2.4/site-packages/duplicity/collections.py",
> line 416, in set_values
>     backend_filename_list = self.backend.list()
>   File "/usr/lib/python2.4/site-packages/duplicity/backends.py", line
> 483, in list
>     l = self.run_sftp_command(commandline, commands).split('\n')[1:]
>   File "/usr/lib/python2.4/site-packages/duplicity/backends.py", line
> 436, in run_sftp_command
>     child.sendeof()
>   File "/usr/lib/python2.4/site-packages/pexpect.py", line 818, in sendeof
>     old = termios.tcgetattr(fd) # remember current state
> termios.error: (22, 'Invalid argument')
> 


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]