This is a known bug with 0.6.07. I will shortly update the PPA to use the recently-released 0.6.08 which fixes the issue. -mt
On 9 March 2010 09:52, Andrea Gelmini <[email protected]> wrote: > Goodmorning, > I'm using your wonderful Duplicity since years. > With latest update from you PPA (0.6.07-0ubuntu0karmic1) I've got > this problem. > On a Karmic Ubuntu server I've got a script to backup every night > to another server. > If I don't remove this line from it > > --gpg-options='--compress-algo=bzip2 --bzip2-compress-level=9' > > it doesn't work no more. > > Its complain is: > > Using temporary directory /tmp/duplicity-3FqOeS-tempdir > Traceback (most recent call last): > File "/usr/bin/duplicity", line 1236, in <module> > with_tempdir(main) > File "/usr/bin/duplicity", line 1229, in with_tempdir > fn() > File "/usr/bin/duplicity", line 1115, in main > action = commandline.ProcessCommandLine(sys.argv[1:]) > File "/usr/lib/python2.6/dist-packages/duplicity/commandline.py", > line 876, in ProcessCommandLine > args = parse_cmdline_options(cmdline_list) > File "/usr/lib/python2.6/dist-packages/duplicity/commandline.py", > line 450, in parse_cmdline_options > (options, args) = parser.parse_args() > File "/usr/lib/python2.6/optparse.py", line 1394, in parse_args > stop = self._process_args(largs, rargs, values) > File "/usr/lib/python2.6/optparse.py", line 1434, in _process_args > self._process_long_opt(rargs, values) > File "/usr/lib/python2.6/optparse.py", line 1509, in _process_long_opt > option.process(opt, value, values, self) > File "/usr/lib/python2.6/optparse.py", line 788, in process > self.action, self.dest, opt, value, values, parser) > File "/usr/lib/python2.6/dist-packages/duplicity/commandline.py", > line 162, in take_action > setattr(values, dest, getattr(values, dest) + ' ' + str(value)) > TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' > > Without '--gpg-options' it works like a charm. > > Thanks a lot for you work, > Andrea > > n.b.: I'm not subscribed so, please, CC: me. > > _______________________________________________ > Mailing list: https://launchpad.net/~duplicity-team > Post to : [email protected] > Unsubscribe : https://launchpad.net/~duplicity-team > More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~duplicity-team Post to : [email protected] Unsubscribe : https://launchpad.net/~duplicity-team More help : https://help.launchpad.net/ListHelp

