[Pythonmac-SIG] Error in BuildCGIApplet?
Just van Rossum
just@letterror.com
Mon, 24 Sep 2001 16:16:39 +0200
Bob Heeter wrote:
> Inspection of the other code being called suggests that the
> call to Res.FSpOpenResFile(dst,1) is attempting to open the file
> in read-only mode. That is, the "1" in "(dst,1)" is shorthand for "read"
> while "2" would be "write". I modified the code to use "2" instead of "1"
> and rebuilt BuildCGIApplet, and it works like a charm. (I wouldn't have
> had a clue, but someone was kind enough to enumerate the constants
> in a different module, so when I saw WRITE = 2 and a call elsewhere
> with (dst, WRITE) a big light bulb lit up and all my problems were solved...)
Synchronicity! I ran into this last friday... It's fixed in CVS now.
> The only other problem I've had with 2.1.1 vs. 1.5c2 is that every
> applet which terminates abnormally (either by coughing up an exception
> or via command-dot) goes into a menu-less mode where my only option
> is to force-quit. I know this misbehavior has already been reported,
> but I can't tell if it has been fixed yet?
Not that I know: it's very annoying indeed. I think Jack's still on holiday, and
I'm not famiuliar enough with this area right now.
Just