Skip to content

Document how to run a plan in a dev environment #694

Closed as duplicate
Closed as duplicate

Description

@DominicOram

Currently the docs at https://diamondlightsource.github.io/blueapi/main/tutorials/quickstart.html get you as far as running a local blueAPI but when you then try and run a plan e.g. the sleep example in https://diamondlightsource.github.io/blueapi/main/how-to/run-cli.html you get a message with:

Traceback (most recent call last):
  File "/scratch/ffv81422/blueapi/blueapi/.venv/bin/blueapi", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/scratch/ffv81422/blueapi/blueapi/.venv/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/scratch/ffv81422/blueapi/blueapi/.venv/lib/python3.11/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/scratch/ffv81422/blueapi/blueapi/.venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/scratch/ffv81422/blueapi/blueapi/.venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/scratch/ffv81422/blueapi/blueapi/.venv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/scratch/ffv81422/blueapi/blueapi/.venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/scratch/ffv81422/blueapi/blueapi/.venv/lib/python3.11/site-packages/blueapi/cli/cli.py", line 118, in wrapper
    func(*args, **kwargs)
  File "/scratch/ffv81422/blueapi/blueapi/.venv/lib/python3.11/site-packages/click/decorators.py", line 45, in new_func
    return f(get_current_context().obj, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/scratch/ffv81422/blueapi/blueapi/.venv/lib/python3.11/site-packages/blueapi/cli/cli.py", line 214, in run_plan
    resp = client.run_task(task, on_event=on_event)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/scratch/ffv81422/blueapi/blueapi/.venv/lib/python3.11/site-packages/blueapi/client/client.py", line 191, in run_task
    raise RuntimeError(
RuntimeError: Cannot run plans without Stomp configuration to track progress

Activity

  1. abbiemery commented on Feb 25, 2026

    @abbiemery
    Contributor

    Should be covered as part of #1416

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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