[Pythonmac-SIG] StandAlone Python Application Does not Release
Python
Bob Ippolito
bob at redivi.com
Sat Aug 21 10:16:42 CEST 2004
On Aug 21, 2004, at 3:52 AM, Jack Jansen wrote:
>
> On 20 Aug 2004, at 23:44, Bob Ippolito wrote:
>
>>
>> On Aug 20, 2004, at 5:24 PM, Bob Swerdlow 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."
>>
>> I think this has something to do with the fact that bundlebuilder
>> uses a script stub that is execve'd. You should try using the PyObjC
>> Xcode template until there is a release of py2app or bundlebuilder2
>> that uses a proper executable stub.
>
> BobI,
> could you explain, please? Someone else reported a similar problem
> (with Idle, I think?) where he/she also couldn't remove Python because
> it was in use, about half a year ago. At that time we never found out
> what the problem was...
It's just a guess, Im pretty sure I've seen it before myself once or
twice, but I'm pretty sure I haven't seen it since I switched to the
proper application stub.
-bob
More information about the Pythonmac-SIG
mailing list