Bug#407403: duplicity cannot "canonicalise"

2007-01-18 Thread Martin Wuertele
Hi David!

* David Andel <[EMAIL PROTECTED]> [2007-01-18 07:36]:

> Package: duplicity
> Version: 0.4.2-10.1
> Severity: grave
> Justification: renders package unusable
> 
> Whatever I enter, if I use it through backupninja or directly on the
> commandline, it always returns the same error:
> 
> apollo:~# duplicity /root scp://[EMAIL PROTECTED]/var/backups/apollo
> Couldn't canonicalise: No such file or directory
> Traceback (most recent call last):
>   File "/usr/bin/duplicity", line 373, in ?
> if __name__ == "__main__": main()
>   File "/usr/bin/duplicity", line 349, in main
> globals.archive_dir).set_values()
>   File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 406,
>   in set_values
> backend_filename_list = self.backend.list()
>   File "/usr/lib/python2.4/site-packages/duplicity/backends.py", line 299, in
>   list
> l = self.popen(commandline).split('\n')[2:] # omit sftp prompts
>   File "/usr/lib/python2.4/site-packages/duplicity/backends.py", line 150, in
>   popen
> raise BackendException("Error running '%s'" % commandline)
> duplicity.backends.BackendException: Error running 'printf 'cd
> var/backups/apollo ls -1' | sftp -b - [EMAIL PROTECTED]'

Does scping a file to 130.60.xx.xx as user andel work?
Did you try passing the ID of the gpg key to use?
Does ~andel/var/backups/apollo on 130.60.xx.xx exist? If not try
duplicity /root scp://[EMAIL PROTECTED]//var/backups/apollo

example:
$ mkdir /tmp/bar
$ duplicity /etc/X11/ scp://localhost//tmp/bar
GnuPG passphrase: 
Retype to confirm: 
No signatures found, switching to full backup.
Error [Errno 13] Permission denied: '/etc/X11/Xwrapper.config' getting delta 
for Xwrapper.config
tmpYUQZ9V   
  100%   50KB  50.3KB/s   00:00
tmpetzO8b   
  100%  198 0.2KB/s   00:00
tmp-As8BW   
  100% 9112 8.9KB/s   00:00
--[ Backup Statistics ]--
StartTime 1169107544.68 (Thu Jan 18 09:05:44 2007)
EndTime 1169107544.94 (Thu Jan 18 09:05:44 2007)
ElapsedTime 0.26 (0.26 seconds)
SourceFiles 84
SourceFileSize 271704 (265 KB)
NewFiles 84
NewFileSize 271704 (265 KB)
DeletedFiles 0
ChangedFiles 0
ChangedFileSize 0 (0 bytes)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 84
RawDeltaSize 258906 (253 KB)
TotalDestinationSizeChange 51700 (50.5 KB)
Errors 1
-

yours Martin
-- 
http://martin.wuertele.net/ -- Debian -- OFTC -- SPI -- [EMAIL PROTECTED]
ports.linux.com
%
Ubuntu is an ancient African word meaning 'I can't configure Debian'.
--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#407403: duplicity cannot "canonicalise"

2007-01-17 Thread David Andel
Package: duplicity
Version: 0.4.2-10.1
Severity: grave
Justification: renders package unusable

Whatever I enter, if I use it through backupninja or directly on the
commandline, it always returns the same error:

apollo:~# duplicity /root scp://[EMAIL PROTECTED]/var/backups/apollo
Couldn't canonicalise: No such file or directory
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 373, in ?
if __name__ == "__main__": main()
  File "/usr/bin/duplicity", line 349, in main
globals.archive_dir).set_values()
  File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 406,
  in set_values
backend_filename_list = self.backend.list()
  File "/usr/lib/python2.4/site-packages/duplicity/backends.py", line 299, in
  list
l = self.popen(commandline).split('\n')[2:] # omit sftp prompts
  File "/usr/lib/python2.4/site-packages/duplicity/backends.py", line 150, in
  popen
raise BackendException("Error running '%s'" % commandline)
duplicity.backends.BackendException: Error running 'printf 'cd
var/backups/apollo ls -1' | sftp -b - [EMAIL PROTECTED]'

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages duplicity depends on:
ii  gnupg1.4.6-1 GNU privacy guard - a free PGP rep
ii  libc62.3.6.ds1-8 GNU C Library: Shared libraries
ii  librsync10.9.7-1 Library which implements the rsync
ii  python   2.4.4-2 An interactive high-level object-o
ii  python-central   0.5.12  register and build utility for Pyt
ii  python-gnupginterface0.3.2-9 Python interface to GnuPG (GPG)

duplicity recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]