Re: [weewx-user] Help with NOAA-Year and Unknown color specifier

2019-03-21 Thread Micael Fredriksson
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

Re: [weewx-user] Help with NOAA-Year and Unknown color specifier

2019-03-16 Thread Micael Fredriksson
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

Re: [weewx-user] Help with NOAA-Year and Unknown color specifier

2019-03-16 Thread Thomas Keffer
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]]

Re: [weewx-user] Help with NOAA-Year and Unknown color specifier

2019-03-16 Thread Micael Fredriksson
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.

Re: [weewx-user] Help with NOAA-Year and Unknown color specifier

2019-03-15 Thread Thomas Keffer
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,

Re: [weewx-user] Help with NOAA-Year and Unknown color specifier

2019-03-15 Thread gjr80
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

Re: [weewx-user] Help with NOAA-Year and Unknown color specifier

2019-03-15 Thread Micael Fredriksson
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

Re: [weewx-user] Help with NOAA-Year and Unknown color specifier

2019-03-15 Thread Thomas Keffer
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 >

Re: [weewx-user] Help with NOAA-Year and Unknown color specifier

2019-03-15 Thread Micael Fredriksson
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

Re: [weewx-user] Help with NOAA-Year and Unknown color specifier

2019-03-15 Thread Thomas Keffer
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

[weewx-user] Help with NOAA-Year and Unknown color specifier

2019-03-15 Thread gjr80
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

[weewx-user] Help with NOAA-Year and Unknown color specifier

2019-03-15 Thread Micael Fredriksson
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