Page 1 of 1
Web tag error, tag starting: <#daylightlengt
Posted: Tue 26 May 2020 11:16 am
by sutne
Today I have not Daylight presented but ***Web tag error, tag starting: <#daylightlengt***.
I cannot find that I made any changes today that should cause this. I have only changed string.ini (I think) and had some restarts. I have put back string.ini from yesterday (when I had Daylight presented) and ran CumulusMX with -debug option.
Anyone having any idea? Have the days been too long up here in the north? (No problem last year, but different version)
Enclosed is the diag-file.
Re: Web tag error, tag starting: <#daylightlengt
Posted: Tue 26 May 2020 1:23 pm
by mcrossley
OK, found the problem. It only occurs on the day when you (way up north folk!) transition to permanent daylight, so there is a dawn, but no dusk (and vice versa in autumn). It should be OK again tomorrow
I'll look at fixing it...
Re: Web tag error, tag starting: <#daylightlengt
Posted: Tue 26 May 2020 1:43 pm
by sutne
Thank you!
So it happens twice a year? I have just not observed it before?
Re: Web tag error, tag starting: <#daylightlengt
Posted: Tue 26 May 2020 1:51 pm
by mcrossley
Looking at the existing code, yes it will happen twice a year. The code coped with days where there was never a dawn and dusk, and days where there was a dawn and dusk, not not days like today where there was one but not the other.
I have a fix, and tested it, it will be in the next release.
EDIT: Sun rise/set have the same issue too, again fixed in the next release.
Re: Web tag error, tag starting: <#daylightlengt
Posted: Wed 27 May 2020 5:45 am
by sutne
Today was back to normal.
Skjermbilde 2020-05-27 kl. 07.44.28.png
Re: Web tag error, tag starting: <#daylightlengt
Posted: Tue 16 Jun 2020 1:39 pm
by sutne
I think there is another one.
Now we only have twilight up here in the north, but Cumulus tells me Dagslys / #daylightlength is 00:00.
I am not sure what it should say. Maybe ----- as the others. In fact it is 24:00.
Skjermbilde 2020-06-16 kl. 15.35.14.png
Re: Web tag error, tag starting: <#daylightlengt
Posted: Tue 16 Jun 2020 2:48 pm
by mcrossley
Ha! Yes it is 24:00, CMX uses the time formatting "HH:mm" which for 24:00 will display 00:00. I'll have to put a test in for "all day" and specify a manual string... (next release).
Re: Web tag error, tag starting: <#daylightlengt
Posted: Thu 18 Jun 2020 12:34 pm
by sutne
B3084 solved it:
2887FA9A-31D0-4801-B0EB-3C6A0AEE64D2.jpeg
Thank you!
Re: Web tag error, tag starting: <#daylightlengt
Posted: Thu 18 Jun 2020 12:44 pm
by mcrossley