[ET Trac] [Einstein Toolkit] #1401: misspelling ActiveThorns in parfiles results in unhelpful error message
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Mon Jan 13 16:01:34 CST 2014
#1401: misspelling ActiveThorns in parfiles results in unhelpful error message
---------------------+------------------------------------------------------
Reporter: rhaas | Owner: sbrandt
Type: defect | Status: reviewed_ok
Priority: minor | Milestone:
Component: Cactus | Version: development version
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment (by sbrandt):
New error message is output instead of old. It includes the LHS from the
parameter file:
if(m2->inrule_max == "file::set::par" && m2->foundChar() =='=') {
msg << std::endl;
msg << "Invalid assignment." << std::endl;
msg << "Valid assignments are: " << std::endl;
msg << "ActiveThorns = \"...\"" << std::endl;
msg << "Arrangement::Thorn = ..." << std::endl;
...
msg << "You wrote: " << gr->substring() << " = ..." <<
std::endl;
} else {
m2->showError(msg); // default error message
}
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1401#comment:9>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list