fyears / electron-python-example

Electron as GUI of Python Applications
MIT License
2k stars 234 forks source link

No handlers could be found for logger "zerorpc.channel" #18

Closed cipiasentini closed 6 years ago

cipiasentini commented 6 years ago

Hi, first of all thanks for your project it helped me a lot with my school project. Now I'm on the final steps, the app is working flawlessly if I run it via terminal but now I have to package it. I've followed the steps and configured everything (pyinstaller, zerorpc, the distribution folder, etc.) the app successfully builds but I don't know why the zerorpc server won't start (or communicate). I'll leave a link to my repository. https://github.com/cipiasentini/apripublico.git Thanks in advance

Edit. After some debugging I found that the problem was with the zerorpc server. If I start the zerorpc server from terminal and then connect to it (just following your example python pycalc/api.py and on another terminal zerorpc tcp://localhost:4242 calc "1 + 1" I get this error on the server: No handlers could be found for logger "zerorpc.channel"

fyears commented 6 years ago

According to https://github.com/fyears/electron-python-example/issues/17, it seemed that you had fixed the bug? Thus I close this issue now.