mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
207 stars 122 forks source link

Windows Interface Smoke Tests :facepalm: #37547

Closed koshchii closed 1 week ago

koshchii commented 2 weeks ago

We must test both the .exe installer package and install direct from conda.

Before testing:

Afterwards:

If you have any questions please contact the creator of this issue.

:facepalm:

ISIS only, if possible, so catalogue access can be tested

MohamedAlmaki commented 1 week ago

I got "DllOpen-[Error] Could not open library C:\Users\joy22959\AppData\Local\mambaforge\envs\mantid_rc1\Library\plugins\qt5\MantidScientificInterfacesIndirectQt5.dll: failed with error 126: The specified module could not be found." error Indirect category is missing in the interfaces menu

Issue opened in #37581

MohamedAlmaki commented 1 week ago

When I try to open Muon Elemental Analysis interface I got this error:

Continue working.
Traceback (most recent call last):
  File "C:\Users\joy22959\AppData\Local\mambaforge\envs\mantid_rc1\lib\site-packages\workbench\app\mainwindow.py", line 392, in <lambda>
    action.triggered.connect(lambda checked_py, script=script: self.launch_custom_python_gui(script))
  File "C:\Users\joy22959\AppData\Local\mambaforge\envs\mantid_rc1\lib\site-packages\workbench\app\mainwindow.py", line 352, in launch_custom_python_gui
    self.interface_executor.execute(open(filename).read(), filename)
  File "C:\Users\joy22959\AppData\Local\mambaforge\envs\mantid_rc1\lib\site-packages\mantidqt\widgets\codeeditor\execution.py", line 153, in execute
    executor.execute(code_str, filename, flags, self.globals_ns, line_offset)
  File "C:\Users\joy22959\AppData\Local\mambaforge\envs\mantid_rc1\lib\site-packages\mantidqtinterfaces\Elemental_Analysis.py", line 8, in <module>
    from mantidqtinterfaces.Muon.GUI.ElementalAnalysis.elemental_analysis import ElementalAnalysisGui
  File "C:\Users\joy22959\AppData\Local\mambaforge\envs\mantid_rc1\lib\site-packages\mantidqtinterfaces\Muon\GUI\ElementalAnalysis\elemental_analysis.py", line 12, in <module>
    from mantidqtinterfaces.Muon.GUI.ElementalAnalysis.PeriodicTable.periodic_table_view import PeriodicTableView
  File "C:\Users\joy22959\AppData\Local\mambaforge\envs\mantid_rc1\lib\site-packages\mantidqtinterfaces\Muon\GUI\ElementalAnalysis\PeriodicTable\periodic_table_view.py", line 9, in <module>
    from mantidqtinterfaces.Muon.GUI.ElementalAnalysis.PeriodicTable import periodic_table
  File "C:\Users\joy22959\AppData\Local\mambaforge\envs\mantid_rc1\lib\site-packages\mantidqtinterfaces\Muon\GUI\ElementalAnalysis\PeriodicTable\periodic_table.py", line 268, in <module>
    _correct_with_peak_data_file()
  File "C:\Users\joy22959\AppData\Local\mambaforge\envs\mantid_rc1\lib\site-packages\mantidqtinterfaces\Muon\GUI\ElementalAnalysis\PeriodicTable\periodic_table.py", line 255, in _correct_with_peak_data_file
    with open(PeriodicTableModel().get_default_peak_data_file(), "r") as data_file:
  File "C:\Users\joy22959\AppData\Local\mambaforge\envs\mantid_rc1\lib\site-packages\mantidqtinterfaces\Muon\GUI\ElementalAnalysis\PeriodicTable\periodic_table_model.py", line 16, in __init__
    self.load_peak_data()
  File "C:\Users\joy22959\AppData\Local\mambaforge\envs\mantid_rc1\lib\site-packages\mantidqtinterfaces\Muon\GUI\ElementalAnalysis\PeriodicTable\periodic_table_model.py", line 24, in load_peak_data
    with open(self._peak_data_file, "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\joy22959\\AppData\\Local\\mambaforge\\envs\\mantid_rc1\\lib\\site-packages\\mantid\\utils\\muon\\peak_data.json'

Has been addressed in #37578

rbauststfc commented 1 week ago

For the Windows standalone installation, I also get the same error when trying to open the Muon Elemental Analysis interface. However, I don't seem to have the issue with the missing DLL, and I can see the Indirect option on the Interfaces menu.

MohamedAlmaki commented 1 week ago

The TOF converter seems to be too compressed, making it unusable: (issue raised in #37584) image

MohamedAlmaki commented 1 week ago

@rbauststfc are you happy to close it if you haven't found any issue?

rbauststfc commented 1 week ago

Yes, I think we can close this one now, thanks @MohamedAlmaki