Comments (3)
In verbose mode, I get this:
caproto-get -v A:CHILLER1:FLOW_RATE
[D 13:54:18.013 client: 59] Registering with the Channel Access repeater.
[D 13:54:18.014 client: 74] Searching for 'A:CHILLER1:FLOW_RATE'....
[D 13:54:18.015 client: 144] Found 'A:CHILLER1:FLOW_RATE' at 10.10.11.24:5064
[D 13:54:18.031 client: 198] 10.10.11.60:52565 <<<--- 10.10.11.24:5064 16B VersionResponse(version=13)
[D 13:54:18.072 client: 198] 10.10.11.60:52565 <<<--- 10.10.11.24:5064 16B AccessRightsResponse(cid=0, access_rights=<AccessRights.WRITE|READ: 3>)
[D 13:54:18.073 client: 198] 10.10.11.60:52565 <<<--- 10.10.11.24:5064 16B CreateChanResponse(data_type=<ChannelType.DOUBLE: 6>, data_count=1, cid=0, sid=0)
[I 13:54:18.073 client: 202] A:CHILLER1:FLOW_RATE Channel connected.
[D 13:54:18.073 client: 215] 10.10.11.24:5064 A:CHILLER1:FLOW_RATE Detected native data_type <ChannelType.DOUBLE: 6>.
[D 13:54:18.077 client: 239] 10.10.11.60:52565 <<<--- 10.10.11.24:5064 88B A:CHILLER1:FLOW_RATE ErrorResponse(original_request=MessageHeader(command=15, payload_size=0, data_type=6, data_count=0, parameter1=0, parameter2=0), cid=0, status=CAStatusCode(name='ECA_INTERNAL', code=17, code_with_severity=142, severity=<CASeverity.FATAL: 6>, success=0, defunct=False, description='Channel Access Internal Failure'), error_message=bytearray(b'Python exception: TypeError len() of unsized object\x00\x00\x00\x00\x00'))
Traceback (most recent call last):
File "C:\python_v3.10.0\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\python_v3.10.0\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "c:\My Software\pype_dream2\.local\Scripts\caproto-get.exe\__main__.py", line 7, in <module>
File "c:\My Software\pype_dream2\.local\lib\site-packages\caproto\commandline\get.py", line 172, in main
response = read(pv_name=pv_name,
File "c:\My Software\pype_dream2\.local\lib\site-packages\caproto\sync\client.py", line 353, in read
return _read(chan, timeout, data_type=data_type, data_count=data_count,
File "c:\My Software\pype_dream2\.local\lib\site-packages\caproto\sync\client.py", line 244, in _read
raise ErrorResponseReceived(command)
caproto._utils.ErrorResponseReceived: ErrorResponse(original_request=MessageHeader(command=15, payload_size=0, data_type=6, data_count=0, parameter1=0, parameter2=0), cid=0, status=CAStatusCode(name='ECA_INTERNAL', code=17, code_with_severity=142, severity=<CASeverity.FATAL: 6>, success=0, defunct=False, description='Channel Access Internal Failure'), error_message=bytearray(b'Python exception: TypeError len() of unsized object\x00\x00\x00\x00\x00'))
[edited to fix markup]
from caproto.
Comparing to e.g.
caproto/caproto/ioc_examples/simple.py
Lines 20 to 23 in 46020e4
Can you share a minimal copy-pasteable example of an IOC that shows this problem?
from caproto.
We just discovered the issue. The data was being pushed into the pvdb as '2.3' (a string) instead of 2.3 (a float). Embarrassing but a relief. Thanks for trying to help.
from caproto.
Related Issues (20)
- Duplication of PV writes seen by camonitor HOT 6
- Strict typing and Caproto HOT 3
- Pyepics Compat Layer: caget_many ignores timeout HOT 6
- Caproto incompatibility with Python 3.11 HOT 4
- add_callback failed with error HOT 2
- Deprecate/remove/fix examples which have getters
- Array slice channel filter works intermittently when used with camonitor HOT 2
- Repository links for Caproto-written IOCs? HOT 6
- CI: deprecated GHA usage of `set-output` needs resolving in docs workflow
- Add logo to documentation HOT 1
- Resource leak in caproto.threading.pyepics_compat HOT 3
- Python 3.12: 0-dim memory has no length
- caproto IOCs on Windows Python 3.12 have issues
- Implementing Motor controller IOC, is there a hook for a home action? HOT 1
- Help please, Cannot figure out how to pass parameters to SubGroup.. HOT 2
- Adding a ZMQ backend HOT 2
- Search does not work in documentation
- Python 3.12: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated HOT 1
- disconnect task not awaited
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caproto.