IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 20 years ago

Closed 20 years ago

#695 closed defect (fixed)

Need better handling of errors in config files ("invalid item")

Reported by: rhl@… Owned by: David.Robbins@…
Priority: high Milestone:
Component: objects Version: 0.9.0
Severity: normal Keywords:
Cc:

Description

Errors in .cnf files (e.g. STR not F32) give errors like:

psError(PS_ERR_UNKNOWN, true, "invalid item");

and then crash

The error message should be more informative (the variable name; the fact that
this is a type error), and the error shouldn't be fatal --- or if it is, I'd rather have
a SIGABRT than a SIGSEGV!

Change History (3)

comment:1 by eugene, 20 years ago

this is a problem with psMetadataConfigRead : the segfault is an actual bug,
while the uninformative errors just require work to provide more detail.

comment:2 by gusciora@…, 20 years ago

Owner: changed from gusciora@… to David.Robbins@…

comment:3 by David.Robbins@…, 20 years ago

Resolution: fixed
Status: newclosed

I believe this is taken care of. MetadataConfigFormat was changed earlier in
another bug, so if there is still some problem with that please let me know the
specifics. I searched for the error lines referred to here and these have been
updated as well.

Note: See TracTickets for help on using tickets.