index, week, month, year, almanac are not longer updated

157 views
Skip to first unread message

Astrid

unread,
Mar 19, 2022, 12:56:35 PM3/19/22
to weewx-user
Hello!

I am running weewx 4.7.0 as suse rpm on Leap 15.3
with niculskin.

Since 5 Feb 2022 there is no update of data index.html,
week.html, month.html, year.html, almanac.html.
(I dont know, if there has been an suse-update on this day?)

But the plots on index.html, week.html, month.html, year.html
are with fresh data.

How can I fix it?

Regards, Astrid


Astrid

unread,
Mar 19, 2022, 1:13:47 PM3/19/22
to weewx-user
P.S. And I am using highcharts too.

gjr80

unread,
Mar 19, 2022, 5:07:24 PM3/19/22
to weewx-user
We have no idea what your problem is nor how to fix it. A good place to start though would be to provide a log extract.

Gary

Astrid

unread,
Mar 21, 2022, 7:45:13 AM3/21/22
to weewx-user
Hello!

I can figure it out a littel bit and starting downgrading version of suse rpm of weewx
to the oldest one, which was available, this was working. Then I step up
the suse rpm step by step. 4.5.1 is working, 4.6.0 causes the error, which I described
before. During "playing" with the versions of suse rpm of weewx I did _not_ change
anything on my configs.
This is with DEBUG=1.

Mär 21 12:32:01 linux python3[23332]: weewx[23332] DEBUG weewx.manager: Daily summary version is 4.0
Mär 21 12:32:01 linux /weewxd[23332]: historygenerator.py: Generated 6 tables in 0.12 seconds
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/niculskin/index.html.tmpl failed.
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/niculskin/index.html.tmpl
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'almanac' while searching for 'niculskinLabels.headings.almanac'
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/niculskin/week.html.tmpl failed.
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/niculskin/week.html.tmpl
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'almanac' while searching for 'niculskinLabels.headings.almanac'
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/niculskin/month.html.tmpl failed.
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/niculskin/month.html.tmpl
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'almanac' while searching for 'niculskinLabels.headings.almanac'
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/niculskin/year.html.tmpl failed.
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/niculskin/year.html.tmpl
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'almanac' while searching for 'niculskinLabels.headings.almanac'
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/niculskin/history.html.tmpl failed.
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/niculskin/history.html.tmpl
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'almanac' while searching for 'niculskinLabels.headings.almanac'
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/niculskin/almanac.html.tmpl failed.
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/niculskin/almanac.html.tmpl
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'almanac' while searching for 'niculskinLabels.headings.almanac'
Mär 21 12:32:02 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template
Mär 21 12:32:02 linux python3[23332]: weewx[23332] INFO weewx.cheetahgenerator: Generated 4 files for report StandardReport in 1.26 seconds

And another I found in log:

Mär 21 12:32:02 linux python3[23332]: weewx[23332] DEBUG weewx.manager: Daily summary version is 4.0
Mär 21 12:32:13 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/Highcharts/json/year.json.tmpl failed.
Mär 21 12:32:13 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Highcharts/json/year.json.tmpl
Mär 21 12:32:13 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'outTempMinMax_json'
Mär 21 12:32:13 linux python3[23332]: weewx[23332] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template
Mär 21 12:32:13 linux python3[23332]: weewx[23332] INFO weewx.cheetahgenerator: Generated 1 files for report Highcharts in 11.10 seconds

I dont know, why this?

