NOAA Dropdown not populating

335 views
Skip to first unread message

Mauro De Lauretis

unread,
Jul 26, 2017, 6:19:08 AM7/26/17
to weewx-user
Hi! I discovered from one day to the other that my weewx does not pouplate the NOAA dropdown anymore. It seems strange, because I have not made any changes on the settings and the javascript code is still the same.
Any ideas? Thank you!

Andrew Milner

unread,
Jul 26, 2017, 6:31:04 AM7/26/17
to weewx-user
are the noaa files still in the noaa directory??   Does the log give any clues?

Mauro De Lauretis

unread,
Jul 26, 2017, 6:32:22 AM7/26/17
to weewx-user
Hi Andrew!
Yes, the files are still in the directory and the log does not show any error.

Andrew Milner

unread,
Jul 26, 2017, 7:09:48 AM7/26/17
to weewx-user
I'll leave this to an expert as it is out of my league!! 

It appears to me that the dropdown contents should be part of index.html which is generated by cheetah from index.html.tmpl which gets the monthly and yearly lists from (I assume) SummarybyMonth and SummarybyYear which are probably populated by a search list extension - which may, for some unknown reason, have got corrupted.

But that is as far as I got.

mwall

unread,
Jul 26, 2017, 8:04:06 AM7/26/17
to weewx-user


On Wednesday, July 26, 2017 at 6:19:08 AM UTC-4, Mauro De Lauretis wrote:
Hi! I discovered from one day to the other that my weewx does not pouplate the NOAA dropdown anymore. It seems strange, because I have not made any changes on the settings and the javascript code is still the same.
Any ideas? Thank you!

are you running the forecast extension?  if so, which version of the forecast extension, and which version of weewx?  and which components of the forecast reports are you running?
 

Mauro De Lauretis

unread,
Jul 26, 2017, 8:28:36 AM7/26/17
to weewx-user
Hi mwall!

I am running the last released version of weewx together with forecast version 3.12.4.
As component I am using the Weather Underground forecast table.

mwall

unread,
Jul 26, 2017, 10:55:47 AM7/26/17
to weewx-user
On Wednesday, July 26, 2017 at 8:28:36 AM UTC-4, Mauro De Lauretis wrote:
I am running the last released version of weewx together with forecast version 3.12.4.
As component I am using the Weather Underground forecast table.

thanks.  this came up awhile ago:

https://groups.google.com/forum/#!searchin/weewx-user/noaa$20forecast%7Csort:relevance/weewx-user/p1AYCf0KkxI/RSDoww0JBgAJ

i have not been able to solve the problem, because i have not been able to duplicate the behavior.

could you post the template file (e.g., index.html.tmpl) in which you included the forecast table?  then maybe i'll be able to duplicate the behavior to find the root cause.

m

Mauro De Lauretis

unread,
Jul 27, 2017, 5:23:27 AM7/27/17
to weewx-user
Yes, I saw the thread a few days ago, but I did not resolve my problem.
Find the index.html.tmpl and skin.conf attached.

Regadars,

Mauro
index.txt
skin.txt

Mauro De Lauretis

unread,
Aug 22, 2017, 4:51:51 AM8/22/17
to weewx-user
Up!

Nobody can help me to find a solution?

Thomas Keffer

unread,
Aug 22, 2017, 10:13:20 AM8/22/17
to weewx-user
It's hard to do an evaluation without a log file.

The file you included, index.txt, has a bad character in it that does not encode with UTF-8. That could be the problem, but it's hard to tell without the log.

Also, why is it named index.txt instead of index.html.tmpl?

-tk

On Tue, Aug 22, 2017 at 1:51 AM, Mauro De Lauretis <mauro.de...@gmail.com> wrote:
Up!

Nobody can help me to find a solution?

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mauro De Lauretis

unread,
Aug 23, 2017, 7:28:21 PM8/23/17
to weewx-user
It is only because I copied it to Windows
from my raspberry. The file name is the original one. How can I paste you the log file?

Mauro De Lauretis

unread,
Oct 10, 2017, 7:00:44 AM10/10/17
to weewx-user
What kind of bad character did you mean?



Il giorno martedì 22 agosto 2017 16:13:20 UTC+2, Tom Keffer ha scritto:
It's hard to do an evaluation without a log file.

