Is it an error with wxPython or PyInstaller?
>From what it seems to me, when setting the "LSBackgroundOnly" you are
telling the app to run as a background process, which is why I think
wxpython is complaining when it is trying to build its windows. I
think the error is more with the pyinstaler process that is unpacking
the exe and not quiting, Hence the bouncing icon. I have grabbed
plists from other apps and put them into my app "just to see" what
would happen. some of them do not cause the double icon, and have no
setting for "LSBackgroundOnly", but also have not relevent info about
my app :) here is a plsit from RedGiant that does not cause the double
icon issue.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://
www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>
        <key>CFBundleDocumentTypes</key>
        <array>
                <dict>
                        <key>CFBundleTypeExtensions</key>
                        <array>
                                <string>ls3</string>
                        </array>
                        <key>CFBundleTypeIconFile</key>
                        <string>LookPreset.icns</string>
                        <key>CFBundleTypeName</key>
                        <string>LookPreset</string>
                        <key>CFBundleTypeOSTypes</key>
                        <array>
                                <string>LS3p</string>
                        </array>
                        <key>CFBundleTypeRole</key>
                        <string>Editor</string>
                        <key>LSTypeIsPackage</key>
                        <false/>
                        <key>NSPersistentStoreTypeKey</key>
                        <string>XML</string>
                </dict>
                <dict>
                        <key>CFBundleTypeExtensions</key>
                        <array>
                                <string>l3t</string>
                        </array>
                        <key>CFBundleTypeIconFile</key>
                        <string>ToolPreset.icns</string>
                        <key>CFBundleTypeName</key>
                        <string>ToolPreset</string>
                        <key>CFBundleTypeOSTypes</key>
                        <array>
                                <string>LS3t</string>
                        </array>
                        <key>CFBundleTypeRole</key>
                        <string>Editor</string>
                        <key>LSTypeIsPackage</key>
                        <false/>
                        <key>NSPersistentStoreTypeKey</key>
                        <string>XML</string>
                </dict>
        </array>
        <key>CFBundleExecutable</key>
        <string>LooksBuilder</string>
        <key>CFBundleGetInfoString</key>
        <string>1.2 ©2007-2008 Red Giant Software LLC. All rights reserved.</
string>
        <key>CFBundleIconFile</key>
        <string>LooksApp</string>
        <key>CFBundleIdentifier</key>
        <string>com.RedGiantSoftware.LooksBuilder</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundlePackageType</key>
        <string>APPL</string>
        <key>CFBundleShortVersionString</key>
        <string>1.2</string>
        <key>CFBundleSignature</key>
        <string>LS3U</string>
        <key>CFBundleVersion</key>
        <string>1.2</string>
        <key>CSResourcesFileMapped</key>
        <true/>
</dict>
</plist>


The i edit it to this and I still do not have the issue:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://
www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>
        <key>CFBundleExecutable</key>
        <string>modoArchiver</string>
        <key>CFBundleGetInfoString</key>
        <string>1.0 ©2009 CGMstudios.com</string>
        <key>CFBundleIconFile</key>
        <string>MA_App.icns</string>
        <key>CFBundleIdentifier</key>
        <string>come.cgmstudios.modoArchiver</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundlePackageType</key>
        <string>APPL</string>
        <key>CFBundleShortVersionString</key>
        <string>1.0</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
        <string>1.2</string>
</dict>
</plist>


On Oct 26, 10:01 am, Giovanni Bajo <[email protected]> wrote:
> On 10/22/2009 8:52 PM, mgenti wrote:
>
> > Taking out the "LSBackgroundOnly" in the plist file also got rid of
> > the "pythonw" message for me however it did add the bouncing icon.  So
> > my app does launch now but has the double icon.
>
> which is unsurprising, given that that option was added specifically to
> remove the double icon.
>
> This is not an acceptable fix for the wxPython issue. Somebody who cares
> about this library on Mac should dig more into the code (involving maybe
> also the wxPython mailing list) to figure it out how to shut down the
> warning.
> --
> Giovanni Bajo
> Develer S.r.l.http://www.develer.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to