explodinglabs / jsonrpcserver

Process incoming JSON-RPC requests in Python
MIT License
186 stars 40 forks source link

Server interrupts requests when Python application packed by PyInstaller #269

Open vololev opened 1 year ago

vololev commented 1 year ago

If your application is packaged with PyInstaller and the --noconsole option is set, JsonRpcServer will not process the request, but will simply return a completely empty response. If you do not use --noconsole, the application will have a console window, but will work fine.

System: Win7 x64 pro, Python 3.8.10 x32, PyInstaller 5.13, jsonrpcserver 5.0.9

Found, that exe file made by PyInstaller up to 5.6.2 is working normal. Newer versions not working with --noconsole parameter.