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

Module load error on IDAaaS #38011

Open
jclarkeSTFC opened this issue Sep 17, 2024 · 5 comments · Fixed by #38046
Open

Module load error on IDAaaS #38011

jclarkeSTFC opened this issue Sep 17, 2024 · 5 comments · Fixed by #38046
Assignees
Labels
Bug Issues and pull requests that are regressions or would be considered a bug by users (e.g. crashing) 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
Milestone

Comments

@jclarkeSTFC
Copy link
Contributor

Describe the bug
Certain plugins on IDAaaS generate an error on starting Workbench, and some scripts won't run, the error below is produced

Welcome to Mantid 6.10.20240916.1815
Please cite: http://dx.doi.org/10.1016/j.nima.2014.07.029 and this release: http://dx.doi.org/10.5286/Software/Mantid
Could not open library /opt/mantidworkbenchnightly/plugins/libMantidCrystal.so: libMantidDataHandling.so: cannot open shared object file: No such file or directory
Failed to load plugin /opt/mantidworkbenchnightly/plugins/python/algorithms/BASISCrystalDiffraction.py.
Error: Traceback (most recent call last):
  File "/opt/mantidworkbenchnightly/lib/python3.10/site-packages/mantid/kernel/plugins.py", line 198, in load_from_file
    name, module = load_plugin(filepath)
  File "/opt/mantidworkbenchnightly/lib/python3.10/site-packages/mantid/kernel/plugins.py", line 219, in load_plugin
    module = loader.run()
  File "/opt/mantidworkbenchnightly/lib/python3.10/site-packages/mantid/kernel/plugins.py", line 52, in run
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/mantidworkbenchnightly/plugins/python/algorithms/BASISCrystalDiffraction.py", line 28, in <module>
    from mantid.simpleapi import (
ImportError: cannot import name 'SetGoniometer' from partially initialized module 'mantid.simpleapi' (most likely due to a circular import) (/opt/mantidworkbenchnightly/lib/python3.10/site-packages/mantid/simpleapi.py)

To Reproduce
Start the nightly on IDAaaS

Expected behavior
No errors

Screenshots

image

Platform/Version (please complete the following information):

  • OS: Rocky Linux
  • OS Version:
  • Mantid Version 6.10.20240916.1815
@jclarkeSTFC jclarkeSTFC added 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 labels Sep 17, 2024
@jclarkeSTFC jclarkeSTFC added this to the Release 6.11 milestone Sep 17, 2024
@rbauststfc
Copy link
Contributor

Just to flag, this happened for me on a Windows install.

@perenon
Copy link
Contributor

perenon commented Sep 18, 2024

Happened also to me on Linux conda install

@MohamedAlmaki MohamedAlmaki added the High Priority An issue or pull request that if not addressed is severe enough to postponse a release. label Sep 19, 2024
@jclarkeSTFC jclarkeSTFC linked a pull request Sep 20, 2024 that will close this issue
Copy link

Closed by #38046.

1 similar comment
Copy link

Closed by #38046.

@jclarkeSTFC
Copy link
Contributor Author

This is not fixed

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) 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
Projects
Status: In Progress
Status: In Progress
Development

Successfully merging a pull request may close this issue.

4 participants