-
Notifications
You must be signed in to change notification settings - Fork 234
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
Lost remote after 10000ms - Issue connecting to zerorpc server after packaging python #28
Comments
Same problem here. |
I am also getting same issue, it seems zerorpc don't work in exe file. Anyone found solution? |
Not sure if the issue is exactly the same but I was getting the same error. I fixed it by installing zerorpc via pip. |
I compared an old working package to a newer one that didn't work, and noticed that some folders and files were missing. I'm not sure which of the following fixed it for me, but here's what I did:
For reference, here's a comparison between a working and non working file/folder structure WORKING (Python 3.6.3)
NOT WORKING (Python 3.8)
WORKING AFTER REINSTALLATION (Python 3.6.3)
|
I also experienced this issue when completing the tutorial with Windows 10.
How I fixed it:Originally I used Python 2.7 to install |
After packaging the python executable with Pyinstaller, I suddenly have issues with the zerorpc server. It appears that my issue comes after execFile the python executable. I'm able to create the pyprocess, but it isn't able to connect to the python script as it did before when it was just spawning off the script.
This is the exact error:
D:_\pyCal\renderer.js:14 Error: Lost remote after 10000ms
at Object.createErrorResponse
(D:_\pyCal\node_modules\zerorpc\lib\util.js:53)
at ClientChannel.
(D:_\pyCal\node_modules\zerorpc\lib\client.js:163)
at emitOne (events.js:96)
at ClientChannel.emit (events.js:191)
at D:_\pyCal\node_modules\zerorpc\lib\channel.js:198
client.invoke @ D:_\pyCal\renderer.js:14
callbackErrorWrapper @ D:_\pyCal\node_modules\zerorpc\lib\client.js:105
(anonymous) @ D:_\pyCal\node_modules\zerorpc\lib\client.js:164
emitOne @ events.js:96
emit @ events.js:191
(anonymous) @ D:_\pyCal\node_modules\zerorpc\lib\channel.js:198
The text was updated successfully, but these errors were encountered: