Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llDialog not working Today

Robins Hermano
Registered User
Join date: 20 Oct 2006
Posts: 18
01-11-2008 09:43
I've got a menu system for switching media URL's to view. It was working last night at 11:00 PM. Today when the menu comes up and I select an option I get an error message:

llDialog: All buttons must have label strings

Anyone know why this would change from last night to today?
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
01-11-2008 09:47
How do you get the values to use in the menu? Are they built into the script or a notecard, or are they obtained from outside, like from an external web server? If it's from the outside, could you be getting a bad value that the script isn't programmed to handle?
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
01-11-2008 09:57
Works fine for me.

Sounds like you've found an edge case error in your scripts.
Robins Hermano
Registered User
Join date: 20 Oct 2006
Posts: 18
This is weird
01-11-2008 10:14
What's weird is that I have 3 of the same scripts and one of them works. The two that don't I was working on yesterday and Deeded to my group. I've got to believe it has something to do with that, but can't figure out what? Arrrrgghhhhhh!
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
01-11-2008 10:23
Do the objects have notecards that tell them what to put in the dialog? If so, can you open the notecard on the one that doesn't work?

/me wonders if a garbage collector ate it by mistake.
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Robins Hermano
Registered User
Join date: 20 Oct 2006
Posts: 18
Can't open the Notecard
01-11-2008 10:36
Nope just tried and I can't open the notecard. What is a garbage collector?

Frustatingly,

Robins
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
01-11-2008 11:02
From: Robins Hermano
Nope just tried and I can't open the notecard. What is a garbage collector?

Can you open the notecards on the versions that work?? What did it say when you tried to open the one that didn't work?

A good blog post to read: http://blog.secondlife.com/2006/09/13/re-assets-not-being-found-including-missing-image-issues/

Basically, the garbage collector goes around and looks at pretty much everything that exists on the asset servers and tries to figure out which things are no longer in use. If _nothing_ _anywhere_ references an asset, it should be safe to delete. Sometimes this doesn't work quite right and things get deleted when they shouldn't be - this is what causes the script/notecard/whatever "missing from database" error.

Not to worry if that is the problem you're seeing, though. LL knows the GC sometimes goes a bit rabid and there's stuff in place to automatically restore the asset if you get that error. Usually, it gets restored within a day, IIRC.
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Ollj Oh
Registered User
Join date: 28 Aug 2007
Posts: 522
01-11-2008 18:53
the dataserver event can fail.
dialogs can fail if the lists get longer than memory allows, or if strings have more than 24 letters.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
01-11-2008 20:17
to me sounds like the dataserver failed (or read a blank line)... the solution is to check the data and make sure the button text list is not being fed "" before adding it.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Robins Hermano
Registered User
Join date: 20 Oct 2006
Posts: 18
Garbage Collector
01-12-2008 05:32
Still not sure what this is, but I think that must have been the cause. Late yesterday a group member who does not have the proper permissions was able to delete one of the movie screens. After rezzing the returned item, and creating a new object with the media changing script all worked fine.

So I have/had 3 identical scripts objects: Only 1 would work, one object was deleted and when recreated with the same script (copy from my Inventory) it worked. Something just very funky with SL alas seems to be the most logical answer.

Thanks for all your replies.

Robins
Tyken Hightower
Automagical
Join date: 15 Feb 2006
Posts: 472
01-12-2008 07:58
http://jira.secondlife.com/browse/SVC-553

This is a known issue, and it's happened to me, too. Vote.
_____________________