duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Buggy error message


From: Olivier Berger
Subject: Re: [Duplicity-talk] Buggy error message
Date: Thu, 22 Jul 2010 09:33:45 +0200

Le mercredi 21 juillet 2010 à 11:22 +0200, Bernd Petrovitsch a écrit :
> Hi all!
> 
> duplicity-0.6.08b-1.el5.i386 produces the following hereover:
> ----  snip  ----
> Reading globbing filelist /dev/stdin
> Traceback (most recent call last):
>   File "/usr/bin/duplicity", line 1239, in ?
>     with_tempdir(main)
>   File "/usr/bin/duplicity", line 1232, in with_tempdir
>     fn()
>   File "/usr/bin/duplicity", line 1133, in main
>     sync_archive()
>   File "/usr/bin/duplicity", line 910, in sync_archive
>     remlist = globals.backend.list()
>   File "/usr/lib/python2.4/site-packages/duplicity/backends/sshbackend.py", 
> line 270, in list
>     l = self.run_sftp_command(commandline, commands).split('\n')[1:]
>   File "/usr/lib/python2.4/site-packages/duplicity/backends/sshbackend.py", 
> line 190, in run_sftp_command
>     log.Warn("Remote file or directory does not exist in command='%s'" % 
> (command,))
> UnboundLocalError: local variable 'command' referenced before assignment
> ----  snip  ----
> Apart from some real problem actually triggering the error message, it
> seems to me that log.warn() line as such is somewhat buggy.
> 
> IF you need more info, just ask
>       Bernd

Have you tried with a different python version ?

Something like :
  $ python-2.5 /usr/bin/duplicity ...

Hope this helps.

Best regards,
-- 
Olivier BERGER <address@hidden>
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingénieur Recherche - Dept INF
Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)




reply via email to

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