Ticket #8106 (closed: fixed)
Provide a more helpful error if the instrument definition file is not found
Reported by: | Russell Taylor | Owned by: | Russell Taylor |
---|---|---|---|
Priority: | minor | Milestone: | Release 3.0 |
Component: | Framework | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Michael Reuter |
Description
Right now, if the IDF is missing and you try to load a file for that instrument you see this error message:
Error in execution of algorithm LoadInstrument: SAXParseException: No element found in line 1 column 0. Unable to parse XML in Error loading Instrument definition file
Clearly, there is no check on whether the file was successfully located or not.
Change History
comment:2 Changed 7 years ago by Russell Taylor
- Status changed from inprogress to verify
- Resolution set to fixed
To test, try deleting the instrument definition file(s) for a particular instrument and then loading a file from that instrument. You should see a message informing you that the file was not found, instead of the error shown in the Description above.
comment:3 Changed 7 years ago by Michael Reuter
- Status changed from verify to verifying
- Tester set to Michael Reuter
comment:4 Changed 7 years ago by Michael Reuter
- Status changed from verifying to closed
Looks like the automatic closer missed this one. Putting the changeset in for recordkeeping.
https://github.com/mantidproject/mantid/commit/b9c89c36d8ad0ba34568479d8eff9d80108bf6b1
Note: See
TracTickets for help on using
tickets.
The commit didn't appear here by itself: