Ticket #2646 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Mantid fails to start if any of the datasearch.directories are unavailable

Reported by: Michael Whitty Owned by: Michael Whitty
Priority: major Milestone: Iteration 28
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Anders Markvardsen

Description

To reproduce: add a nonsense (network) directory to your datasearch.directories in the user.properties file, then launch MantidPlot.

You'll see an error message:

---------------------------
Mantid - Error
---------------------------
An unhandled exception has been caught. MantidPlot will have to close. Details:

Path not found
---------------------------
&OK   
---------------------------

However, this morning it was saying "File access error" rather than "Path not found" when the RAL network was down. It will also complain if the path is invalid/malformed.

Should these failures really stop Mantid from running at all? Couldn't we just show a warning on startup like we do for say, the ICatDownloadDirectory if that doesn't exist?

Change History

comment:1 Changed 10 years ago by Nick Draper

  • Owner set to Michael Whitty
  • Status changed from new to assigned

comment:2 Changed 10 years ago by Michael Whitty

  • Status changed from assigned to accepted

comment:3 Changed 10 years ago by Michael Whitty

  • Status changed from accepted to verify
  • Resolution set to fixed

(In [10522]) fixes #2646 - fix bug that stopped Mantid initialising if some directories didn't exist/were inaccessible.

comment:4 Changed 9 years ago by Anders Markvardsen

  • Status changed from verify to verifying
  • Tester set to Anders Markvardsen

comment:5 Changed 9 years ago by Anders Markvardsen

  • Status changed from verifying to closed

Put in a nonsense directory in datasearch.directories and MantidPlot starts up as normal (1.1.11098)

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3493

Note: See TracTickets for help on using tickets.