[Pythonmac-SIG] IDLE build failure

Jack Jansen Jack.Jansen@oratrix.com
Wed, 25 Dec 2002 23:47:22 +0100


On woensdag, dec 25, 2002, at 22:55 Europe/Amsterdam, Jack Jansen wrote:

>
> On dinsdag, dec 24, 2002, at 20:26 Europe/Amsterdam, Jan de Leeuw  
> wrote:
>
>> Is it just me, or does the current cvs version fail to build IDLE ?
>>
> [...]
>>   File  
>> "/Library/Frameworks/Python.framework/Versions/2.3/Mac/Lib/ 
>> macresource.py", line 77, in open_pathname
>>     refno = Res.FSpOpenResFile(pathname, 1)
>> TypeError: FSSpec, FSRef, pathname or (refnum, parid, path) required
>
> That's a bug I introduced, probably, with the replacement of the old  
> macfs module by Carbon.File and Carbon.Folder. I will look into it.

Yes, it was indeed my bug (when you passed a non-existing pathname  
where an FSSpec was expected the error was obscured). It's fixed in CVS.
--
- Jack Jansen        <Jack.Jansen@oratrix.com>         
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma  
Goldman -