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

AttributeError: module 'ophyd' has no attribute 'EpicsSignalBase' #297

Closed
prjemian opened this issue Feb 18, 2020 · 1 comment
Closed

AttributeError: module 'ophyd' has no attribute 'EpicsSignalBase' #297

prjemian opened this issue Feb 18, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@prjemian
Copy link
Contributor

In [3]: object_explorer(tens)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-3-cc4cea0a6087> in <module>
----> 1 object_explorer(tens)

/share1/bluesky/conda_envs/bluesky_2020_1/lib/python3.7/site-packages/apstools/utils.py in object_explorer(obj, sortby, fmt, printing)
    350     t.addLabel("PV reference")
    351     t.addLabel("value")
--> 352     items = _ophyd_structure_walker(obj)
    353     logger.debug(f"number of items: {len(items)}")
    354

/share1/bluesky/conda_envs/bluesky_2020_1/lib/python3.7/site-packages/apstools/utils.py in _ophyd_structure_walker(obj)
    328     """
    329     # import pdb; pdb.set_trace()
--> 330     if isinstance(obj, ophyd.EpicsSignalBase):
    331         return [obj]
    332     elif isinstance(obj, ophyd.Device):

AttributeError: module 'ophyd' has no attribute 'EpicsSignalBase'

In [4]:
@prjemian prjemian added the bug label Feb 18, 2020
@prjemian prjemian added this to the 1.2.1 milestone Feb 18, 2020
@prjemian prjemian self-assigned this Feb 18, 2020
@prjemian
Copy link
Contributor Author

should be: ophyd.signal.EpicsSignalBase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant