Page 1 of 1

Error on timers

Posted: Mon Nov 18, 2024 6:40 am
by LivMorganStan
Hello I have a tease I've been spending a lot of time on and I keep getting errors for timers

"Does not match the regex pattern ^(([1-9][0-9]*(\.[0-9]*[1-9])?|0(\.[0-9]*[1-9])?)(w|d|h|m|s|ms))+(-(([1-9][0-9]*(\.[0-9]*[1-9])?|0(\.[0-9]*[1-9])?)(w|d|h|m|s|ms))+)?$

Does not match the regex pattern ^\$.*$

Failed to match at least one schema

does anyone know why this is happening, I have the timers in question set to (.1) with the scroll bar and haven't hand typed any of the durations.

any help would be appreciated :-)

Re: Error on timers

Posted: Mon Nov 18, 2024 8:43 am
by Thamrill
Hornyjuan23 wrote: Mon Nov 18, 2024 6:40 am Hello I have a tease I've been spending a lot of time on and I keep getting errors for timers

"Does not match the regex pattern ^(([1-9][0-9]*(\.[0-9]*[1-9])?|0(\.[0-9]*[1-9])?)(w|d|h|m|s|ms))+(-(([1-9][0-9]*(\.[0-9]*[1-9])?|0(\.[0-9]*[1-9])?)(w|d|h|m|s|ms))+)?$

Does not match the regex pattern ^\$.*$

Failed to match at least one schema

does anyone know why this is happening, I have the timers in question set to (.1) with the scroll bar and haven't hand typed any of the durations.

any help would be appreciated :-)
Does this happens when you try to upload a backed up script? Would be helpful to see it, it has probably messed up something when saving it and now it's unable to read it back. It's easy to fix, if you share the script.

~Thamrill

Re: Error on timers

Posted: Mon Nov 18, 2024 2:33 pm
by indyc
I had this issue when I first went to publish (and it freaked me out)! Instead of .1 make it .1s (for seconds) or .1m (for minutes). You can also do h or ms etc but you should be up and running in no time!

What made it so hard for me to figure out at first is that the EOS engine clearly assumes it is seconds and tests it as such without error. It only has an issue when you are either publishing or uploading the backup.

EDIT: I misremembered what caused this error. It will assume .1s is 0.1 second in testing but it will throw an error upon publishing unless you make it 0.1s.

Re: Error on timers

Posted: Mon Nov 18, 2024 9:44 pm
by LivMorganStan
Thamrill wrote: Mon Nov 18, 2024 8:43 am
Hornyjuan23 wrote: Mon Nov 18, 2024 6:40 am Hello I have a tease I've been spending a lot of time on and I keep getting errors for timers

"Does not match the regex pattern ^(([1-9][0-9]*(\.[0-9]*[1-9])?|0(\.[0-9]*[1-9])?)(w|d|h|m|s|ms))+(-(([1-9][0-9]*(\.[0-9]*[1-9])?|0(\.[0-9]*[1-9])?)(w|d|h|m|s|ms))+)?$

Does not match the regex pattern ^\$.*$

Failed to match at least one schema

does anyone know why this is happening, I have the timers in question set to (.1) with the scroll bar and haven't hand typed any of the durations.

any help would be appreciated :-)
Does this happens when you try to upload a backed up script? Would be helpful to see it, it has probably messed up something when saving it and now it's unable to read it back. It's easy to fix, if you share the script.

~Thamrill
this has been fixed thank you!

Re: Error on timers

Posted: Mon Nov 18, 2024 9:45 pm
by LivMorganStan
indyc wrote: Mon Nov 18, 2024 2:33 pm I had this issue when I first went to publish (and it freaked me out)! Instead of .1 make it .1s (for seconds) or .1m (for minutes). You can also do h or ms etc but you should be up and running in no time!

What made it so hard for me to figure out at first is that the EOS engine clearly assumes it is seconds and tests it as such without error. It only has an issue when you are either publishing or uploading the backup.
Thank you for the tip, though I have already tried this fix.

Re: Error on timers

Posted: Mon Nov 18, 2024 9:50 pm
by indyc
Hornyjuan23 wrote: Mon Nov 18, 2024 9:45 pm
indyc wrote: Mon Nov 18, 2024 2:33 pm I had this issue when I first went to publish (and it freaked me out)! Instead of .1 make it .1s (for seconds) or .1m (for minutes). You can also do h or ms etc but you should be up and running in no time!

What made it so hard for me to figure out at first is that the EOS engine clearly assumes it is seconds and tests it as such without error. It only has an issue when you are either publishing or uploading the backup.
Thank you for the tip, though I have already tried this fix.
Sorry, I misremembered what actually happened: viewtopic.php?p=312460#p312460

The actual fix is to put 0.1s instead of .1s!

Re: Error on timers

Posted: Mon Nov 18, 2024 10:06 pm
by LivMorganStan
indyc wrote: Mon Nov 18, 2024 9:50 pm
Hornyjuan23 wrote: Mon Nov 18, 2024 9:45 pm
indyc wrote: Mon Nov 18, 2024 2:33 pm I had this issue when I first went to publish (and it freaked me out)! Instead of .1 make it .1s (for seconds) or .1m (for minutes). You can also do h or ms etc but you should be up and running in no time!

What made it so hard for me to figure out at first is that the EOS engine clearly assumes it is seconds and tests it as such without error. It only has an issue when you are either publishing or uploading the backup.
Thank you for the tip, though I have already tried this fix.
Sorry, I misremembered what actually happened: viewtopic.php?p=312460#p312460

The actual fix is to put 0.1s instead of .1s!
OMG you are a hero, this worked!