The file you included, index.txt, has a bad character in it that does not encode with UTF-8. That could be the problem, but it's hard to tell without the log.

Also, why is it named index.txt instead of index.html.tmpl?

-tk
On Tue, Aug 22, 2017 at 1:51 AM, Mauro De Lauretis <mauro.de...@gmail.com> wrote:
Up!

Nobody can help me to find a solution?

--
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.

Thomas Keffer

unread,
Oct 10, 2017, 8:19:35 AM10/10/17
to weewx-user
When I try your template (renamed as index.html.tmpl) and your skin configuration (renamed as skin.conf), I get this error:

Oct 10 05:08:09 nuc wee_reports[15923]: cheetahgenerator: Generate failed with exception '<type 'exceptions.UnicodeDecodeError'>'
Oct 10 05:08:09 nuc wee_reports[15923]: cheetahgenerator: **** Ignoring template /home/weewx/skins/Standard/index.html.tmpl
Oct 10 05:08:09 nuc wee_reports[15923]: cheetahgenerator: **** Reason: 'utf8' codec can't decode byte 0xe0 in position 12436: invalid continuation byte
Oct 10 05:08:09 nuc wee_reports[15923]: ****  Traceback (most recent call last):
Oct 10 05:08:09 nuc wee_reports[15923]: ****    File "/home/weewx/bin/weewx/cheetahgenerator.py", line 327, in generate
Oct 10 05:08:09 nuc wee_reports[15923]: ****      filtersLib=weewx.cheetahgenerator)
Oct 10 05:08:09 nuc wee_reports[15923]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1259, in __init__
Oct 10 05:08:09 nuc wee_reports[15923]: ****      self._compile(source, file, compilerSettings=compilerSettings)
Oct 10 05:08:09 nuc wee_reports[15923]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1553, in _compile
Oct 10 05:08:09 nuc wee_reports[15923]: ****      keepRefToGeneratedCode=True)
Oct 10 05:08:09 nuc wee_reports[15923]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 740, in compile
Oct 10 05:08:09 nuc wee_reports[15923]: ****      settings=(compilerSettings or {}))
Oct 10 05:08:09 nuc wee_reports[15923]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Compiler.py", line 1577, in __init__
Oct 10 05:08:09 nuc wee_reports[15923]: ****      source = source.decode(encoding)
Oct 10 05:08:09 nuc wee_reports[15923]: ****    File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
Oct 10 05:08:09 nuc wee_reports[15923]: ****      return codecs.utf_8_decode(input, errors, True)
Oct 10 05:08:09 nuc wee_reports[15923]: ****  UnicodeDecodeError: 'utf8' codec can't decode byte 0xe0 in position 12436: invalid continuation byte

These errors can be difficult to find. You'll have to go through your file index.html.tmpl carefully,  By deleting parts of the file, the bad UTF-8 characters appears to be in the line

<i><b>Nota:</b> Le immagini sono riprese e trasmesse ad una distanza tale da non permettere il riconoscimento dei tratti somatici delle persone, così come previsto dalla vigente normativa sulla privacy.</i>

but I cannot be sure. There are a lot of scripts, styles, and classes that I don't recognize in your report, so I'm afraid I cannot help you much.

-tk


To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscribe@googlegroups.com.

Mauro De Lauretis

unread,
Oct 11, 2017, 8:52:06 AM10/11/17
to weewx-user
Thanks for your reply Tom, I will have a look at it as soon as I can, but It seems strange because I didn't get the error you posted me,

Thomas Keffer

unread,
Oct 11, 2017, 9:10:18 AM10/11/17
to weewx-user
Well, perhaps the error was caused by copying from the RPi to Windows.

In any case, we still have not seen a log file. Set debug=1, restart weewx, then post the log from startup to the first report generation.

-tk

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscribe@googlegroups.com.

Mauro De Lauretis

unread,
Oct 12, 2017, 6:09:02 AM10/12/17
to weewx-user
Following my log file as requested:

