aaltodsg / instans

Incremental Engine for Standing SPARQL
MIT License
10 stars 1 forks source link

Command-line INSTANS without parameters launches the debugger #13

Closed MJRinne closed 10 years ago

MJRinne commented 10 years ago

The current version of INSTANS (10.6.2014) fires the debugger, if executed without parameters:

$ instans Usage: instans [ -h | --help | -v | --version | { } ]

General options: -h | --help Print this message and exit. -v | --version Print version information and exit.

Configuration options: -n | --name Use as the name of the system. -d

| --directory Use as the prefix for file lookup. You can use a file or an URL as -b | --base Use as the base. -g | --graph If is 'default' add the following inputs to the default graph. If it is add them to the graph named by -r | --rules Use rules in . -t | --triples Read input triples --trig Read trig input --turtle Read input turtle input -o | --output Redirect output to . --select-output Output select results to . --construct-output Output construct results to . --select-output-type <csv|solution-set|none> Use the given select output type --construct-output-type <csv|solution-set|none> Use the given construct output type -f | --file Read options from . --rete-html-page-dir Create an HTML page about the Rete network. --query-input-policy The triple input policy. --query-processing-operations See the documentation. --rule-instance-removal-policy See the documentation. --queue-execution-policy See the documentation. -e | --execute Execute the system. This is done by default at the end of processing all arguments.

debugger invoked on a SB-KERNEL:CASE-FAILURE in thread

<THREAD "main thread" RUNNING {100588B7F3}>:

NIL fell through ETYPECASE expression. Wanted one of (STRING SIMPLE-STRING).

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

(no restarts: If you didn't do this on purpose, please report it as a bug.)

(SB-KERNEL:CASE-FAILURE ETYPECASE NIL (STRING SIMPLE-STRING)) 0]


Seems to be something related to the help printout, because:

a) It also occurs (without any other output) if I try to print the version number

b) It doesn't occur at all, when executing with other legal command line options

MJRinne commented 10 years ago

Command line parameter printout updated by Esko, bug fixed.