Ticket #5198 (assigned)

Opened 8 years ago

Last modified 5 years ago

Mantid Preferences - Unable to Change Facility/Instrument

Reported by: Peter Parker Owned by: Peter Parker
Priority: minor Milestone: Backlog
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

To reproduce:

  • Go to View->Preferences...->Mantid->Instrument.
  • Change the facility and instrument, then click Apply/Ok.

The user is presented with an unexpected exception, qouting "File not found".

(This was seen changing from a default of ISIS to SNS on Win7, 64 bit).

Change History

comment:1 Changed 8 years ago by Peter Parker

  • Blocking 5162 added

comment:2 Changed 8 years ago by Stuart Campbell

Just seen something similar on Fedora 16. But this was only when I had the Indirect Diffraction GUI open. I switched from SNS -> ISIS/IRIS and I got an message for each instrument in the ISIS list alphabetically upto IRIS saying that it couldn't find a parameter file.

Strangely, it looked like it was trying to load the EMU_Definition.xml ? I will attach the script window output.

comment:3 Changed 8 years ago by Stuart Campbell

ValueError: Invalid value for property Filename (string) "/home/scu/checkout/mantidproject/mantid/Code/Mantid/instrument/EMU_Definition.xml": File "EMU_Definition.xml" not found
  at line 3 in '<Interface>'
  caused by line 141 in '/home/scu/checkout/mantidproject/mantid/Code/Mantid/scripts/Inelastic/IndirectEnergyConversion.py'
  caused by line 41 in '/home/scu/build/mantid/release-2.1.x/bin/mantidsimple.py'
  caused by line 1071 in '/home/scu/build/mantid/release-2.1.x/bin/MantidFramework.py'
  caused by line 1046 in '/home/scu/build/mantid/release-2.1.x/bin/MantidFramework.py'

Followed by this (6 times)

  IndexError: Index out of range
  at line 3 in '<Interface>'
  caused by line 144 in '/home/scu/checkout/mantidproject/mantid/Code/Mantid/scripts/Inelastic/IndirectEnergyConversion.py'

comment:4 Changed 8 years ago by Peter Parker

  • Blocking 5162 removed

(In #5162) No longer blocked by 5198 - a clean install of Mantid solved the problem.

comment:5 Changed 8 years ago by Peter Parker

  • Priority changed from blocker to minor
  • Milestone changed from Release 2.1 to Release 2.2

This is no longer blocking #5162, as I was able to work around it by simply doing a fresh install of Mantid (and in doing so starting with a fresh copy of the user pref files).

I can still reproduce Stu's errors, but as they dont crash Mantid and do not happen in a particularly critical place, I'm moving this to the next iteration to look at later.

comment:6 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.2 to Release 2.3

comment:7 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.3 to Release 2.4

Moved to release 2.4

comment:8 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.4 to Release 2.5

Moved at the code freeze for release 2.4

comment:9 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.5 to Release 2.6

Moved to r2.6 at the end of r2.5

comment:10 Changed 7 years ago by Nick Draper

  • Component changed from Mantid to Framework

comment:11 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.6 to Backlog

Moved to the Backlog after the code freeze for R2.6

comment:12 Changed 7 years ago by Nick Draper

  • Status changed from new to assigned

bulk move to assigned at the into of the triage step

comment:13 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6044

Note: See TracTickets for help on using tickets.