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: edgar . soldin
Subject: Re: [Duplicity-talk] 0.6.07 -> TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Date: Mon, 01 Mar 2010 15:43:19 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1

--- Start running command STATUS 15:39:59.168 ---
 PASSPHRASE='pass' TMPDIR='/tmp' FTP_PASSWORD='pass'
/home/me/_apps/duplicity-0.6.07/bin/duplicity collection-status
--verbosity '4' --gpg-options '' 'ftp://address@hidden/test4/'
--- Finished state OK at 15:39:59.188 - Runtime 00:00:00.019 ---

I'd guess it is the empty --gpg-options. Still it worked before and is
valid because of the defined empty string.

there u go & thx ede


On 01.03.2010 15:30, Michael Terry wrote:
> 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
>>
> 
> 
> _______________________________________________
> 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]