Ticket #3747 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Patch windows installers for VATES

Reported by: Owen Arnold Owned by: Owen Arnold
Priority: critical Milestone: Iteration 30
Component: Mantid Keywords:
Cc: reuterma.ornl.gov, martyn.gigg@… Blocked By:
Blocking: Tester: Peter Parker

Description

MantidPlot cannot be used to view a workspace because Mantid has no knowledge of the VATES libraries installed afterwards in a separate location and they are therefore not dynamically loaded.

Fix is to introduce additional environmental variable that MantidPlot can pick up at runtime. We might look at doing something more elegant in the future.

Change History

comment:1 Changed 9 years ago by Owen Arnold

In [14767]:

refs #3747. Verified that env variable can be added/removed.

comment:2 Changed 9 years ago by Owen Arnold

In [14768]:

refs #3747. Extract Env variable.

comment:3 Changed 9 years ago by Owen Arnold

In [14776]:

refs #3747. Give a better error message in MantidPlot if visualisation is not available under windows.

comment:4 Changed 9 years ago by Owen Arnold

  • Owner set to Owen Arnold
  • Status changed from new to accepted

comment:5 Changed 9 years ago by Owen Arnold

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

I've checked that this is picking up the correct libraries using ProcessExplorer now. Also gives a sensible error message if Vates package has not been installed.

comment:6 Changed 9 years ago by Owen Arnold

For testing:

Test 1

  • Install Mantid
  • Install MantidVates
  • Open MantidPlot
  • Open the LoadMD algorithm
  • Provide the file ...\Test\AutoTestData\MAPS_MDEW.nxs as the file argument
  • Run the algorithm
  • Right-click the workspace and select the Visualisation option. This should open The Visualisation window showing the workspace you have just selected.

Test 2

  • Close everything
  • Uninstall MantidVates
  • Open MantidPlot
  • Open the LoadMD algorithm
  • Provide the file ...\Test\AutoTestData\MAPS_MDEW.nxs as the file argument
  • Run the algorithm
  • Right-click the workspace and select the Visualisation option. An error message should be printed to the MantidPlot console.

comment:7 Changed 9 years ago by Peter Parker

  • Status changed from verify to verifying
  • Tester set to Peter Parker

comment:8 Changed 9 years ago by Peter Parker

The workspace is displayed in Yates for test 1.

"InterfaceManagerImpl::createVatesSimpleGui is null" is displayed in the console for test 2.

Both tests pass.

comment:9 Changed 9 years ago by Peter Parker

  • Status changed from verifying to closed

comment:10 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4594

Note: See TracTickets for help on using tickets.