[ python-Bugs-889200 ] bundlebuilder standalone app doesn't fully
quit
SourceForge.net
noreply at sourceforge.net
Thu Feb 12 23:55:22 EST 2004
Bugs item #889200, was opened at 2004-02-02 13:08
Message generated for change (Comment added) made by etrepum
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=889200&group_id=5470
Category: Macintosh
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Russell Owen (reowen)
Assigned to: Jack Jansen (jackjansen)
Summary: bundlebuilder standalone app doesn't fully quit
Initial Comment:
I used bundlebuilder to create a fully standalone app (well, it fails on Jaguar, alas, but the python framework is inside the app). It works fine, but when I quit the app and try to delete it I get the following message from Finder and the item "python" in the .app is not deleted:
The operation cannot be completed because the item "Python" is in use.
The only way I've found to delete the app is to REBOOT. Simply logging out and in again does not do the job (which I find quite startling).
I worked around the problem by making the app semi_standalone, but would rather have it fully self-contained
It's a huge app; I've not tried to break it down, but some things to consider:
- it uses networking (though I need not make a connection to cause this problem)
- it uses Tkinter (and yes the Tcl and Tk frameworks were installed in the app along with the Python framework)
- it uses a few threads for networking (again, though, the problem occurs even if no connection is ever made, suggesting that no threads have to be started to cause the problem)
-- Russell
I have attached the two code files I use to build the application (combined in one zip archive).
----------------------------------------------------------------------
Comment By: Bob Ippolito (etrepum)
Date: 2004-02-12 23:55
Message:
Logged In: YES
user_id=139309
Was the standalone bundle created on Jaguar or Panther?
----------------------------------------------------------------------
Comment By: Jack Jansen (jackjansen)
Date: 2004-02-06 18:17
Message:
Logged In: YES
user_id=45365
Russell,
could you try using "ps" (probably "ps -x", both before running the .app
and after running it) to check that the application has indeed fully exited?
The fact that you mention there are multiple threads somehow suggests
that there is something still using that Python...
----------------------------------------------------------------------
Comment By: Russell Owen (reowen)
Date: 2004-02-02 13:10
Message:
Logged In: YES
user_id=431773
Note: the included BuildMacTUI.py uses semi_standalone = True, but the problem only occurs if I use standalone = True instead. Sorry for the potential confusion.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=889200&group_id=5470
More information about the Python-bugs-list
mailing list