#340: Improve error message when parameter file is not found
Reporter:Erik Schnetter
Status:resolved
Milestone:
Version:
Type:bug
Priority:minor
Component:SimFactory

Changes (by Roland Haas):

status:resolved (was new)

I specified a wrong path "par/recover.par" for a parameter file, and Simfactory didn't find the parameter file. Simfactory's error message was:

Error: specified parfile /project/numrel/eschnett/philip/EinsteinToolkit-hg/simfactory/etc/parfiles/par/recover.par does not exist or is not readable

This is confusing, since the parameter file was not in the "parfiles" directory of Simfactory. Simfactory should list all the places where it looked for a parameter file, and should also output what the user actually specified.

Keyword:

Comment (by Roland Haas):

As of git hash 524c2e5 "Improve error message when a file is not found" of simfactory2 applied on Tue Jan 3 15:56:29 2012 +0000 by Erik the error message is:

Error: specified parfile "par/recover.par" does not exist or is not readable
   tried paths "/home/rhaas/ET_trunk/par/recover.par"
   and "/home/rhaas/postdoc/ET_trunk/repos/simfactory2/etc/parfiles/par/recover.par",
   working directory is "/home/rhaas/cactus/ET_trunk"

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/340/improve-error-message-when-parameter-file