cheetahgenerator: Generate failed with exception '<class 'weedb.NoColumnError'>'
Nov 5 10:05:19 SkyWeather weewx[30088]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/Standard/week.html.tmpl
Nov 5 10:05:19 SkyWeather weewx[30088]: cheetahgenerator: **** Reason: no such column: wind
Nov 5 10:05:19 SkyWeather weewx[30088]: **** Traceback (most recent call last):
Nov 5 10:05:19 SkyWeather weewx[30088]: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate
Nov 5 10:05:19 SkyWeather weewx[30088]: **** print >> _file, compiled_template
Nov 5 10:05:19 SkyWeather weewx[30088]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
Nov 5 10:05:19 SkyWeather weewx[30088]: **** rc = getattr(self, mainMethName)()
Nov 5 10:05:19 SkyWeather weewx[30088]: **** File "_etc_weewx_skins_Standard_week_html_tmpl.py", line 949, in respond
Nov 5 10:05:19 SkyWeather weewx[30088]: **** File "_etc_weewx_skins_Standard_week_html_tmpl.py", line 245, in __errorCatcher26
Nov 5 10:05:19 SkyWeather weewx[30088]: **** File "<string>", line 1, in <module>
Nov 5 10:05:19 SkyWeather weewx[30088]: **** File "/usr/share/weewx/weewx/tags.py", line 329, in __getattr__
Nov 5 10:05:19 SkyWeather weewx[30088]: **** return self._do_query(aggregate_type)
Nov 5 10:05:19 SkyWeather weewx[30088]: **** File "/usr/share/weewx/weewx/tags.py", line 343, in _do_query
Nov 5 10:05:19 SkyWeather weewx[30088]: **** val=val, **self.option_dict)
Nov 5 10:05:19 SkyWeather weewx[30088]: **** File "/usr/share/weewx/weewx/wxmanager.py", line 60, in getAggregate
Nov 5 10:05:19 SkyWeather weewx[30088]: **** return weewx.manager.DaySummaryManager.getAggregate(self, timespan, obs_type, aggregateType, **option_dict)
Nov 5 10:05:19 SkyWeather weewx[30088]: **** File "/usr/share/weewx/weewx/manager.py", line 1249, in getAggregate
Nov 5 10:05:19 SkyWeather weewx[30088]: **** **option_dict)
Nov 5 10:05:19 SkyWeather weewx[30088]: **** File "/usr/share/weewx/weewx/manager.py", line 458, in getAggregate
Nov 5 10:05:19 SkyWeather weewx[30088]: **** _row = self.getSql(select_stmt % interpolate_dict)
Nov 5 10:05:19 SkyWeather weewx[30088]: **** File "/usr/share/weewx/weewx/manager.py", line 394, in getSql
Nov 5 10:05:19 SkyWeather weewx[30088]: **** _cursor.execute(sql, sqlargs)
Nov 5 10:05:19 SkyWeather weewx[30088]: **** File "/usr/share/weewx/weedb/sqlite.py", line 41, in guarded_fn
Nov 5 10:05:19 SkyWeather weewx[30088]: **** raise weedb.NoColumnError(e)
Nov 5 10:05:19 SkyWeather weewx[30088]: **** NoColumnError: no such column: wind
Nov 5 10:25:16 SkyWeather weewx[30611]: manager: Added record 2018-11-05 10:25:00 -02 (1541420700) to database 'weewx'
Nov 5 10:25:16 SkyWeather weewx[30611]: manager: Added record 2018-11-05 10:25:00 -02 (1541420700) to daily summary in 'weewx'
Nov 5 10:25:18 SkyWeather weewx[30611]: cheetahgenerator: Generate failed with exception '<class 'weewx.ViolatedPrecondition'>'
Nov 5 10:25:18 SkyWeather weewx[30611]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/Standard/week.html.tmpl
Nov 5 10:25:18 SkyWeather weewx[30611]: cheetahgenerator: **** Reason: Invalid aggregation type 'gustdir'
Nov 5 10:25:18 SkyWeather weewx[30611]: **** Traceback (most recent call last):
Nov 5 10:25:18 SkyWeather weewx[30611]: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate
Nov 5 10:25:18 SkyWeather weewx[30611]: **** print >> _file, compiled_template
Nov 5 10:25:18 SkyWeather weewx[30611]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
Nov 5 10:25:18 SkyWeather weewx[30611]: **** rc = getattr(self, mainMethName)()
Nov 5 10:25:18 SkyWeather weewx[30611]: **** File "_etc_weewx_skins_Standard_week_html_tmpl.py", line 952, in respond
Nov 5 10:25:18 SkyWeather weewx[30611]: **** File "_etc_weewx_skins_Standard_week_html_tmpl.py", line 252, in __errorCatcher27
Nov 5 10:25:18 SkyWeather weewx[30611]: **** File "<string>", line 1, in <module>
Nov 5 10:25:18 SkyWeather weewx[30611]: **** File "/usr/share/weewx/weewx/tags.py", line 329, in __getattr__
Nov 5 10:25:18 SkyWeather weewx[30611]: **** return self._do_query(aggregate_type)
Nov 5 10:25:18 SkyWeather weewx[30611]: **** File "/usr/share/weewx/weewx/tags.py", line 343, in _do_query
Nov 5 10:25:18 SkyWeather weewx[30611]: **** val=val, **self.option_dict)
Nov 5 10:25:18 SkyWeather weewx[30611]: **** File "/usr/share/weewx/weewx/wxmanager.py", line 60, in getAggregate
Nov 5 10:25:18 SkyWeather weewx[30611]: **** return weewx.manager.DaySummaryManager.getAggregate(self, timespan, obs_type, aggregateType, **option_dict)
Nov 5 10:25:18 SkyWeather weewx[30611]: **** File "/usr/share/weewx/weewx/manager.py", line 1249, in getAggregate
Nov 5 10:25:18 SkyWeather weewx[30611]: **** **option_dict)
Nov 5 10:25:18 SkyWeather weewx[30611]: **** File "/usr/share/weewx/weewx/manager.py", line 449, in getAggregate
Nov 5 10:25:18 SkyWeather weewx[30611]: **** raise weewx.ViolatedPrecondition("Invalid aggregation type '%s'" % aggregate_type)
Nov 5 10:25:18 SkyWeather weewx[30611]: **** ViolatedPrecondition: Invalid aggregation type 'gustdir'
Nov 5 10:25:20 SkyWeather weewx[30611]: cheetahgenerator: Generated 13 files for report StandardReport in 3.53 seconds
Nov 5 10:25:21 SkyWeather weewx[30611]: imagegenerator: Generated 12 images for StandardReport in 1.19 seconds
Nov 5 10:25:21 SkyWeather weewx[30611]: copygenerator: copied 0 files to /var/www/html/weewx
--
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.
For more options, visit https://groups.google.com/d/optout.
Gary
This is unlikely to be a MySQL or SQLIte error and it definitely is not due to a missing wind or gustdir field. The original missing wind field error is possibly because your archive has some future dated records which causes some of the aggregates to misbehave. To rule this out we need to see some info about your database. The easiest way to do this without explaining a number of SQL commands is for you to post the output of wee_debug (http://weewx.com/docs/utilities.htm#wee_debug_utility). Just make sure you check the output before positing to ensure any passwords, logins or other sensitive data has been obfuscated.
Gary
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/llOh8p8emYY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
Gary
That report indicates there are no future dated records. Just out of interest what s the content of the file that the fileparse driver is reading, /var/weather.data, it doesn't have a field named dateTime does it?
Gary
Content of /tmp/weather.data:rainRate=0.0windSpeed=10.0466685247windGust=16.3395133004pressure=28.0709227outTemp=84.2outHumidity=71.1999969482windDir=0.0UV=1.59VIS=554
But the problem is that this errors ocours even with simulator on fresh install....
--
Nov 5 10:02:31 SkyWeather weewx[30084]: engine: Initializing weewx version 3.8.2Nov 5 10:02:31 SkyWeather weewx[30084]: engine: Using Python 2.7.13 (default, Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516]Nov 5 10:02:31 SkyWeather weewx[30084]: engine: Platform Linux-4.14.71-v7+-armv7l-with-debian-9.4Nov 5 10:02:31 SkyWeather weewx[30084]: engine: Locale is 'en_GB.UTF-8'Nov 5 10:02:31 SkyWeather weewx[30084]: engine: pid file is /var/run/weewx.pidNov 5 10:02:31 SkyWeather weewx[30088]: engine: Using configuration file /etc/weewx/weewx.confNov 5 10:02:31 SkyWeather weewx[30088]: engine: Loading station type Simulator (weewx.drivers.simulator)Nov 5 10:02:31 SkyWeather weewx[30073]: Starting weewx weather system: weewx.Nov 5 10:02:31 SkyWeather weewx[30088]: engine: StdConvert target unit is 0x1Nov 5 10:02:31 SkyWeather weewx[30088]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardwareNov 5 10:02:31 SkyWeather weewx[30088]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RSNov 5 10:02:31 SkyWeather weewx[30088]: engine: Archive will use data binding wx_bindingNov 5 10:02:31 SkyWeather weewx[30088]: engine: Record generation will be attempted in 'hardware'Nov 5 10:02:31 SkyWeather weewx[30088]: engine: Using archive interval of 300 seconds (specified in weewx configuration)Nov 5 10:02:31 SkyWeather weewx[30088]: manager: Created and initialized table 'archive' in database 'weewx.sdb'Nov 5 10:02:31 SkyWeather weewx[30088]: manager: Created daily summary tablesNov 5 10:02:31 SkyWeather weewx[30088]: engine: Using binding 'wx_binding' to database 'weewx.sdb'Nov 5 10:02:31 SkyWeather weewx[30088]: manager: Starting backfill of daily summariesNov 5 10:02:31 SkyWeather weewx[30088]: restx: StationRegistry: Registration not requested.Nov 5 10:02:31 SkyWeather weewx[30088]: restx: Wunderground: Posting not enabled.Nov 5 10:02:31 SkyWeather weewx[30088]: restx: PWSweather: Posting not enabled.Nov 5 10:02:31 SkyWeather weewx[30088]: restx: CWOP: Posting not enabled.Nov 5 10:02:31 SkyWeather weewx[30088]: restx: WOW: Posting not enabled.Nov 5 10:02:31 SkyWeather weewx[30088]: restx: AWEKAS: Posting not enabled.Nov 5 10:02:31 SkyWeather weewx[30088]: engine: Starting up weewx version 3.8.2Nov 5 10:02:31 SkyWeather weewx[30088]: engine: Clock error is -0.30 seconds (positive is fast)Nov 5 10:02:31 SkyWeather weewx[30088]: engine: Starting main packet loop.Nov 5 10:05:16 SkyWeather weewx[30088]: manager: Added record 2018-11-05 10:05:00 -02 (1541419500) to database 'weewx.sdb'Nov 5 10:05:16 SkyWeather weewx[30088]: manager: Added record 2018-11-05 10:05:00 -02 (1541419500) to daily summary in 'weewx.sdb'Nov 5 10:05:19 SkyWeather weewx[30088]: cheetahgenerator: Generate failed with exception '<class 'weedb.NoColumnError'>'
Nov 5 10:05:23 SkyWeather weewx[30088]: cheetahgenerator: Generated 13 files for report StandardReport in 6.81 secondsNov 5 10:05:31 SkyWeather weewx[30088]: imagegenerator: Generated 49 images for StandardReport in 7.38 secondsNov 5 10:05:31 SkyWeather weewx[30088]: copygenerator: copied 9 files to /var/www/html/weewxNov 5 10:10:16 SkyWeather weewx[30088]: manager: Added record 2018-11-05 10:10:00 -02 (1541419800) to database 'weewx.sdb'Nov 5 10:10:16 SkyWeather weewx[30088]: manager: Added record 2018-11-05 10:10:00 -02 (1541419800) to daily summary in 'weewx.sdb'Nov 5 10:10:17 SkyWeather weewx[30088]: cheetahgenerator: Generate failed with exception '<class 'weedb.NoColumnError'>'Nov 5 10:10:17 SkyWeather weewx[30088]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/Standard/week.html.tmplNov 5 10:10:17 SkyWeather weewx[30088]: cheetahgenerator: **** Reason: no such column: windNov 5 10:10:17 SkyWeather weewx[30088]: **** Traceback (most recent call last):Nov 5 10:10:17 SkyWeather weewx[30088]: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generateNov 5 10:10:17 SkyWeather weewx[30088]: **** print >> _file, compiled_templateNov 5 10:10:17 SkyWeather weewx[30088]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__Nov 5 10:10:17 SkyWeather weewx[30088]: **** rc = getattr(self, mainMethName)()Nov 5 10:10:17 SkyWeather weewx[30088]: **** File "_etc_weewx_skins_Standard_week_html_tmpl.py", line 949, in respondNov 5 10:10:17 SkyWeather weewx[30088]: **** File "_etc_weewx_skins_Standard_week_html_tmpl.py", line 245, in __errorCatcher26Nov 5 10:10:17 SkyWeather weewx[30088]: **** File "<string>", line 1, in <module>Nov 5 10:10:17 SkyWeather weewx[30088]: **** File "/usr/share/weewx/weewx/tags.py", line 329, in __getattr__Nov 5 10:10:17 SkyWeather weewx[30088]: **** return self._do_query(aggregate_type)Nov 5 10:10:17 SkyWeather weewx[30088]: **** File "/usr/share/weewx/weewx/tags.py", line 343, in _do_queryNov 5 10:10:17 SkyWeather weewx[30088]: **** val=val, **self.option_dict)Nov 5 10:10:17 SkyWeather weewx[30088]: **** File "/usr/share/weewx/weewx/wxmanager.py", line 60, in getAggregateNov 5 10:10:17 SkyWeather weewx[30088]: **** return weewx.manager.DaySummaryManager.getAggregate(self, timespan, obs_type, aggregateType, **option_dict)Nov 5 10:10:17 SkyWeather weewx[30088]: **** File "/usr/share/weewx/weewx/manager.py", line 1249, in getAggregateNov 5 10:10:17 SkyWeather weewx[30088]: **** **option_dict)Nov 5 10:10:17 SkyWeather weewx[30088]: **** File "/usr/share/weewx/weewx/manager.py", line 458, in getAggregateNov 5 10:10:17 SkyWeather weewx[30088]: **** _row = self.getSql(select_stmt % interpolate_dict)Nov 5 10:10:17 SkyWeather weewx[30088]: **** File "/usr/share/weewx/weewx/manager.py", line 394, in getSqlNov 5 10:10:17 SkyWeather weewx[30088]: **** _cursor.execute(sql, sqlargs)Nov 5 10:10:17 SkyWeather weewx[30088]: **** File "/usr/share/weewx/weedb/sqlite.py", line 41, in guarded_fnNov 5 10:10:17 SkyWeather weewx[30088]: **** raise weedb.NoColumnError(e)Nov 5 10:10:17 SkyWeather weewx[30088]: **** NoColumnError: no such column: windNov 5 10:10:18 SkyWeather weewx[30088]: cheetahgenerator: Generated 13 files for report StandardReport in 2.02 secondsNov 5 10:10:19 SkyWeather weewx[30088]: imagegenerator: Generated 12 images for StandardReport in 0.98 secondsNov 5 10:10:19 SkyWeather weewx[30088]: copygenerator: copied 0 files to /var/www/html/weewx
Nov 5 10:02:31 SkyWeather weewx[30088]: manager: Created and initialized table 'archive' in database 'weewx.sdb'
Nov 5 10:02:31 SkyWeather weewx[30088]: manager: Created daily summary tables
locale
timedatectl
pi@SkyWeather:~ $ locale
LANG=en_GB.UTF-8
LANGUAGE=
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
pi@SkyWeather:~ $ timedatectl
Local time: Fri 2018-11-09 08:26:49 -02
Universal time: Fri 2018-11-09 10:26:49 UTC
RTC time: n/a
Time zone: America/Sao_Paulo (-02, -0200)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: no
1) Remove all packages and files relates to weewx (including all dir and subdirs on /etc/weewx, /usr/share/weewx, /var/lib/weewx or /usr/lib/weewx, don't rememebr now). Everything
2) Install from .deb package and accept default settings (name, location, driver=simulation, etc...)
3) Just start, done!
When you access webpage, loads fine.....but still the same error in logfile, wind column not found (of course, the error is using sqlite, and not mysqllite like I posted).
Second attempt:
1) Change archive database to mysql instead of sqlite.
2) Re-start weewx. Tables are created and archive page is created
3) Still the same problem on log (wind column), but information on log's say 'mysql' driver, and not sqlite.
And then with fileparser driver, with exactly same results....
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.
Gary
Tom, yes knew that was going on as soon as I saw the error message. Just having a trouble finding out why. Somewhere a timestamp must be missing a day boundary but I haven't yet worked out which. Particularly confusing when a clean database exhibits the same problem immediately. Also odd that week.html.tmpl throws the error but month.html.tmpl and year.html.tmpl do not which suggests week.wind is the culprit. Really want to see some of the timestamps being used to try and work out what is being used and why.
Gary
$ sudo mv /usr/share/weewx/weewx/tags.py /usr/share/weewx/weewx/tags_orig.py
> USE weewx;
> SELECT dateTime,max FROM archive_day_wind ORDER BY dateTime DESC LIMIT 32;
Nov 13 12:31:52 SkyWeather weewx[17639]: ObservationBinder._do_query: timespan=[2018-11-03 00:00:00 -03 (1541214000) -> 2018-11-04 01:00:00 -02 (1541300400)] aggregate_type=avg val=None
Nov 13 12:31:52 SkyWeather weewx[17639]: ObservationBinder._do_query: data_binding=None
Nov 13 12:31:52 SkyWeather weewx[17639]: ObservationBinder._do_query: first_timestamp=1527810600 last_timestamp=1542119400
Nov 13 12:31:52 SkyWeather weewx[17639]: cheetahgenerator: Generate failed with exception '<class 'weedb.NoColumnError'>'
Nov 13 12:31:52 SkyWeather weewx[17639]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/Belchertown/NOAA/NOAA-YYYY-MM.txt.tmpl
Nov 13 12:31:52 SkyWeather weewx[17639]: cheetahgenerator: **** Reason: (1054, "Unknown column 'wind' in 'field list'")
Nov 13 12:31:52 SkyWeather weewx[17639]: **** Traceback (most recent call last):
Nov 13 12:31:52 SkyWeather weewx[17639]: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate
Nov 13 12:31:52 SkyWeather weewx[17639]: **** print >> _file, compiled_template
Nov 13 12:31:52 SkyWeather weewx[17639]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
Nov 13 12:31:52 SkyWeather weewx[17639]: **** rc = getattr(self, mainMethName)()
Nov 13 12:31:52 SkyWeather weewx[17639]: **** File "_etc_weewx_skins_Belchertown_NOAA_NOAA_YYYY_MM_txt_tmpl.py", line 451, in respond
Nov 13 12:31:52 SkyWeather weewx[17639]: **** File "_etc_weewx_skins_Belchertown_NOAA_NOAA_YYYY_MM_txt_tmpl.py", line 224, in __errorCatcher23
Nov 13 12:31:52 SkyWeather weewx[17639]: **** File "<string>", line 1, in <module>
Nov 13 12:31:52 SkyWeather weewx[17639]: **** File "/usr/share/weewx/weewx/tags.py", line 332, in __getattr__
Nov 13 12:31:52 SkyWeather weewx[17639]: **** return self._do_query(aggregate_type)
Nov 13 12:31:52 SkyWeather weewx[17639]: **** File "/usr/share/weewx/weewx/tags.py", line 350, in _do_query
Nov 13 12:31:52 SkyWeather weewx[17639]: **** val=val, **self.option_dict)
Nov 13 12:31:52 SkyWeather weewx[17639]: **** File "/usr/share/weewx/weewx/wxmanager.py", line 60, in getAggregate
Nov 13 12:31:52 SkyWeather weewx[17639]: **** return weewx.manager.DaySummaryManager.getAggregate(self, timespan, obs_type, aggregateType, **option_dict)
Nov 13 12:31:52 SkyWeather weewx[17639]: **** File "/usr/share/weewx/weewx/manager.py", line 1249, in getAggregate
Nov 13 12:31:52 SkyWeather weewx[17639]: **** **option_dict)
Nov 13 12:31:52 SkyWeather weewx[17639]: **** File "/usr/share/weewx/weewx/manager.py", line 458, in getAggregate
Nov 13 12:31:52 SkyWeather weewx[17639]: **** _row = self.getSql(select_stmt % interpolate_dict)
Nov 13 12:31:52 SkyWeather weewx[17639]: **** File "/usr/share/weewx/weewx/manager.py", line 394, in getSql
Nov 13 12:31:52 SkyWeather weewx[17639]: **** _cursor.execute(sql, sqlargs)
Nov 13 12:31:52 SkyWeather weewx[17639]: **** File "/usr/share/weewx/weedb/mysql.py", line 48, in guarded_fn
Nov 13 12:31:52 SkyWeather weewx[17639]: **** raise klass(e)
Nov 13 12:31:52 SkyWeather weewx[17639]: **** NoColumnError: (1054, "Unknown column 'wind' in 'field list'")
MariaDB [weewx]> SELECT dateTime,max FROM archive_day_wind ORDER BY dateTime DESC LIMIT 32;
+------------+---------------+
| dateTime | max |
+------------+---------------+
| 1542074400 | 27.9085344298 |
| 1541988000 | 25.0258600554 |
| 1541901600 | 24.9870900035 |
| 1541815200 | 27.5289972104 |
| 1541728800 | 29.3639762739 |
| 1541642400 | 25.3571126701 |
| 1541556000 | 25.0108380298 |
| 1541469600 | 26.9323996768 |
| 1541383200 | 26.3870808852 |
| 1541300400 | 24.9563264287 |
| 1541214000 | 29.2825768668 |
| 1541127600 | 65.639768948 |
1541300400 is not a 'midnight'. Thus weeWX determines that it cannot use the daily summaries for $day.wind.avg for 3 November and tries to hit the archive and consequently we get the field not found error.
1541300400
as the midnight timestamp on 4 November and at the same time isMidnight will continue to say that 1541300400 is not a 'midnight'. I suspect the issue is tied to the fact that the Brazilian changeover time for daylight saving is midnight and linux/python gets a little confused with the 12:00/01:00 issue. I had hoped that perhaps a linux update tzdata update may solve the issue but my up-to-date Stretch 9.6 VM exhibits the same error when I run the simulator in generator mode over the 3/4 November period. The problem I can't fathom is why has this not happened before, the error is not one that silently disappears in the hour after changeover, this error will continue as long as weeWX is run with data in a database covering 3/4 November. It also doesn't explain why a fresh install suffered the same issue, unless somehow the old database was still being used, though the log extract does not support this. Still confused.
TOM !?
Yes that link is exactly the same problem. Seems the issue was identified but never fixed. I know that a gambiarra was posted in that thread but I don't think that is really a viable long term solution. As I said earlier this is a presentation issue and not affecting the data going to database so I think we can take a little longer to work through and fix it properly. So that we don't lose track of it this time I have raised issue #356.Gary
--