Hi!
Finally got the NOAA-Year to work!
Look at the attached txt-file to see what I changed in my index.html.tmpl.
The dates are those I have in my database so you might have to put in
whatever dates you have in your database.
Maybe the dates updates themself directly, I don't know, but this is
This is how it looks in skin.conf
[CheetahGenerator]
# This section is used by the generator CheetahGenerator, and specifies
# which files are to be generated from which template.
# Possible encodings are 'html_entities', 'utf8', or 'strict_ascii'
encoding = html_entities
Look through the sofa skin configuration file (its skin.conf) and make
sure the sections are in the following order:
[CheetahGenerator]
[[SummaryByMonth]]
...
[[SummaryByDate]]
...
[[ByDate]]
...
The algorithm that populates the drop down list depends on [[ByDate]]
Hi Thomas,
tried the file you attached but it makes no difference with the year
drop-down.
I wrote that I've seen this on other sofa skin templates, but it may occur
on other skins as well but I've been looking at sofa skins most.
In my seasons skin the year drop-down works as intended.
Don't know. Populating the drop down lists depends on running the ByMonth
and ByYear templates before the ToDate templates. But, I realized when
doing the Python 3 port, that the algorithm made an assumption about the
ordering of the dictionary used by ConfigObj. Normally, that's not a
problem,
Aha, so the issue with the NOAA drop downs is on a Sofa skin template
generated page, not the Standard or Seasons skins included with WeeWX. Not
saying that is the cause but I had assumed until now it was the Standard or
Seasons skin.
Gary
On Saturday, 16 March 2019 10:32:55 UTC+10, Micael
Ok, I'll try that tomorrow and let you know the result.
Micael
--
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+unsubscr...@googlegroups.com.
For more
As an experiment, could you please replace your copy of
weewx/cheetahgenerator.py with the attached. Let me know if it makes a
difference.
-tk
On Fri, Mar 15, 2019 at 5:11 PM Micael Fredriksson
wrote:
> Hi Thomas!
>
> Yes, still an issue for me, and as I said I've really tried to change
>
Hi Thomas!
Yes, still an issue for me, and as I said I've really tried to change
things to figure out why only the month drop-down list work and not the
year drop-down. I get both 2018 and 2019 in the list but the don't lead
anywhere when I click on them. But, as I mentioned, if I first click
Micael,
Are you still having problems getting your drop down lists to populate? I
have noticed this problem on a few installations, including one of my own.
-tk
On Fri, Mar 15, 2019 at 1:59 PM Micael Fredriksson
wrote:
> Hello!
>
> I would really appreciate some help figuring out two issues I
Hi,
Regards your colour problem, I know the skin.conf comments indicate you can use
#RRGGBB or 0xBBGGRR but try changing your # format colour settings to 0x format
(ie only use 0x format and not # format). Note your will need to swap the last
and first pair of characters to keep the same
Hello!
I would really appreciate some help figuring out two issues I have with my
Weewx setup. I've really tried to figure out whats wrong but I no longer
have any idea what to change.
On my homepage I can not get the Yearly summary to show the
"NOAA-year.txt", but the "NOAA-month.txt" works
12 matches
Mail list logo