-
Notifications
You must be signed in to change notification settings - Fork 9
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
TypeError: Cannot use summary() method of CalcoutRecord object #518
Comments
Same problem with SwaitRecord. |
Something is wrong with how these classes use |
When these lines are commented out, no apstools/apstools/synApps/calcout.py Lines 129 to 130 in b846f5f
The other occurrences of |
It's an upstream problem in ~/.local/lib/python3.8/site-packages/ophyd/device.py in _summary(self)
1080 read_attrs = self.read_attrs
1081 config_attrs = self.configuration_attrs
-> 1082 used_attrs = set(read_attrs + config_attrs)
1083 extra_attrs = [a for a in self.component_names
1084 if a not in used_attrs]
|
FYI (bluesky_2021_2) prjemian@zap:~/.../BCDA-APS/apstools$ conda list ophyd
# packages in environment at /home/prjemian/.conda/envs/bluesky_2021_2:
#
# Name Version Build Channel
ophyd 1.6.1 pyhd8ed1ab_0 conda-forge |
Since this is a problem with the No work to do here, so closing. |
Tried to demonstrate the
.summary()
method of an ophydDevice
subclass today (apstools.devices.synApps.calcout.CalcoutRecord
) and it failed with aTypeError
as shown.While the exception trace shows an error in ophyd, it seems likely that a fix could be applied here to prevent that exception in the first place.
The text was updated successfully, but these errors were encountered: