[Python-bugs-list] [ python-Bugs-505562 ] Summary: "BuildApplet can destory the source file on Mac OS X"

noreply@sourceforge.net noreply@sourceforge.net
Tue, 05 Feb 2002 14:10:12 -0800


Bugs item #505562, was opened at 2002-01-18 14:14
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=505562&group_id=5470

Category: Macintosh
Group: Python 2.1.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Russell Owen (reowen)
Assigned to: Jack Jansen (jackjansen)
>Summary: Summary: "BuildApplet can destory the source file on Mac OS X"

Initial Comment:
If the name of the file dropped on BuildApplet is the right length, BuildApplet will work and then will delete the source file!!! For instance dropping a file named "Cvt cmm -> Igor data 2-0 long name.py" onto BuildApple first produces a working droplet with name: "Cvt cmm -> Igor data 2#7F2E4" and then the source file simply vanishes. It's really gone, too (or perhaps moved and renamed) -- a disk search doesn't turn it up anywhere.

Making the file name significantly shorter causes everything to work normally. Making the file name significantly longer causes BuildApplet to exit immediately with no error message and nothing done. There seems to be a magic range of file name lengths that cause the source file to softly and silently vanish away.

Configuration:
- Mac OS X 10.1.2
- MacPython 2.1.1 configured for Carbon
- I have only one disk partition, formatted as Mac OS Extended, with tons of free space.

Further details available on request, but I hope the problem is easily reproducible. I tried it many times on my Mac and it always did the same thing.

I doubt the contents of the source file is relevant, but if it is, I do have a copy (with a shorter name!).

-- Russell

----------------------------------------------------------------------

>Comment By: Jack Jansen (jackjansen)
Date: 2002-02-05 14:10

Message:
Logged In: YES 
user_id=45365

An Apple person on pythonmac-sig suggested this is indeed an Apple problem (and a serious one too, therefore). I've submitted it to the Apple bug reporter as ID 2854931.

----------------------------------------------------------------------

Comment By: Jack Jansen (jackjansen)
Date: 2002-01-27 13:35

Message:
Logged In: YES 
user_id=45365

This turns out to be a very serious problem in the way OSX converts long filenames to FSSpecs. I'm taking the discussion to pythonmac-sig (for starters).

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=505562&group_id=5470