duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] 0.6.07 -> TypeError: unsupported operand type(s) fo


From: Michael Terry
Subject: Re: [Duplicity-talk] 0.6.07 -> TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Date: Mon, 1 Mar 2010 09:30:10 -0500

Looks like a bug in my optparse code.  :(  Can I see the command line
you used?  I'll look at this.
-mt

On 1 March 2010 09:06,  <address@hidden> wrote:
> With the fresh 0.6.07 I run into this error. Any hint? ede
>
> --- Start running command STATUS 15:02:45.911 ---
> Traceback (most recent call last):
>  File "/home/me/_apps/duplicity-0.6.07/bin/duplicity", line 1237, in
> <module>
>    with_tempdir(main)
>  File "/home/me/_apps/duplicity-0.6.07/bin/duplicity", line 1230, in
> with_tempdir
>    fn()
>  File "/home/me/_apps/duplicity-0.6.07/bin/duplicity", line 1116, in main
>    action = commandline.ProcessCommandLine(sys.argv[1:])
>  File "/home/me/_apps/duplicity-0.6.07/duplicity/commandline.py", line
> 876, in ProcessCommandLine
>    args = parse_cmdline_options(cmdline_list)
>  File "/home/me/_apps/duplicity-0.6.07/duplicity/commandline.py", line
> 450, in parse_cmdline_options
>    (options, args) = parser.parse_args()
>  File "/usr/lib/python2.6/optparse.py", line 1378, in parse_args
>    stop = self._process_args(largs, rargs, values)
>  File "/usr/lib/python2.6/optparse.py", line 1418, in _process_args
>    self._process_long_opt(rargs, values)
>  File "/usr/lib/python2.6/optparse.py", line 1493, in _process_long_opt
>    option.process(opt, value, values, self)
>  File "/usr/lib/python2.6/optparse.py", line 782, in process
>    self.action, self.dest, opt, value, values, parser)
>  File "/home/me/_apps/duplicity-0.6.07/duplicity/commandline.py", line
> 162, in take_action
>    setattr(values, dest, getattr(values, dest) + ' ' + value)
> TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
>
> --- Finished state FAILED (code 30) at 15:02:46.098 - Runtime
> 00:00:00.186 ---
>
>
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>




reply via email to

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