You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Through the PVA client, upon trying to set an int32 dtype column PV using int64 data, no error will be thrown but the column will fail to be changed.
Instead of an error being thrown, the traceback is printed to the console, eg:
test_panda.py::test_set_panda_table Unhandled Exception src/pvxs_client.cpp:67
Traceback (most recent call last):
File "/scratch/qqh35939/panda_env/lib/python3.10/site-packages/p4p/client/raw.py", line 78, in builder
V[k] = v
File "src/p4p/_p4p.pyx", line 192, in p4p._p4p._Value.__setitem__
TypeError: Cannot cast array data from dtype('int64') to dtype('int32') according to the rule 'safe'
The text was updated successfully, but these errors were encountered:
coretl
changed the title
BUG: No error raised upon casting array data from np.int64 to np.int32
v2: BUG: No error raised upon casting array data from np.int64 to np.int32
Aug 4, 2023
Through the PVA client, upon trying to set an int32 dtype column PV using int64 data, no error will be thrown but the column will fail to be changed.
Instead of an error being thrown, the traceback is printed to the console, eg:
The text was updated successfully, but these errors were encountered: