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

pythonIoc issues with EPICS Base 7.0.3 #4

Closed
ZohebShaikh opened this issue Sep 14, 2020 · 1 comment
Closed

pythonIoc issues with EPICS Base 7.0.3 #4

ZohebShaikh opened this issue Sep 14, 2020 · 1 comment

Comments

@ZohebShaikh
Copy link

ZohebShaikh commented Sep 14, 2020

These are the errors I get when I run examples/runtest

Starting iocInit
############################################################################
## EPICS R7.0.3
## EPICS Base built Aug 26 2020
############################################################################
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 185, in _init_record
    self = cls.LookupRecord(getattr(record, cls._link_))
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 14
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 185, in _init_record
    self = cls.LookupRecord(getattr(record, cls._link_))
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 14
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 185, in _init_record
    self = cls.LookupRecord(getattr(record, cls._link_))
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 14
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 185, in _init_record
    self = cls.LookupRecord(getattr(record, cls._link_))
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 14
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 185, in _init_record
    self = cls.LookupRecord(getattr(record, cls._link_))
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 14
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 185, in _init_record
    self = cls.LookupRecord(getattr(record, cls._link_))
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 14
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 185, in _init_record
    self = cls.LookupRecord(getattr(record, cls._link_))
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 14
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 185, in _init_record
    self = cls.LookupRecord(getattr(record, cls._link_))
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 241, in LookupRecord
    return cls._RecordDirectory[name]
KeyError: 94101980930144
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 185, in _init_record
    self = cls.LookupRecord(getattr(record, cls._link_))
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 241, in LookupRecord
    return cls._RecordDirectory[name]
KeyError: 94101980923072
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 185, in _init_record
    self = cls.LookupRecord(getattr(record, cls._link_))
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 241, in LookupRecord
    return cls._RecordDirectory[name]
KeyError: 94101980937792
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 185, in _init_record
    self = cls.LookupRecord(getattr(record, cls._link_))
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 241, in LookupRecord
    return cls._RecordDirectory[name]
KeyError: 94101980920832
Error (514,514) PV: TS-DI-TEST-01:AO ao: init_record

Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 185, in _init_record
    self = cls.LookupRecord(getattr(record, cls._link_))
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 241, in LookupRecord
    return cls._RecordDirectory[name]
KeyError: 94101980934768
Error (514,514) PV: TS-DI-TEST-01:SINP ao: init_record

Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 185, in _init_record
    self = cls.LookupRecord(getattr(record, cls._link_))
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 14
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 185, in _init_record
    self = cls.LookupRecord(getattr(record, cls._link_))
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 241, in LookupRecord
    return cls._RecordDirectory[name]
KeyError: 94101980925504
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 185, in _init_record
    self = cls.LookupRecord(getattr(record, cls._link_))
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 241, in LookupRecord
    return cls._RecordDirectory[name]
KeyError: 94101980933376
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 185, in _init_record
    self = cls.LookupRecord(getattr(record, cls._link_))
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 14
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 185, in _init_record
    self = cls.LookupRecord(getattr(record, cls._link_))
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 14
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 145, in <lambda>
    cls.__call_instance_method(method, args, record_offset)
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 157, in __call_instance_method
    self = record.DPVT
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 17
PV: TS-DI-TEST-01:STRINGIN scanAdd: I/O Intr not valid

Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 145, in <lambda>
    cls.__call_instance_method(method, args, record_offset)
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 157, in __call_instance_method
    self = record.DPVT
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 17
PV: TS-DI-TEST-01:LONGSTRING scanAdd: I/O Intr not valid

Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 145, in <lambda>
    cls.__call_instance_method(method, args, record_offset)
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 157, in __call_instance_method
    self = record.DPVT
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 17
PV: TS-DI-TEST-01:SIN scanAdd: I/O Intr not valid

Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 145, in <lambda>
    cls.__call_instance_method(method, args, record_offset)
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 157, in __call_instance_method
    self = record.DPVT
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 17
PV: TS-DI-TEST-01:WAVEFORM scanAdd: I/O Intr not valid

Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 145, in <lambda>
    cls.__call_instance_method(method, args, record_offset)
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 157, in __call_instance_method
    self = record.DPVT
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 17
PV: TS-DI-TEST-01:WAVEFORM2 scanAdd: I/O Intr not valid

Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 145, in <lambda>
    cls.__call_instance_method(method, args, record_offset)
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 157, in __call_instance_method
    self = record.DPVT
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 17
PV: TS-DI-TEST-01:BOOLIN scanAdd: I/O Intr not valid

Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 145, in <lambda>
    cls.__call_instance_method(method, args, record_offset)
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 157, in __call_instance_method
    self = record.DPVT
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 17
PV: TS-DI-TEST-01:LONGIN scanAdd: I/O Intr not valid

Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 145, in <lambda>
    cls.__call_instance_method(method, args, record_offset)
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 157, in __call_instance_method
    self = record.DPVT
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 17
PV: TS-DI-TEST-01:AI scanAdd: I/O Intr not valid

Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 145, in <lambda>
    cls.__call_instance_method(method, args, record_offset)
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 157, in __call_instance_method
    self = record.DPVT
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 17
PV: TS-DI-TEST-01:MBBI scanAdd: I/O Intr not valid

Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 145, in <lambda>
    cls.__call_instance_method(method, args, record_offset)
  File "/usr/local/epics7New/pythonIoc/python/softioc/device_core.py", line 157, in __call_instance_method
    self = record.DPVT
  File "/usr/local/epics7New/pythonIoc/python/softioc/fields.py", line 153, in __getattr__
    ctypes_type = DbfCodeToCtypes[field_type]
KeyError: 17
iocRun: All initialization complete
Python 3.6.9 (default, Jul 17 2020, 12:50:27) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
@Araneidae
Copy link
Collaborator

Unable to reproduce, but believe this resolved by #5.

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

2 participants