Hi guys,I have built a Python/Tkinter app, which works well in every respect,with the following exception: When opened, the app's icon brieflyappears on the Dock and then disappears, even though the appis still running (i.e. the GUI window is open, as it should)FYI: The dock icon is contained within myappsname/Contents/Resources,and from what I can tell, the Info.plist file looks fine (attached).I'm using Pyinstaller 3.6 on Mac El Capitan.Many thanks for any hints on how to solve this one!Cheers,Thor.--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/939cc978-c787-4040-a850-5124cff6f7fe%40googlegroups.com.
Sorry to resend this, but I’ve gotten no replies and still have not found a solution for this. I’m observing the same behaviour now on High Sierra.
It is truly driving me crazy…ANY hint will be highly appreciated. Thanks a lot in advance.
Hi guys,I have built a Python/Tkinter app, which works well in every respect,with the following exception: When opened, the app's icon brieflyappears on the Dock and then disappears, even though the appis still running (i.e. the GUI window is open, as it should)FYI: The dock icon is contained within myappsname/Contents/Resources,and from what I can tell, the Info.plist file looks fine (attached).I'm using Pyinstaller 3.6 on Mac El Capitan.Many thanks for any hints on how to solve this one!Cheers,Thor.--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyins...@googlegroups.com.
Hi,
Firstly, apologies to Thor for the lack of response. It looks like there aren’t many mac users on here. I’m not a mac user but i have noticed some inconsistent behaviour on my Windows that could be the source. Could you please clarify, by setting the icon you mean calling root.iconbitmap(icon_path)
inside the Python code and not setting the executable’s icon via the -i icon-path.ico
option?
I’ve knocked together a hello-world example to play with. Could you try building and running it for me? I’m particularly interested to see if and where in the bundle it puts the ico file as was behaving strangely on my Windows.
Brénainn
Hi,
This got raised as an issue then posted on stackoverflow and someone’s managed to solve it! Hopefully you can finally fix your apps now.
Brénainn