Package: duplicity
Version: 0.6.09-1.1
Severity: normal

Hi.

I'm using duplicity as a backend to backupninja and get some errors:
== fatal errors from /etc/backup.d/90.dup ==

Warning: Duplicity cleanup failed.
Warning: Duplicity remove-older-than failed.
Info: Traceback (most recent call last):
Info: File "/usr/bin/duplicity", line 1258, in <module>
Info: with_tempdir(main)
Info: File "/usr/bin/duplicity", line 1251, in with_tempdir
Info: fn()
Info: File "/usr/bin/duplicity", line 1137, in main
Info: action = commandline.ProcessCommandLine(sys.argv[1:])
Info: File "/usr/lib/python2.6/dist-packages/duplicity/commandline.py", line 
888, in ProcessCommandLine
Info: args = parse_cmdline_options(cmdline_list)
Info: File "/usr/lib/python2.6/dist-packages/duplicity/commandline.py", line 
456, in parse_cmdline_options
Info: (options, args) = parser.parse_args()
Info: File "/usr/lib/python2.6/optparse.py", line 1394, in parse_args
Info: stop = self._process_args(largs, rargs, values)
Info: File "/usr/lib/python2.6/optparse.py", line 1434, in _process_args
Info: self._process_long_opt(rargs, values)
Info: File "/usr/lib/python2.6/optparse.py", line 1509, in _process_long_opt
Info: option.process(opt, value, values, self)
Info: File "/usr/lib/python2.6/optparse.py", line 788, in process
Info: self.action, self.dest, opt, value, values, parser)
Info: File "/usr/lib/python2.6/dist-packages/duplicity/commandline.py", line 
170, in take_action
Info: self, action, dest, opt, value, values, parser)
Info: File "/usr/lib/python2.6/optparse.py", line 808, in take_action
Info: self.callback(self, opt, value, parser, *args, **kwargs)
Info: File "/usr/lib/python2.6/dist-packages/duplicity/commandline.py", line 
407, in <lambda>
Info: callback=lambda o, s, v, p: (setattr(p.values, o.dest, True),
Info: TypeError: attribute name must be string, not 'NoneType'
Fatal: Duplicity failed.

Apparently, the commands triggered by backupninja are :
Info: >>>> starting action /etc/backup.d/90.dup (because of --now)
Debug: yes
Debug: ssh  -o PasswordAuthentication=no mymachine -l backup 'echo -n 1'
Debug: Data will be encrypted using symmetric encryption.
Debug: Data won't be signed.
Debug:  duplicity cleanup --force --short-filenames --no-print-statistics 
--scp-command 'scp ' --sftp-command 'sftp ' scp://bac...@mymachine//mnt/whatever
Debug:  duplicity remove-older-than 60D --force --short-filenames 
--no-print-statistics --scp-command 'scp ' --sftp-command 'sftp ' 
scp://bac...@mymachine//mnt/whatever
Debug:  duplicity  --short-filenames --no-print-statistics --scp-command 'scp ' 
--sftp-command 'sftp '  --exclude '/proc' --exclude '/sys' --exclude '/tmp' 
--exclude '/media' --exclude '/home' --exclude '/var/lib/backuppc' --include 
'/*' --exclude '**' / scp://bac...@mymachine//mnt/whatever

There's already a similar report at 
https://bugs.launchpad.net/duplicity/+bug/589495 which makes me believe this is 
not related to my local modified version of the package and also applies to 
regular Debian package.

Thanks in advance.

Best regards,


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages duplicity depends on:
ii  gnupg                        1.4.10-4    GNU privacy guard - a free PGP rep
ii  libc6                        2.11.2-2    Embedded GNU C Library: Shared lib
ii  librsync1                    0.9.7-7     rsync remote-delta algorithm libra
ii  python                       2.6.5-13    interactive high-level object-orie
ii  python-central               0.6.14+nmu2 register and build utility for Pyt
ii  python-pexpect               2.3-1       Python module for automating inter

duplicity recommends no packages.

Versions of packages duplicity suggests:
ii  ncftp                         2:3.2.4-1  A user-friendly and well-featured 
pn  python-boto                   <none>     (no description available)

-- no debconf information



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

Reply via email to