Mär 21 11:06:30 linux python3[20005]: wee_reports[20005] DEBUG weewx.manager: Daily summary version is 4.0
Mär 21 11:06:38 linux python3[20005]: wee_reports[20005] ERROR weewx.cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
Mär 21 11:06:38 linux python3[20005]: wee_reports[20005] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Highcharts/json/year.json.tmpl
Mär 21 11:06:38 linux python3[20005]: wee_reports[20005] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'outTempMinMax_json'
Mär 21 11:06:38 linux python3[20005]: wee_reports[20005] ERROR weewx.cheetahgenerator: ****  Traceback (most recent call last):
Mär 21 11:06:38 linux python3[20005]: wee_reports[20005] ERROR weewx.cheetahgenerator: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 326, in generate
Mär 21 11:06:38 linux python3[20005]: wee_reports[20005] ERROR weewx.cheetahgenerator: ****      unicode_string = compiled_template.respond()
Mär 21 11:06:38 linux python3[20005]: wee_reports[20005] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_Highcharts_json_year_json_tmpl.py", line 151, in respond
Mär 21 11:06:38 linux python3[20005]: wee_reports[20005] ERROR weewx.cheetahgenerator: ****  NameMapper.NotFound: cannot find 'outTempMinMax_json'

Mär 21 10:49:53 linux python3[18485]: weewx[18485] INFO __main__: Using Python 3.6.15 (default, Sep 23 2021, 15:41:43) [GCC]
Mär 21 10:49:53 linux python3[18485]: weewx[18485] INFO __main__: Platform Linux-5.3.18-150300.59.54-default-x86_64-with-glibc2.3.4
Mär 21 10:49:53 linux python3[18485]: weewx[18485] INFO __main__: Locale is 'de_DE.UTF-8'

Highcharts I am using 0.3.2

Do you need further information?

Regards, Astrid

Tom Keffer

unread,
Mar 21, 2022, 8:26:44 AM3/21/22
to weewx-user
You are using Niculskin, which is a 3rd party extension to WeeWX.

The skin has a template index.html.tmpl. Your version includes a tag that looks something like $niculskinLabels.headings.almanac, which the Cheetah engine cannot find. Looking through the Niculskin code, it does not seem to be defined anywhere. Perhaps you added this tag?

If you did not add the tag, then you will have to contact the skin author.

-tk

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/e45f31fd-4b00-4eb1-9f2f-fb0954d87704n%40googlegroups.com.

Astrid

unread,
Mar 21, 2022, 1:07:24 PM3/21/22
to weewx-user
Hello!

Thanx. I will take a look.
But I did not changes there in the past. The error appears with weewx 4.6.0, with weewx 4.5.1 it was without error.

Regards, Astrid

Astrid

unread,
Mar 22, 2022, 9:09:04 AM3/22/22
to weewx-user
Hello!

This I have in my weewx.conf:

 [[[Almanac]]]
           
            # The labels to be used for the phases of the moon:
            # moon_phases = New, Waxing crescent, First quarter, Waxing gibbous, Full, Waning gibbous, Last quarter, Waning crescent
            moon_phases = Neumond, zunehmender Sichelmond, zunehmender Halbmond, zunehmender Dreiviertelmond, Vollmond, abnehmender Dreiviertelmond, abnehmender Halbmond, abnehmender Sichelmond

But it is already inside since some years ago. I did not change anything at my configuration in the last
time.
The only thing, which is changed is the version of weewx, which was renewed during an suse-update.

Regards, Astrid

Astrid

unread,
Mar 22, 2022, 9:19:42 AM3/22/22
to weewx-user
Yes, if I remember right, I added the almanac  for several years at myself.
But I dont remember, where I get it from.

And this is in skin.conf in nikulskin folder:

[Almanac]
    # The labels to be used for the phases of the moon:
    moon_phases = New, Waxing crescent, First quarter, Waxing gibbous, Full, Waning gibbous, Last quarter, Waning crescent

[CheetahGenerator]
 [[ToDate]]
[[[almanac]]]
            template = almanac.html.tmpl

Astrid

unread,
Mar 24, 2022, 9:00:40 AM3/24/22
to weewx-user
I get it work now. :)
But I do not know, how I get it work exactly.
I have "played" around with position of [, [[, [[[
and now it is working.
Reply all
Reply to author
Forward
0 new messages