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

Error when closing Server: Error in sys.excepthook: Original exception was: #330

Closed
bsrdjan opened this issue Jul 20, 2023 · 0 comments
Closed
Assignees
Labels

Comments

@bsrdjan
Copy link
Contributor

bsrdjan commented Jul 20, 2023

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:

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:
@bsrdjan bsrdjan added the bug label Jul 20, 2023
@bsrdjan bsrdjan self-assigned this Jul 20, 2023
@bsrdjan bsrdjan closed this as completed Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant