[ python-Bugs-919776 ] Can't create Carbon.File.FSSpec for non-existent file

SourceForge.net noreply at sourceforge.net
Mon Mar 29 11:07:07 EST 2004


Bugs item #919776, was opened at 2004-03-19 20:36
Message generated for change (Comment added) made by mwh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=919776&group_id=5470

Category: Macintosh
Group: Platform-specific
>Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: has (hhas)
Assigned to: Jack Jansen (jackjansen)
Summary: Can't create Carbon.File.FSSpec for non-existent file

Initial Comment:
MacPython 2.3 can't create a Carbon.File.FSSpec for a non-
existent file. 

Example (where 'NEWFILE' is name of a file still to be created):

from Carbon.File import *

f = FSSpec(u'/Users/has/NEWFILE')

--> MacOS.Error: (-43, 'File not found')

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

>Comment By: Michael Hudson (mwh)
Date: 2004-03-29 17:07

Message:
Logged In: YES 
user_id=6656

I'm fairly sure this is a duplicate... at least, you can find mails on 
pythonmac-sig where I work around this.  It's a bit of a pain.

Ah, yes, it's 706592.  Closing.

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

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



More information about the Python-bugs-list mailing list