Closed bsrdjan closed 10 months ago
Describe the bug Error reported in console output when bgRFC handlers are not explicitly registered by application and server.close()method not explicitly called by application. Beside console output no other issues are observed.
server.close()
To Reproduce Run the standard example examples/server/bgrfc_server.py, with server.bgrfc_init( statement commented:
server.bgrfc_init(
python examples/server/bgrfc_server.py MME [2023-07-20 15:36:53.819395 UTC] Server connection '5487418880' {'serverName': '', 'protocolType': 'multi count', 'registrationCount': 0, 'state': 'RFC_SERVER_INITIAL', 'currentBusyCount': 0, 'peakBusyCount': 0} Connection:close Connection:_close [2023-07-20 15:36:53.966183 UTC] Server function installed 'STFC_WRITE_TO_TCPIC' [2023-07-20 15:36:53.966308 UTC] Server function installed '{'func_desc_handle': 5485401872, 'callback': <function stfc_write_to_tcpic at 0x102ad6020>, 'server': <pyrfc._cyrfc.Server object at 0x102aeb0b0>}' [2023-07-20 15:36:54.038033 UTC] Server 'launched 5487418880' Press Enter key to stop server... Server:stop Error in sys.excepthook: Original exception was:
Desired Behaviour
This should not appear in console output
Error in sys.excepthook: Original exception was:
Describe the bug Error reported in console output when bgRFC handlers are not explicitly registered by application and
server.close()
method not explicitly called by application. Beside console output no other issues are observed.To Reproduce Run the standard example examples/server/bgrfc_server.py, with
server.bgrfc_init(
statement commented:Desired Behaviour
This should not appear in console output