Skip to content

'CatalogOfBlueskyRuns' object has no attribute 'register_handler' #125

@burkeds

Description

@burkeds

I am trying to follow along with the tutorial section "Array Detector (non-EPICS)" (https://blueskyproject.io/tutorials/Ophyd/04%20-%20Array%20Detector.html).

I am not able to complete the RunEngine section of the tutorial with databroker version '2.0.0b10'

I run this cell in Jupyter

from bluesky import RunEngine
from databroker.v2 import temp

RE = RunEngine()
db = temp()
RE.subscribe(db.v1.insert)

db.register_handler("MY_FORMAT_SPEC", MyHandler)

This returns the following error:
AttributeError: 'CatalogOfBlueskyRuns' object has no attribute 'register_handler'

If I comment out this line, I get the following error when I try to read from the db:
UndefinedAssetSpecification: "Resource document with uid 190a2f02-c27a-441d-98fc-90064f1799ed refers to spec 'MY_FORMAT_SPEC' which is not defined in the Filler's handler registry."

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