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

Switched from caproto to pyepics #16

Open
jklynch opened this issue Jan 8, 2021 · 0 comments
Open

Switched from caproto to pyepics #16

jklynch opened this issue Jan 8, 2021 · 0 comments

Comments

@jklynch
Copy link
Contributor

jklynch commented Jan 8, 2021

During the 2021-1.0 deployment we had to switch from caproto to pyepics to deal with this problem:

File "/opt/conda_envs/collection-2021-1.0/lib/python3.7/site-packages/bluesky/run_engine.py", line 1683, in _read
    await current_run.read(msg, ret)
  File "/opt/conda_envs/collection-2021-1.0/lib/python3.7/site-packages/bluesky/bundlers.py", line 176, in read
    self._config_desc_cache[obj] = obj.describe_configuration()
  File "/opt/conda_envs/collection-2021-1.0/lib/python3.7/site-packages/ophyd/device.py", line 1276, in describe_configuration
    res.update(component.describe_configuration())
  File "/opt/conda_envs/collection-2021-1.0/lib/python3.7/site-packages/ophyd/signal.py", line 434, in describe_configuration
    return self.describe()
  File "/opt/conda_envs/collection-2021-1.0/lib/python3.7/site-packages/ophyd/signal.py", line 1248, in describe
    dtype=data_type(val),
  File "/opt/conda_envs/collection-2021-1.0/lib/python3.7/site-packages/ophyd/utils/epics_pvs.py", line 323, in data_type
    f'Cannot determine the appropriate bluesky-friendly data type for '
ValueError: Cannot determine the appropriate bluesky-friendly data type for value b'mm' of Python type <class 'bytes'>. Supported t$

Using caproto was a historical choice made when running on a windows computer but now RSOXS is using linux, so this brings RSOXS into line with most other beamlines.

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