Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

script editing broken in MacOS client

Fractal Mandala
Registered User
Join date: 15 Dec 2003
Posts: 60
04-02-2004 23:56
I reported this bug and was told it had been entered, but I'd really like to know when it'll be fixed. Since 1.3, after editing scripts for a while I get "syntax error" for every script, even the default one. Before today I'd found that quitting and restarting resolved the issue, annoying but doable. Now I find even that doesn't work: immediately after logging in, all scripts including the default one give an error when saved.

I know development for the MacOS client isn't handled in-house so client issues specific to it may take longer to resolve. That said, I'd like to know how long I'll have to wait until scripting isn't a pointless exercise.
Doug Linden
Linden Lab Developer
Join date: 27 Nov 2002
Posts: 179
04-03-2004 01:02
We're looking into it right now, but no ETA on when it'll get fixed. We'll try to get it working by our next patch, if possible.

- Doug
Tcoz Bach
Tyrell Victim
Join date: 10 Dec 2002
Posts: 973
04-03-2004 07:43
Hope no coders in the game dev comp are using Macs.
_____________________
** ...you want to do WHAT with that cube? **
Moleculor Satyr
Fireflies!
Join date: 5 Jan 2004
Posts: 2,650
04-03-2004 13:52
It hits anyone, not just Macs. Hit me a couple days ago.
_____________________
</sarcasm>
Tiger Crossing
The Prim Maker
Join date: 18 Aug 2003
Posts: 1,560
04-05-2004 07:54
Yup. I'm the main coder for our game dev project, and I use both PC and Mac to do it, and I get this all the time on both machines.

Once it happens, you HAVE to relog. No way around that.

Without it happening ALL the time, I can only guess if my current way of avoiding the problem works or not. The editor only ever gets into this locked-up state if I compile, get and error, fix that error, and compile again. So when I DO get an error, I not only fix it, but I jump to some other place in the code and make a small change. Even just typing a space and deleting it seems to be enough. Since I started doing that, I haven't gotten the lock-up. (Except sometimes when I forget, of course.)

Your Milage May Vary. (But let us know if it does.)
_____________________
~ Tiger Crossing
~ (Nonsanity)
Moleculor Satyr
Fireflies!
Join date: 5 Jan 2004
Posts: 2,650
04-05-2004 11:47
From: someone
Once it happens, you HAVE to relog. No way around that.


You sure about that? Mine cleared up after about 10 minutes or so.

Edit: They just reproduced this bug on the PC client, according to my tech support person. I gave 'em the steps to reproduce it, apparently.
_____________________
</sarcasm>
Tcoz Bach
Tyrell Victim
Join date: 10 Dec 2002
Posts: 973
04-06-2004 06:37
No idea if this will work consistently, but it's working for me.

For the first time today, I got the syntax error at 0,0 when compiling. I'd seen something like this once before in another life, so just cut all the global declarations (variables and functions), attempted to compile (of course if failed, but not with the syntax 0,0 error), then I pasted all the global variables back. A couple of other errors showed up but they were legit, then I got the syntax at 0,0 again, did the global cut compile paste thing, and it worked again, so I didn't have to log.

Try it see if it works...

- Get syntax error at 0,0
- cut all global variables/functions (default now at top)
- compile
- past them all back in
- compile
_____________________
** ...you want to do WHAT with that cube? **
Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
04-06-2004 07:35
My testing (PC) shows that Tcoz is basically right, but its a little easier than that. If you get a syntax error (all errors? some specifc errors?) you get some extra queued errors as well. Saving about 2 or 3 more times (add and remove a space) will clear those and you will be able to compile without rebooting.

I don't know about the Mac, but it sounds like they may be unrecoverable without a reboot.
_____________________
--
010000010110110101100001001000000100111101101101011001010110011101100001
--
catnip Foo
Registered User
Join date: 18 Feb 2004
Posts: 40
04-11-2004 08:56
thank you!! phew! glad it's not just me!