[AG-TECH] Re: [Pythonmac-SIG] StandAlone Python Application Does not Release Python

Jerome jeremy.knope at gmail.com
Fri Aug 20 16:31:43 CDT 2004

I've experienced this problem too,hopefully it can be fixed somehow,
even a logout won't clear the file for trashing etc.

On Fri, 20 Aug 2004 17:24:41 -0400, Bob Swerdlow
<rswerdlow at transpose.com> wrote:
> I'm building a stand-alone Python application using PyObjC 1.1 and Python
> 2.3 on Panther.  We've run into a problem: when we make a new release, the
> users find that they cannot copy it over the old release, even after they
> have quit the application - the Finder reports "The operation cannot be
> completed because the item 'Python' is in use."
> This only happens if the old release has been run and then quit.  I look in
> the Activity Monitor and I don't see any processes from our application
> still running and the rest of my processes don't have that file open. The
> file that is "still in use" is
> MyApp.app/Contents/Frameworks/Python.framework/Versions/2.3/Python (I know
> because if I rename that file, the warning message reports the new name).
> If the user manually moves the old application to the trash then the new
> version can be copied with a problem.  However, why is that file still in
> use and how do I avoid this?
> Thanks for your help,
> Bob

More information about the ag-tech mailing list