[XML-SIG] [ pyxml-Bugs-434153 ] CommandLineApp with invalid options

noreply@sourceforge.net noreply@sourceforge.net
Mon, 18 Jun 2001 05:48:46 -0700


Bugs item #434153, was updated on 2001-06-18 05:48
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=434153&group_id=6473

Category: 4Suite
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: alexander smishlajev (a1s)
Assigned to: Nobody/Anonymous (nobody)
Summary: CommandLineApp with invalid options

Initial Comment:
running 4Suite (or 4SuiteServer) command-line script with invalid option produces traceback like this:

>4rdf --foo=bar
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "Ft\Lib\CommandLine\CommandLineApp.py", line 85, in run
    cmd = self.parse_command_line()
  File "Ft\Lib\CommandLine\CommandLineApp.py", line 106, in parse_command_line
    raise SystemExit(help + '\n' + msg.args[1])
TypeError: __add__ nor __radd__ defined for these operands


note: msg.args[1] is getopt.GetoptError instance, not a string.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=434153&group_id=6473