Oct 12 12:03:09 raspberrypi weewx[26450]: engine: Loading service weewx.engine.StdArchive
Oct 12 12:03:09 raspberrypi weewx[26450]: engine: Archive will use data binding wx_binding
Oct 12 12:03:09 raspberrypi weewx[26450]: engine: Record generation will be attempted in 'hardware'
Oct 12 12:03:09 raspberrypi weewx[26450]: engine: Using archive interval of 300 seconds (specified by hardware)
Oct 12 12:03:09 raspberrypi weewx[26450]: engine: Use LOOP data in hi/low calculations: 1
Oct 12 12:03:10 raspberrypi weewx[26450]: manager: Daily summary version is 1.0
Oct 12 12:03:10 raspberrypi weewx[26450]: engine: Using binding 'wx_binding' to database 'weewx'
Oct 12 12:03:10 raspberrypi weewx[26450]: manager: Starting backfill of daily summaries
Oct 12 12:03:10 raspberrypi weewx[26450]: engine: Finished loading service weewx.engine.StdArchive
Oct 12 12:03:10 raspberrypi weewx[26450]: engine: Loading service user.forecast.ZambrettiForecast
Oct 12 12:03:15 raspberrypi weewx[26450]: forecast: MainThread: Zambretti: forecast version 3.2.14
Oct 12 12:03:15 raspberrypi weewx[26450]: forecast: MainThread: Zambretti: last forecast issued 2017-10-12 09:00:00 CEST (1507791600), requested 2017-10-12 09:00:00 CEST (1507791600)
Oct 12 12:03:15 raspberrypi weewx[26450]: forecast: MainThread: Zambretti: interval=600 max_age=604800 winddir_period=1800 pressure_period=10800 hemisphere=NORTH lower_pressure=950.0 upper_pressure=1050.0
Oct 12 12:03:15 raspberrypi weewx[26450]: engine: Finished loading service user.forecast.ZambrettiForecast
Oct 12 12:03:16 raspberrypi weewx[26450]: engine: Loading service user.forecast.NWSForecast
Oct 12 12:03:16 raspberrypi weewx[26450]: forecast: MainThread: NWS: forecast version 3.2.14
Oct 12 12:03:16 raspberrypi weewx[26450]: forecast: MainThread: NWS: location ID (lid) is not specified
Oct 12 12:03:16 raspberrypi weewx[26450]: forecast: MainThread: NWS: forecast office ID (foid) is not specified
Oct 12 12:03:16 raspberrypi weewx[26450]: forecast: MainThread: NWS: forecast will not be run
Oct 12 12:03:16 raspberrypi weewx[26450]: engine: Finished loading service user.forecast.NWSForecast
Oct 12 12:03:16 raspberrypi weewx[26450]: engine: Loading service user.forecast.WUForecast
Oct 12 12:03:16 raspberrypi weewx[26450]: forecast: MainThread: WU: forecast version 3.2.14
Oct 12 12:03:17 raspberrypi weewx[26450]: forecast: MainThread: WU: last forecast issued 2017-10-12 09:05:18 CEST (1507791918), requested 2017-10-12 09:05:18 CEST (1507791918)
Oct 12 12:03:17 raspberrypi weewx[26450]: forecast: MainThread: WU: interval=10800 max_age=604800 api_key=XXXXXXXXXXXXc450 location=42.63468170,14.04046631 fc=hourly10day
Oct 12 12:03:17 raspberrypi weewx[26450]: engine: Finished loading service user.forecast.WUForecast
Oct 12 12:03:17 raspberrypi weewx[26450]: engine: Loading service user.forecast.OWMForecast
Oct 12 12:03:17 raspberrypi weewx[26450]: forecast: MainThread: OWM: forecast version 3.2.14
Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: OWM: API key (api_key) is not specified
Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: OWM: forecast will not be run
Oct 12 12:03:18 raspberrypi weewx[26450]: engine: Finished loading service user.forecast.OWMForecast
Oct 12 12:03:18 raspberrypi weewx[26450]: engine: Loading service user.forecast.UKMOForecast
Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: UKMO: forecast version 3.2.14
Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: UKMO: API key (api_key) is not specified
Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: UKMO: location is not specified
Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: UKMO: forecast will not be run
Oct 12 12:03:18 raspberrypi weewx[26450]: engine: Finished loading service user.forecast.UKMOForecast
Oct 12 12:03:18 raspberrypi weewx[26450]: engine: Loading service user.forecast.AerisForecast
Oct 12 12:03:18 raspberrypi weewx[26450]: forecast: MainThread: Aeris: forecast version 3.2.14
Oct 12 12:03:19 raspberrypi weewx[26450]: forecast: MainThread: Aeris: client identifier (client_id) is not specified
Oct 12 12:03:19 raspberrypi weewx[26450]: forecast: MainThread: Aeris: client secret (client_secret) is not specified
Oct 12 12:03:19 raspberrypi weewx[26450]: forecast: MainThread: Aeris: forecast will not be run
Oct 12 12:03:19 raspberrypi weewx[26450]: engine: Finished loading service user.forecast.AerisForecast
Oct 12 12:03:19 raspberrypi weewx[26450]: engine: Loading service user.forecast.WWOForecast
Oct 12 12:03:19 raspberrypi weewx[26450]: forecast: MainThread: WWO: forecast version 3.2.14
Oct 12 12:03:20 raspberrypi weewx[26450]: forecast: MainThread: WWO: API key (api_key) is not specified
Oct 12 12:03:20 raspberrypi weewx[26450]: forecast: MainThread: WWO: forecast will not be run
Oct 12 12:03:20 raspberrypi weewx[26450]: engine: Finished loading service user.forecast.WWOForecast
Oct 12 12:03:20 raspberrypi weewx[26450]: engine: Loading service user.forecast.XTideForecast
Oct 12 12:03:20 raspberrypi weewx[26450]: forecast: MainThread: XTide: forecast version 3.2.14
Oct 12 12:03:22 raspberrypi weewx[26450]: forecast: MainThread: XTide: location (location) has not been specified
Oct 12 12:03:22 raspberrypi weewx[26450]: forecast: MainThread: XTide: forecast will not be run
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading service user.forecast.XTideForecast
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service weewx.restx.StdStationRegistry
Oct 12 12:03:22 raspberrypi weewx[26450]: restx: StationRegistry: Station will be registered.
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading service weewx.restx.StdStationRegistry
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service weewx.restx.StdWunderground
Oct 12 12:03:22 raspberrypi weewx[26450]: restx: Wunderground-RF: Data for station IABRUZZO65 will be posted
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading service weewx.restx.StdWunderground
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service weewx.restx.StdPWSweather
Oct 12 12:03:22 raspberrypi weewx[26450]: restx: PWSweather: Posting not enabled.
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading service weewx.restx.StdPWSweather
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service weewx.restx.StdCWOP
Oct 12 12:03:22 raspberrypi weewx[26450]: restx: CWOP: Posting not enabled.
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading service weewx.restx.StdCWOP
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service weewx.restx.StdWOW
Oct 12 12:03:22 raspberrypi weewx[26450]: restx: WOW: Posting not enabled.
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading service weewx.restx.StdWOW
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service weewx.restx.StdAWEKAS
Oct 12 12:03:22 raspberrypi weewx[26450]: restx: AWEKAS: Posting not enabled.
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading service weewx.restx.StdAWEKAS
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service weewx.engine.StdPrint
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading service weewx.engine.StdPrint
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Loading service weewx.engine.StdReport
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Finished loading service weewx.engine.StdReport
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Starting up weewx version 3.7.1
Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: gentle wake up of console successful
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Clock error is -0.50 seconds (positive is fast)
Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: Getting archive packets since 2017-10-12 12:00:00 CEST (1507802400)
Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: gentle wake up of console successful
Oct 12 12:03:22 raspberrypi weewx[26450]: manager: Daily summary version is 1.0
Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: Retrieving 0 page(s); starting index= 0
Oct 12 12:03:22 raspberrypi weewx[26450]: engine: Starting main packet loop.
Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: gentle wake up of console successful
Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: Requesting 200 LOOP packets.
Oct 12 12:03:22 raspberrypi weewx[26450]: vantage: gentle wake up of console successful
Oct 12 12:05:15 raspberrypi weewx[26450]: vantage: Retrieving 1 page(s); starting index= 2
Oct 12 12:05:16 raspberrypi weewx[26450]: manager: Added record 2017-10-12 12:05:00 CEST (1507802700) to database 'weewx'
Oct 12 12:05:16 raspberrypi weewx[26450]: manager: Added record 2017-10-12 12:05:00 CEST (1507802700) to daily summary in 'weewx'
Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: MainThread: Zambretti: starting thread
Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: MainThread: WU: not yet time to do the forecast
Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: generating forecast for 2017-10-12 09:00:00 CEST (1507791600)
Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: using winddir from 2017-10-12 08:30:00 CEST (1507789800) to 2017-10-12 09:00:00 CEST (1507791600)
Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: using pressure from 2017-10-12 06:00:00 CEST (1507780800) to 2017-10-12 09:00:00 CEST (1507791600)
Oct 12 12:05:16 raspberrypi weewx[26450]: vantage: DMPAFT complete: page timestamp 2017-10-03 14:50:00 CEST (1507035000) less than final timestamp 2017-10-12 12:05:00 CEST (1507802700)
Oct 12 12:05:17 raspberrypi weewx[26450]: vantage: Catch up complete.
Oct 12 12:05:17 raspberrypi weewx[26450]: reportengine: Running reports for latest time in the database.
Oct 12 12:05:17 raspberrypi weewx[26450]: reportengine: Running report StandardReport
Oct 12 12:05:17 raspberrypi weewx[26450]: vantage: Requesting 200 LOOP packets.
Oct 12 12:05:17 raspberrypi weewx[26450]: manager: Daily summary version is 1.0
Oct 12 12:05:17 raspberrypi weewx[26450]: vantage: gentle wake up of console successful
Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: units=16 winddir=224.444850458 pressure=1021.98265865 first_p=1021.50398811 last_p=1021.50398811
Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: pressure=1021.98265865 month=9 winddir=9 trend=0.0 north=True
Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: code is E
Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: generated 1 forecast record
Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: saving 1 forecast records
Oct 12 12:05:17 raspberrypi weewx[26450]: manager: Added record 2017-10-12 12:05:00 CEST (1507802700) to database 'forecast'
Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: saved 1 forecast records
Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: deleting forecasts prior to 1507197917
Oct 12 12:05:17 raspberrypi weewx[26450]: restx: StationRegistry: Failed to publish record 2017-10-12 12:05:00 CEST (1507802700): FAIL: execute failed: database disk image is malformed
Oct 12 12:05:18 raspberrypi weewx[26450]: reportengine: Found configuration file /etc/weewx/skins/Standard/skin.conf for report StandardReport
Oct 12 12:05:18 raspberrypi weewx[26450]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'user.stats.MyStats', 'user.forecast.ForecastVariables']
Oct 12 12:05:18 raspberrypi weewx[26450]: manager: Daily summary version is 1.0
Oct 12 12:05:18 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: deleted forecasts prior to 1507197917
Oct 12 12:05:18 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: terminating thread
Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: using winddir from 2017-10-12 08:30:00 CEST (1507789800) to 2017-10-12 09:00:00 CEST (1507791600)
Oct 12 12:05:16 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: using pressure from 2017-10-12 06:00:00 CEST (1507780800) to 2017-10-12 09:00:00 CEST (1507791600)
Oct 12 12:05:16 raspberrypi weewx[26450]: vantage: DMPAFT complete: page timestamp 2017-10-03 14:50:00 CEST (1507035000) less than final timestamp 2017-10-12 12:05:00 CEST (1507802700)
Oct 12 12:05:17 raspberrypi weewx[26450]: vantage: Catch up complete.
Oct 12 12:05:17 raspberrypi weewx[26450]: reportengine: Running reports for latest time in the database.
Oct 12 12:05:17 raspberrypi weewx[26450]: reportengine: Running report StandardReport
Oct 12 12:05:17 raspberrypi weewx[26450]: vantage: Requesting 200 LOOP packets.
Oct 12 12:05:17 raspberrypi weewx[26450]: manager: Daily summary version is 1.0
Oct 12 12:05:17 raspberrypi weewx[26450]: vantage: gentle wake up of console successful
Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: units=16 winddir=224.444850458 pressure=1021.98265865 first_p=1021.50398811 last_p=1021.50398811
Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: pressure=1021.98265865 month=9 winddir=9 trend=0.0 north=True
Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: code is E
Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: generated 1 forecast record
Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: saving 1 forecast records
Oct 12 12:05:17 raspberrypi weewx[26450]: manager: Added record 2017-10-12 12:05:00 CEST (1507802700) to database 'forecast'
Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: saved 1 forecast records
Oct 12 12:05:17 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: deleting forecasts prior to 1507197917
Oct 12 12:05:17 raspberrypi weewx[26450]: restx: StationRegistry: Failed to publish record 2017-10-12 12:05:00 CEST (1507802700): FAIL: execute failed: database disk image is malformed
Oct 12 12:05:18 raspberrypi weewx[26450]: reportengine: Found configuration file /etc/weewx/skins/Standard/skin.conf for report StandardReport
Oct 12 12:05:18 raspberrypi weewx[26450]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'user.stats.MyStats', 'user.forecast.ForecastVariables']
Oct 12 12:05:18 raspberrypi weewx[26450]: manager: Daily summary version is 1.0
Oct 12 12:05:18 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: deleted forecasts prior to 1507197917
Oct 12 12:05:18 raspberrypi weewx[26450]: forecast: ZambrettiThread: Zambretti: terminating thread
Oct 12 12:06:22 raspberrypi weewx[26450]: cheetahgenerator: Generated 9 files for report StandardReport in 64.23 seconds
Oct 12 12:06:22 raspberrypi weewx[26450]: manager: Daily summary version is 1.0
Oct 12 12:06:31 raspberrypi weewx[26450]: imagegenerator: Generated 12 images for StandardReport in 9.17 seconds
Oct 12 12:06:32 raspberrypi weewx[26450]: copygenerator: copied 86 files to /etc/weewx/public_html
Oct 12 12:06:32 raspberrypi weewx[26450]: reportengine: Running report forecast
Oct 12 12:06:32 raspberrypi weewx[26450]: reportengine: Found configuration file /etc/weewx/skins/forecast/skin.conf for report forecast
Oct 12 12:06:32 raspberrypi weewx[26450]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'user.forecast.ForecastVariables']
Oct 12 12:06:32 raspberrypi weewx[26450]: manager: Daily summary version is 1.0
Oct 12 12:06:32 raspberrypi weewx[26450]: cheetahgenerator: Generated 0 files for report forecast in 0.11 seconds
Oct 12 12:06:34 raspberrypi dhcpcd[407]: eth0: Router Advertisement from fe80::9e97:26ff:fe62:7e7a
Oct 12 12:06:34 raspberrypi weewx[26450]: copygenerator: copied 87 files to /etc/weewx/public_html/forecast
Oct 12 12:06:34 raspberrypi weewx[26450]: reportengine: Running report FTP
Oct 12 12:06:34 raspberrypi weewx[26450]: reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report FTP
Oct 12 12:06:34 raspberrypi weewx[26450]: ftpupload: Attempting connection to ftp.meteopineto.it

