Traceback (most recent call last):
File "/usr/lib/python3.8/ctypes/__init__.py", line 99, in CFUNCTYPE
return _c_functype_cache[(restype, argtypes, flags)]
KeyError: (<class 'ctypes.c_void_p'>, (<class 'pypxlib.pxlib_ctypes.py3.LP_struct_px_doc'>, <class 'ctypes.c_int'>, <class 'pypxlib.pxlib_ctypes.py3.String'>, <class 'ctypes.c_void_p'>), 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/alanm/.local/lib/python3.8/site-packages/pypxlib/__init__.py", line 4, in <module>
from pypxlib.pxlib_ctypes import *
File "/home/alanm/.local/lib/python3.8/site-packages/pypxlib/pxlib_ctypes/__init__.py", line 15, in <module>
from pypxlib.pxlib_ctypes.py3 import *
File "/home/alanm/.local/lib/python3.8/site-packages/pypxlib/pxlib_ctypes/py3.py", line 951, in <module>
('errorhandler', CFUNCTYPE(UNCHECKED(None), POINTER(pxdoc_t), c_int, String, POINTER(None))),
File "/usr/lib/python3.8/ctypes/__init__.py", line 101, in CFUNCTYPE
class CFunctionType(_CFuncPtr):
TypeError: item 3 in _argtypes_ passes a union by value, which is unsupported.
This is on Arch Linux running Python 3.8.1. pypxlib from pypi.
When importing pypxlib on Python 3.8 I get the following:
This is on Arch Linux running Python 3.8.1.
pypxlibfrom pypi.