Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Conda install won't launch #37581

Closed
thomashampson opened this issue Jun 20, 2024 · 4 comments · Fixed by #37588
Closed

Windows Conda install won't launch #37581

thomashampson opened this issue Jun 20, 2024 · 4 comments · Fixed by #37588
Labels
Bug Issues and pull requests that are regressions or would be considered a bug by users (e.g. crashing) Found in Beta Issues that were found during the manual/beta/smoke testing period High Priority An issue or pull request that if not addressed is severe enough to postponse a release. ISIS Team: Core Issue and pull requests managed by the Core subteam at ISIS Windows Only Only on Windows
Milestone

Comments

@thomashampson
Copy link
Contributor

thomashampson commented Jun 20, 2024

Describe the bug
Conda install of mantidworkbench doesn't launch on SOME Windows machines:

qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

DllOpen-[Error] Could not open library C:\Users\dsc49661\AppData\Local\mambaforge\envs\mantidnightlytest\Library\plugins\qt5\MantidScientificInterfacesIndirectQt5.dll: failed with error 126: The specified module could not be found.
DllOpen-[Error]
DllOpen-[Error]
qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

The issue that is preventing it from launching is the qt platform plugin related error. The missing dll doesn't prevent launch.

I think the underlying cause is that qt6-main is being installed into the conda environment, which is being brought in by vtk. Since occt v7.8.1, the occt all build variant is being installed. On an older conda environment I have, the novtk is installed.

I think the solution would be to try to specify the novtk variant of occt.

To Reproduce
Install 6.10.0rc1 smoke testing candidate and try to launch with workbench

Platform/Version (please complete the following information):

  • OS: Windows
  • Mantid Version 6.10.0rc1, also nightly version 6.9.20240619.1320
@thomashampson thomashampson added High Priority An issue or pull request that if not addressed is severe enough to postponse a release. Bug Issues and pull requests that are regressions or would be considered a bug by users (e.g. crashing) ISIS Team: Core Issue and pull requests managed by the Core subteam at ISIS Windows Only Only on Windows Found in Beta Issues that were found during the manual/beta/smoke testing period labels Jun 20, 2024
@thomashampson thomashampson added this to the Release 6.10 milestone Jun 20, 2024
@thomashampson
Copy link
Contributor Author

I think there are two separate issues here so I'll split one off.

@thomashampson
Copy link
Contributor Author

split the dll issue into #37587

@thomashampson
Copy link
Contributor Author

I'm not sure why this is only happening on some machines, but presumably we want to make sure that qt6-main is not installed.

@sf1919 sf1919 linked a pull request Jun 24, 2024 that will close this issue
Copy link

Closed by #37588.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues and pull requests that are regressions or would be considered a bug by users (e.g. crashing) Found in Beta Issues that were found during the manual/beta/smoke testing period High Priority An issue or pull request that if not addressed is severe enough to postponse a release. ISIS Team: Core Issue and pull requests managed by the Core subteam at ISIS Windows Only Only on Windows
Projects
Status: Done
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant