spc-group / haven

Bluesky tools for beamlines managed by the spectroscopy group
https://haven-spc.readthedocs.io/en/latest/
Other
2 stars 5 forks source link

firefly doesn't work after updating to the latest version of haven #156

Closed Cathyhjj closed 6 months ago

Cathyhjj commented 6 months ago

firefly doesn't work after updating to the latest version of haven (plan_window branch), see errors below:

Traceback (most recent call last): File "/home/beams0/JUANJUAN.HUANG/mambaforge/envs/haven/bin/firefly", line 5, in from firefly.launcher import main File "/home/beams0/JUANJUAN.HUANG/src/haven/src/firefly/init.py", line 1, in from . import display # noqa: F401 File "/home/beams0/JUANJUAN.HUANG/src/haven/src/firefly/display.py", line 5, in from haven import registry File "/home/beams0/JUANJUAN.HUANG/src/haven/src/haven/init.py", line 11, in from .instrument import ( # noqa: F401 File "/home/beams0/JUANJUAN.HUANG/src/haven/src/haven/instrument/init.py", line 1, in from .instrument_registry import InstrumentRegistry, registry # noqa: F401 File "/home/beams0/JUANJUAN.HUANG/src/haven/src/haven/instrument/instrument_registry.py", line 11, in registry = InstrumentRegistry(auto_register=False, use_typhos=True) TypeError: init() got an unexpected keyword argument 'use_typhos' (haven) [juanjuan.huang@goldendale]~/src/haven/src/firefly/tests%

Cathyhjj commented 6 months ago

Solved by upgrading ophyd-registry from 0.5 to 0.8 pip install --upgrade ophyd-registry and install blusky-adaptive package mamba install bluesky-adaptive