Hi everyone, I encountered a tricky problem recently when I want to build a small PyQT4 application with Pyqtgraph, due to the concerning of plotting speed, I choose the RemoteGraphicView to plot the scatterplot in my app, everything was good in PyCharm but when I run the executable application, the app will continuously creating another main GUI instance and froze the original one, then crash. Exactly same issues with the following 2 links:
https://stackoverflow.com/questions/36364509/pyqt4-pyqtgraph-application-recursively-opens-new-instances-of-itself https://stackoverflow.com/questions/22644805/cx-freeze-creates-multiple-instances-of-program I tried to add multiprocessing.freeze_support() right after if __name__ == '__main__': and rebuild the application but it was not helping at all. After check line by line I found when the app reached "win = pg.widgets.RemoteGraphicsView.RemoteGraphicsView()" , it will starting generate endless instance of main GUI. I tried cx_freeze and pyinstaller and I saw the same issue. At last I tested the simple remote plot example within pyqtgraph and created a application with both cx_freeze and pyinstaller, it was not plotting at all and just show black console window without any info, when I check windows task manager, I can see app instance is continuously generated unless I shut down the console window. Does anyone has any ideas or clues about this issue? Thanks in advance! Siyan -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/910a578e-fd60-4b40-8556-6335299b76da%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
