Error on timers

Post all technical issues and questions here. We'll gladly help you wherever we can.
Post Reply
User avatar
LivMorganStan
Explorer
Explorer
Posts: 6
Joined: Mon Mar 06, 2023 10:38 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Error on timers

Post 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 :-)
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: Error on timers

Post 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
Image

Image

Image
User avatar
indyc
Explorer At Heart
Explorer At Heart
Posts: 530
Joined: Sun Mar 28, 2021 10:03 pm
Contact:

Re: Error on timers

Post 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.
Last edited by indyc on Mon Nov 18, 2024 9:52 pm, edited 1 time in total.
User avatar
LivMorganStan
Explorer
Explorer
Posts: 6
Joined: Mon Mar 06, 2023 10:38 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: Error on timers

Post 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!
Last edited by LivMorganStan on Mon Nov 18, 2024 10:07 pm, edited 1 time in total.
User avatar
LivMorganStan
Explorer
Explorer
Posts: 6
Joined: Mon Mar 06, 2023 10:38 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: Error on timers

Post 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.
User avatar
indyc
Explorer At Heart
Explorer At Heart
Posts: 530
Joined: Sun Mar 28, 2021 10:03 pm
Contact:

Re: Error on timers

Post 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!
User avatar
LivMorganStan
Explorer
Explorer
Posts: 6
Joined: Mon Mar 06, 2023 10:38 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: Error on timers

Post 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!
Post Reply