Skip to content

Default sources for dodal devices is outdated #1690

Closed

Description

@oliwenmandiamond

When trying to deploy blueapi for a beamline, I am getting the following error:

Traceback (most recent call last):
  File "/app/.venv/bin/blueapi", line 4, in <module>
    from blueapi.cli import main
  File "/app/.venv/lib/python3.11/site-packages/blueapi/cli/__init__.py", line 1, in <module>
    from .cli import main
  File "/app/.venv/lib/python3.11/site-packages/blueapi/cli/cli.py", line 22, in <module>
    from blueapi import __version__, config
  File "/app/.venv/lib/python3.11/site-packages/blueapi/config.py", line 28, in <module>
    from blueapi.utils import BlueapiBaseModel, InvalidConfigError
  File "/app/.venv/lib/python3.11/site-packages/blueapi/utils/__init__.py", line 6, in <module>
    from .connect_devices import connect_devices, report_successful_devices
  File "/app/.venv/lib/python3.11/site-packages/blueapi/utils/connect_devices.py", line 6, in <module>
    from dodal.utils import (
ImportError: cannot import name 'DeviceInitializationController' from 'dodal.utils' (/workspaces/dodal/src/dodal/utils.py)

This is because the default for the iXX-services in values.yaml is:

      sources:
      - kind: dodal
        module: dodal.beamlines.iXX

This is wrong and outdated. This should be:

      sources:
      - kind: deviceManager
        module: dodal.beamlines.iXX

DeviceManager is now the only supported way to load in devices now into blueapi and has been since dodal release 3.0.0. I am now sure if this issue needs to be here or in copier template.

Activity

  1. oliwenmandiamond commented on Oct 7, 2026

    @oliwenmandiamond
    ContributorAuthor
  2. added a commit that references this issue on Oct 8, 2026
    4171eb4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions