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

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

Open
DominicOram opened this issue Oct 28, 2024 · 0 comments
Open

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

DominicOram opened this issue Oct 28, 2024 · 0 comments

Comments

@DominicOram
Copy link
Contributor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant