PyS2OPC server fix: server fails to start du to incorrect API call in PyS2OPC server library
Description
Running a server using PyS2OPC fails with the following error:
Traceback (most recent call last):
File "server.py", line 59, in <module>
PyS2OPC.mark_configured()
File "/.../lib/python3.6/site-packages/pys2opc/s2opc.py", line 660, in mark_configured
assert libsub.SOPC_Toolkit_Configured() == ReturnStatus.OK
AttributeError: cffi library '_pys2opc' has no function, constant or global variable named 'SOPC_Toolkit_Configured'
Analysis
The PyS2OPC server library has not been updated since server API change the 10/01/2022 in commit 60c3be83
Edited by Vincent Monfort