FAU-LAP / NOMAD-CAMELS

We are developing a configurable measurement software (CAMELS), targeted towards the requirements of experimental solid-state physics. Here many experiments utilize a multitude of measurement devices used in dynamically changing setups.
https://fau-lap.github.io/NOMAD-CAMELS/
GNU Lesser General Public License v2.1
11 stars 3 forks source link

Excecution error #81

Open sebweb3r opened 6 months ago

sebweb3r commented 6 months ago

I installed nomad-camels under fedora 39 via pipx (pipx install nomad-camels). Starting the program dies with the following error below. The problem can be fixed by installing importlib_metadata. (pipx inject nomad-camels importlib_metadata) The package should be added to requirements.txt

QPixmap::scaled: Pixmap is a null pixmap
/home/sweber/.local/share/pipx/venvs/nomad-camels/lib64/python3.12/site-packages/nomad_camels/manual_controls/set_panel
  File "/home/sweber/.local/share/pipx/venvs/nomad-camels/lib64/python3.12/site-packages/nomad_camels/utility/qthreads.py", line 322, in run
    from nomad_camels.frontpanels.manage_instruments import ManageInstruments
  File "/home/sweber/.local/share/pipx/venvs/nomad-camels/lib64/python3.12/site-packages/nomad_camels/frontpanels/manage_instruments.py", line 11, in <module>
    from nomad_camels.frontpanels import instrument_installer, instrument_config
  File "/home/sweber/.local/share/pipx/venvs/nomad-camels/lib64/python3.12/site-packages/nomad_camels/frontpanels/instrument_config.py", line 3, in <module>
    import importlib_metadata
ModuleNotFoundError
No module named 'importlib_metadata'
QPainter::begin: A paint device can only be painted by one painter at a time.
QPainter::setCompositionMode: Painter not active
QPainter::fillRect: Painter not active
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
Segmentation fault (core dumped)
sebweb3r commented 6 months ago

I advice to change the pip-commands in the pipelines with pipx to check if all requirements are in requirements.txt and not partially rely on ubuntu's system packages.

Jo-Leh commented 6 months ago

importlib-metadata is added to the requirements for the next version

which pipelines do you mean? I never encountered this error so far