Traceback (most recent call last): File "/home/weltere/xraylarch/lib/python3.7/ctypes/__init__.py", line 97, in CFUNCTYPE return _c_functype_cache[(restype, argtypes, flags)] KeyError: (None, (,), 1) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/weltere/xraylarch/bin/larch", line 11, in load_entry_point('xraylarch==0.9.46', 'console_scripts', 'larch')() File "/home/weltere/xraylarch/lib/python3.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/home/weltere/xraylarch/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point return ep.load() File "/home/weltere/xraylarch/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2434, in load return self.resolve() File "/home/weltere/xraylarch/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/home/weltere/xraylarch/lib/python3.7/site-packages/larch/__init__.py", line 50, in from . import builtins File "/home/weltere/xraylarch/lib/python3.7/site-packages/larch/builtins.py", line 33, in from . import epics File "/home/weltere/xraylarch/lib/python3.7/site-packages/larch/epics/__init__.py", line 9, in import epics File "/home/weltere/xraylarch/lib/python3.7/site-packages/epics/__init__.py", line 29, in from . import ca File "/home/weltere/xraylarch/lib/python3.7/site-packages/epics/ca.py", line 643, in dbr.access_rights_handler_args) File "/home/weltere/xraylarch/lib/python3.7/site-packages/epics/dbr.py", line 325, in make_callback return ctypes.CFUNCTYPE(None, args)(func) File "/home/weltere/xraylarch/lib/python3.7/ctypes/__init__.py", line 99, in CFUNCTYPE class CFunctionType(_CFuncPtr): TypeError: item 1 in _argtypes_ passes a struct/union with a bitfield by value, which is unsupported.