Hi Steve, Thanks a lot for your email.
I cannot reproduce the behaviour you mention. Either way, I’ve goole myself nearly to death looking for a solution to this issue since I first noticed it (~2019). And again, the ‘problem’ seems to be the apparently low number of Mac + PyInsaller users. By the way, issues with an app’s Dock icon, have been present since previous PyInstaller versions. For example, there was a time where two icons would appear on the Dock, then none would appear; now one appears briefly and disappears. However, and although it is not ideal, this ‘issue’ does not hinder an app in any way, at least in my case. Still, it would be great if at some point we (somebody) could get to the bottom of it. I only use my apps for research purposes, so it does not bother me much, but I can imagine somebody packaging their app for commercial purposes may want this issue to be solved at some point, (and should also try to help to do so, needless to say). Cheers ____________________________ Dr. Thor Tepper García Astrophysicist www.thorsten.mx @thorsten_mx > On 25 Jun 2021, at 00:44, Steve Barnes <[email protected]> wrote: > > Thor, > > I am not a Mac user so can be of very little help but I recall there being > reports of issues with running locally bundled applications due to the fact > that the application was not signed by Macintosh App Store. I think that it > might depend on one of the installation path &/or the launch method. Possibly > some googling on these lines could help. > > Steve Barnes > > From: [email protected] <[email protected]> On Behalf > Of Tepper > Sent: 24 June 2021 07:38 > To: [email protected] > Subject: Re: [PyInstaller] Created Mac app works at terminal but not won't > launch upon double-click > > Hi Paul, > > I’ve been dealing with the same issue for a long time now, still without > a solution. It seems as if there are not many Mac users on this forum, > or Mac users that make use of PyInstaller, which truly puzzles me. > > Anyways, if you happen to come across a solution I’d be grateful if > you could share it, and vice versa. > > Cheers > > Thor > > ____________________________ > Dr. Thor Tepper García > Astrophysicist > www.thorsten.mx > <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.thorsten.mx%2F&data=04%7C01%7C%7C18aed9c5b63c40b9842708d93714ea96%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637601385434242863%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=e5ek%2FAg2JAwV3MzdIb4VHyT5AFd%2BnjVs5V7a4Fcp8Y4%3D&reserved=0> > @thorsten_mx > > > On 24 Jun 2021, at 01:38, Paul Fishback <[email protected] > <mailto:[email protected]>> wrote: > > Running Mac Big Sur with Python 3.9 and the most recent pyinstaller. > > My app, whose GUI utilizes tkinter, works fine at the terminal. However, when > I double-click on the app, the icon briefly appears on the computer dock > before disappearing. > > Below is my spec file. > > Thanks. > > Paul > > ************************************* > > block_cipher = None > > a = Analysis(['Sample_Application.py'], > > pathex=['/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages', > '/Users/fishbacp/Desktop'], > binaries=[], > datas=[('/Users/fishbacp/Desktop//background.png','.')], > hiddenimports=['_tkinter','PIL'], > hookspath=[], > runtime_hooks=[], > excludes=[], > win_no_prefer_redirects=False, > win_private_assemblies=False, > cipher=block_cipher, > noarchive=False) > pyz = PYZ(a.pure, a.zipped_data, > cipher=block_cipher) > exe = EXE(pyz, > a.scripts, > [], > exclude_binaries=True, > name='Sample_Application', > debug=False, > bootloader_ignore_signals=False, > strip=False, > upx=True, > console=False ) > coll = COLLECT(exe, > a.binaries, > a.zipfiles, > a.datas, > strip=False, > upx=True, > upx_exclude=[], > name='Sample_Application') > #exe > app = > BUNDLE(coll,name='Sample_Application.app',icon='/Users/fishbacp/Desktop/spectrum.ico',bundle_identifier=None, > info_plist={ > 'LSEnvironment': { > 'LANG': 'de_DE.UTF-8', > 'LC_CTYPE': 'de_DE.UTF-8' > }}) > > -- > 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 [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pyinstaller/d86d5fc1-60f5-4608-a3a5-b31da9c2ffd1n%40googlegroups.com > > <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fpyinstaller%2Fd86d5fc1-60f5-4608-a3a5-b31da9c2ffd1n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7C%7C18aed9c5b63c40b9842708d93714ea96%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637601385434252817%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2F%2Fnxh5fRhDs0nvyd3hBQGdnuUie2R7pT3uhvio%2FxClg%3D&reserved=0>. > > -- > 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 [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pyinstaller/9ED2DEAD-B8C7-4349-9AB0-1D2B4C8DE49D%40gmail.com > > <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fpyinstaller%2F9ED2DEAD-B8C7-4349-9AB0-1D2B4C8DE49D%2540gmail.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7C%7C18aed9c5b63c40b9842708d93714ea96%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637601385434252817%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3dVJyWdkiNg97KGQxPnlexPPr6xLBxW5zDNvw3bOPmQ%3D&reserved=0>. > > -- > 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 [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pyinstaller/VI1PR03MB6575403FA3EC6D4CB56E9C359B079%40VI1PR03MB6575.eurprd03.prod.outlook.com > > <https://groups.google.com/d/msgid/pyinstaller/VI1PR03MB6575403FA3EC6D4CB56E9C359B079%40VI1PR03MB6575.eurprd03.prod.outlook.com?utm_medium=email&utm_source=footer>. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/16E161B9-EF4C-4715-ACBC-4D277B67B57B%40gmail.com.
