Stubborn error messages

All about the past, current and future webteases and the art of webteasing in general.
---
Post Reply
User avatar
ritewriter
Explorer At Heart
Explorer At Heart
Posts: 454
Joined: Sun Jan 02, 2022 6:51 am
Gender: Male
Sexual Orientation: Open to new ideas!
I am a: Switch

Stubborn error messages

Post by ritewriter »

Hey all,

I'm nearly ready to publish my first tease, but I'm getting a couple of stubborn error messages I can't seem to clear. Any hints would be much appreciated:

Validation Errors
pages.breakfast1[10].choice.options[2].commands[3].if.elseCommands[4].say.mode NULL value found, but a string is required
pages.breakfast1[10].choice.options[2].commands[3].if.elseCommands[4].say.mode Does not have a value in the enumeration ["auto","pause","instant","autoplay","custom"]
pages.breakfast6[12].choice.options[2].commands[4].if.elseCommands[3].say.mode NULL value found, but a string is required
pages.breakfast6[12].choice.options[2].commands[4].if.elseCommands[3].say.mode Does not have a value in the enumeration ["auto","pause","instant","autoplay","custom"]

These appear to be my last few bugs after clearing a few dozen others.

Thanks!
Thamrill
Explorer At Heart
Explorer At Heart
Posts: 301
Joined: Thu Jan 03, 2013 4:55 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Stubborn error messages

Post by Thamrill »

ritewriter wrote: Sat Apr 02, 2022 12:56 am Hey all,

I'm nearly ready to publish my first tease, but I'm getting a couple of stubborn error messages I can't seem to clear. Any hints would be much appreciated:

Validation Errors
pages.breakfast1[10].choice.options[2].commands[3].if.elseCommands[4].say.mode NULL value found, but a string is required
pages.breakfast1[10].choice.options[2].commands[3].if.elseCommands[4].say.mode Does not have a value in the enumeration ["auto","pause","instant","autoplay","custom"]
pages.breakfast6[12].choice.options[2].commands[4].if.elseCommands[3].say.mode NULL value found, but a string is required
pages.breakfast6[12].choice.options[2].commands[4].if.elseCommands[3].say.mode Does not have a value in the enumeration ["auto","pause","instant","autoplay","custom"]

These appear to be my last few bugs after clearing a few dozen others.

Thanks!
Looks like those specific say action have their mode unset. Probably setting them in the editor would fix the issue. If they appear to be already set in the editor, probably setting them to another value and resetting them would fix the issue
Image

Image

Image
User avatar
ritewriter
Explorer At Heart
Explorer At Heart
Posts: 454
Joined: Sun Jan 02, 2022 6:51 am
Gender: Male
Sexual Orientation: Open to new ideas!
I am a: Switch

Re: Stubborn error messages

Post by ritewriter »

Yeah, that’s what I did with the say actions that had that error, but these are choices with all kinds of sub actions so I haven’t been able to find the problem. Worst case I’ll have to rewrite those segments.
Thamrill
Explorer At Heart
Explorer At Heart
Posts: 301
Joined: Thu Jan 03, 2013 4:55 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Stubborn error messages

Post by Thamrill »

ritewriter wrote: Sat Apr 02, 2022 6:36 am Yeah, that’s what I did with the say actions that had that error, but these are choices with all kinds of sub actions so I haven’t been able to find the problem. Worst case I’ll have to rewrite those segments.
Can you please share the ID of your tease? I'll take a look
Image

Image

Image
User avatar
ritewriter
Explorer At Heart
Explorer At Heart
Posts: 454
Joined: Sun Jan 02, 2022 6:51 am
Gender: Male
Sexual Orientation: Open to new ideas!
I am a: Switch

Re: Stubborn error messages

Post by ritewriter »

Thamrill
Explorer At Heart
Explorer At Heart
Posts: 301
Joined: Thu Jan 03, 2013 4:55 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Stubborn error messages

Post by Thamrill »

ritewriter wrote: Sat Apr 02, 2022 4:50 pm Sure thing. And thank you.

https://milovana.com/webteases/showteas ... 3dea04d34c
One of the errors is in the page breakfast1, the last action, last options, on the say "<p>You retreat from the kitchen.<\/p>".

The other is in page brakfast6, last action, last choice, , last action on the say "<p>You flee from the kitchen.<\/p>"

You can change both in the script as "instant" and fix this.

If you need it, I can send you the corrected script.

Cheers,
~Thamrill
Image

Image

Image
User avatar
ritewriter
Explorer At Heart
Explorer At Heart
Posts: 454
Joined: Sun Jan 02, 2022 6:51 am
Gender: Male
Sexual Orientation: Open to new ideas!
I am a: Switch

Re: Stubborn error messages

Post by ritewriter »

I finally was able to stomp these bugs! Thanks for the help.
Thamrill
Explorer At Heart
Explorer At Heart
Posts: 301
Joined: Thu Jan 03, 2013 4:55 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Stubborn error messages

Post by Thamrill »

ritewriter wrote: Tue Apr 05, 2022 7:59 pm I finally was able to stomp these bugs! Thanks for the help.
No problem. Should you ever encounter something similar, just download the script and search the text for null. Some of the instances were in the initialization scripts, but also those action showed up.

~Thamrill
Image

Image

Image
Post Reply