Andrew Milner

unread,
Oct 12, 2017, 6:39:20 AM10/12/17
to weewx-user
Is there a reason why the log file repeats itself - the entries from 12:05:16 - 12:05:18 appear to be duplicated

Thomas Keffer

unread,
Oct 12, 2017, 7:43:27 AM10/12/17
to weewx-user
For the most part, this looks normal, although you did not post from the startup of weewx, so we cannot see all the configuration information. 

Things to try:
  • HTML files are being put in /etc/weewx/public_html, which is a non-standard location. Did you change this in weewx.conf?
  • You say the problem is that the NOAA dropdown is not populated any longer. If you look inside the generated file, index.html, do you see any options in the <select> list? Can you either post the generated file, or point us to a website that displays it?
  • There are a lot of non-standard things in your template and in your skin.conf file, so it's very hard to diagnose. You may have to pare things down to the minimum to see where the problem is.
Regards,

-tk

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscribe@googlegroups.com.

Mauro De Lauretis

unread,
Oct 12, 2017, 8:40:55 AM10/12/17
to weewx-user
@Andrew: yes, there is a reason. I wrongly copied twice the same line.

@Tom:

1) That's what I have in my weewx.conf:

# Where the generated reports should go, relative to WEEWX_ROOT
    HTML_ROOT = public_html

I did not rember that if I changed it on myself..

2) in my index.html the > <select> option is still the original one, but javascript does not work. My orginal tables are on: http://www.meteopineto.it/NOAA/NOAA-2017.txt (example).

3) It is very strange, I never changed something, but only included the forecast extension.



Greetings

Andrew Milner

unread,
Oct 12, 2017, 8:49:21 AM10/12/17
to weewx-user
Can you attach index.html to your next post so that we can see the contents of the select inside the generated page.

Don't just include the html in the post, but use the attach option to attach the file to the post as an attachment

mwall

unread,
Oct 12, 2017, 9:16:00 AM10/12/17
to weewx-user
it would help to see the contents of the template file.  please post the index.html.tmpl and skin.conf

(the last time you posted them was in july, and i'm sure things have changed since then)

Thomas Keffer

unread,
Oct 12, 2017, 9:56:40 AM10/12/17
to weewx-user
I found the website where the dropdown list is located. We could have solved this faster if you had posted its location. http://www.meteopineto.it/info.html

The problem is that the page where the dropdown list is located was not generated by the skin.conf file, so it has no knowledge of what months were generated. There is no magic here where the Javascript has some knowledge about what files are available.

Put the dropdown list in the "Oggi" page, http://www.meteopineto.it/index.html, and I suspect all will be well.

I doubt it ever worked.

-tk

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscribe@googlegroups.com.

Mauro De Lauretis

unread,
Oct 12, 2017, 10:08:31 AM10/12/17
to weewx-user
Believe me, It worked with the same settings as know.

I removed the select option from index.html because it was still the same story.

Find attached index.html and skin.conf
index.html.tmpl
skin.conf

Andrew Milner

unread,
Oct 12, 2017, 10:43:26 AM10/12/17
to weewx-user
Tom - Curiously the dropdown appears to be on all pages EXCEPT Oggi - and all do not seem to work - not week, month or year - all of which seem to try and have the drop down
Andrew

mwall

unread,
Oct 12, 2017, 10:56:16 AM10/12/17
to weewx-user
On Thursday, October 12, 2017 at 10:08:31 AM UTC-4, Mauro De Lauretis wrote:

Find attached index.html and skin.conf

please try removing line 221:

                        #include "forecast_table.inc"
 
see if the select menus are populated when that is removed.

Mauro De Lauretis

unread,
Oct 12, 2017, 11:53:19 AM10/12/17
to weewx-user
Same story, I don't think it depends on that because everything worked fine with the same settings till July when I opened this thread.

Andrew Milner

unread,
Oct 12, 2017, 12:23:20 PM10/12/17
to weewx-user
1.  Have you done what Tom suggested - and put the NOAA dropdown into the oggi (index.html.tmpl) page
2.  Have you done what Matthew requested, and deleted the line from the index.html.tmpl?

As the creators of weewx and the forecast module - these are the two people who are most likely to be able to solve your problems - so doing what they suggest is a good place to begin!!

Mauro De Lauretis

unread,
Oct 12, 2017, 1:11:20 PM10/12/17
to weewx-user
Of course I have.. that's why I replied :-)

mwall

unread,
Oct 12, 2017, 2:30:46 PM10/12/17
to weewx-user
On Thursday, October 12, 2017 at 11:53:19 AM UTC-4, Mauro De Lauretis wrote:
Same story, I don't think it depends on that because everything worked fine with the same settings till July when I opened this thread.

what happens when you remove everything in index.html.tmpl but the footer block?

are the noaa menus populated then?
 

Mauro De Lauretis

unread,
Oct 13, 2017, 6:15:44 AM10/13/17
to weewx-user
Sorry mwall, maybe I did not understand you..

Remove everything but the footer block? What do you mean exactly?

Greets and thank you

mwall

unread,
Oct 13, 2017, 7:21:55 AM10/13/17
to weewx-user
On Friday, October 13, 2017 at 6:15:44 AM UTC-4, Mauro De Lauretis wrote:
Sorry mwall, maybe I did not understand you..

Remove everything but the footer block? What do you mean exactly?

in the file index.html.tmpl, remove all of the html from the <body> except for the <footer></footer> block.

see if the menus are populated.

then put sections of html code back in, one by one, running wee_reports after each one, until you determine which part is causing the problem.

Andrew Milner

unread,
Oct 13, 2017, 7:35:27 AM10/13/17
to weewx-user
Matthew - I just compared the Italian .html.tmpl and my (unused and quite old) version.  I note lack of use of upper case NAME for the java function and different line breaks as though the Italian may possibly have been through Linux/windows/Linux conversions as the line breaks are in different places.  Is it possible the template has been corrupted in some manner, and/or should NAME indeed have to be in upper case?? 
Andrew
two index.html.tmpl extracts.rtf

Mauro De Lauretis

unread,
Oct 15, 2017, 6:05:34 AM10/15/17
to weewx-user
Hi mwall,

thanks for your reply! I'm not at home in these days, but I will try it as soon as possible.
I will let you know.

Greets
Reply all
Reply to author
Forward
0 new messages