V4.6.0 beta 6

203 views
Skip to first unread message

Tom Keffer

unread,
Nov 2, 2021, 6:47:05 PM11/2/21
to weewx-development, weewx-user

I'm especially interested in experiences with installing and configuring the Seasons skin. It has undergone a significant refactoring.

Thanks!!

-tk

wee...@gmx.de

unread,
Nov 3, 2021, 2:59:02 PM11/3/21
to weewx-development
Hi Tom,

I have reinstalled weewx 4.6.0b6 on a VM with "setup.py". As usual without any problems. The driver used is weewx-interceptor by Matthew Wall.
At first glance everything works as expected :)
I have added in weewx.conf under
"[Interceptor]"

added the following:

    [[sensor_map_extensions]]
        extraTemp9 = temperature_1
        extraHumid9 = humidity_1

these values extraTemp9 and extraHumid9 are also written to the database.

I have saved the file skin.conf under
[DisplayOptions]
observations_current =...
 extraTemp9, extraHumid9...
added.

If I understand the system correctly, the value for
extraTemp9
extraHumid9
must also be displayed in the HTML view under "Current". In addition to the "standard values" only extraTemp1 ... extraTemp4 and the corresponding extraHumid values are displayed.
What do I have to do so that the values for extraTemp9 and extraHumid9 are displayed?

Michael

Tom Keffer

unread,
Nov 3, 2021, 5:35:04 PM11/3/21
to wee...@gmx.de, weewx-development
Hi, Michael

The option "observations" controls what gets displayed under "High/Low". 

The option "observations_current" controls what gets displayed under "Current Conditions".

There must also be corresponding non-null values sometime in the last year within the database. Are you sure you have values for extraTemp9 and extraHumid9?

-tk


--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/6f551a83-d38b-4f38-be77-f2d4ef26eb35n%40googlegroups.com.

wee...@gmx.de

unread,
Nov 4, 2021, 11:27:46 AM11/4/21
to weewx-development
Hi Tom,
Yes, these values are in the database. But now I see that the value for extraTemp9 is stored in Fahrenheit. But the rest of the values are in C.
Then these values should also be visible in the HTML view, right?




MariaDB [(none)]> SELECT

-> DATE_FORMAT(FROM_UNIXTIME(datetime), '%d/%m/%Y - %H:%i:%s') AS datum,

-> datetime,

-> usUnits,

-> extratemp1,

-> extratemp2,

-> extratemp9,

-> extrahumid1,

-> extrahumid2,

-> extrahumid9

-> FROM

-> weewx.archive

-> WHERE

-> datetime > 1636038720

-> order by datetime;

+-----------------------+------------+---------+-------------------+-------------------+------------+-------------+-------------+-------------+

| datum | datetime | usUnits | extratemp1 | extratemp2 | extratemp9 | extrahumid1 | extrahumid2 | extrahumid9 |

+-----------------------+------------+---------+-------------------+-------------------+------------+-------------+-------------+-------------+

| 04/11/2021 - 16:14:00 | 1636038840 | 16 | 20.11111111111111 | 16.77777777777778 | 68.2 | 45 | 56 | 45 |

| 04/11/2021 - 16:15:00 | 1636038900 | 16 | 20.11111111111111 | 16.77777777777778 | 68.2 | 45 | 56 | 45 |

| 04/11/2021 - 16:16:00 | 1636038960 | 16 | 20.11111111111111 | 16.77777777777778 | 68.2 | 45 | 56 | 45 |

| 04/11/2021 - 16:17:00 | 1636039020 | 16 | 20.11111111111111 | 16.77777777777778 | 68.2 | 45 | 56 | 45 |

| 04/11/2021 - 16:18:00 | 1636039080 | 16 | 20.11111111111111 | 16.77777777777778 | 68.2 | 45 | 56 | 45 |

| 04/11/2021 - 16:19:00 | 1636039140 | 16 | 20.11111111111111 | 16.77777777777778 | 68.2 | 45 | 56 | 45 |

+-----------------------+------------+---------+-------------------+-------------------+------------+-------------+-------------+-------------+

6 rows in set (0.000 sec)
Screenshot1.png

Tom Keffer

unread,
Nov 4, 2021, 12:24:30 PM11/4/21
to wee...@gmx.de, weewx-development
Odd.

Try these queries

select extraTemp9 is not null from weewx.archive where dateTime>1609459200 and dateTime<=1640995200;
select count>0 from weewx.archive where dateTime>=1609459200 and dateTime<1640995200;

This is the check used to decide whether to show a value or plot. It checks for non-null values during the present year.

-tk

wee...@gmx.de

unread,
Nov 4, 2021, 12:46:47 PM11/4/21
to weewx-development
for the result of:
select extraTemp9 is not null from weewx.archive where dateTime>1609459200 and dateTime<=1640995200;
see attached csv.

But I don't really understand what this is supposed to query (neither does mysql).

MariaDB [(none)]> select count>0 from weewx.archive where dateTime>=1609459200 and dateTime<1640995200;
ERROR 1054 (42S22): Unknown column 'count' in 'field list'
select extraTemp9 is not null from weewx.archive.csv

Tom Keffer

unread,
Nov 4, 2021, 12:58:41 PM11/4/21
to wee...@gmx.de, weewx-development
Sorry, I blew those queries! We want

select extraTemp9 is not null from weewx.archive where dateTime>1609459200 and dateTime<=1640995200 limit 1;
select count>0 from weewx.archive_day_extraTemp9 where dateTime>=1609459200 and dateTime<1640995200 limit 1;

-tk


wee...@gmx.de

unread,
Nov 4, 2021, 1:06:23 PM11/4/21
to weewx-development
Her it is:

MariaDB [(none)]> select extraTemp9 is not null from weewx.archive where dateTime>1609459200 and dateTime<=1640995200 limit 1;
+------------------------+
| extraTemp9 is not null |
+------------------------+
| 0 |
+------------------------+
1 row in set (0.000 sec)

MariaDB [(none)]> select count>0 from weewx.archive_day_extraTemp9 where dateTime>=1609459200 and dateTime<1640995200 limit 1;
+---------+
| count>0 |
+---------+
| 0 |
+---------+
1 row in set (0.000 sec)


Michael

Vince Skahan

unread,
Nov 4, 2021, 1:15:47 PM11/4/21
to weewx-development
rpm upgrade from b3 worked fine on almalinux 8.4, and altering the labels of the extra temp/hum/soil sensors (ecowitt) worked fine too.

Tom Keffer

unread,
Nov 4, 2021, 1:19:36 PM11/4/21
to wee...@gmx.de, weewx-development
This is indicating that there is no non-null data for the year, which explains why we're not seeing anything on the HTML page.

But, it's not explaining why these results are different from the ones you posted a few messages ago.


wee...@gmx.de

unread,
Nov 4, 2021, 2:47:56 PM11/4/21
to weewx-development
Your first query modified a little bit in 2 variants

1)
MariaDB [(none)]> select count(*) from weewx.archive where extraTemp9 is NULL;
+----------+
| count(*) |
+----------+
| 2983 |
+----------+
1 row in set (0.003 sec)

2)
MariaDB [(none)]> select count(*) from weewx.archive where extraTemp9 is not NULL;
+----------+
| count(*) |
+----------+
| 1553 |
+----------+
1 row in set (0.003 sec)


your second select without "limit 1" at the end:

MariaDB [(none)]> select count>0 from weewx.archive_day_extraTemp9 where dateTime>=1609459200 and dateTime<1640995200;

+---------+
| count>0 |
+---------+
| 0 |
| 0 |
| 1 |
| 1 |
+---------+
4 rows in set (0.000 sec)

the database has only existed for a few days. Therefore, I have omitted the date restriction from your first select.


Michael

Tom Keffer

unread,
Nov 4, 2021, 3:02:10 PM11/4/21
to wee...@gmx.de, weewx-development
Yes, I think there is a problem with the query for the daily summaries. 

Could you replace the file weewx/xtypes.py with the attached and try again?

Thanks in advance.

-tk


xtypes.py

wee...@gmx.de

unread,
Nov 4, 2021, 3:14:03 PM11/4/21
to weewx-development
Great, thx Tom, now it works :)

Michael

Tom Keffer

unread,
Nov 4, 2021, 3:16:49 PM11/4/21
to wee...@gmx.de, weewx-development
I think you're lucky. I just thought of a corner case where it would not work.

I'll get a new version out later today.

Tom Keffer

unread,
Nov 4, 2021, 6:42:33 PM11/4/21
to wee...@gmx.de, weewx-development
Michael,

Could you please try this version of weewx/xtypes.py? 
xtypes.py

wee...@gmx.de

unread,
Nov 5, 2021, 6:00:36 AM11/5/21
to weewx-development
Hi Tom,
this version also works.

Michaeal

Hartmut Schweidler

unread,
Nov 6, 2021, 10:06:58 AM11/6/21
to weewx-development
Hallo
A bug in V4.6.0b6

log

Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.cheetahgenerator.CheetahGenerator'
Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine:         ****  incomplete format
Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine:         ****    File "/home/weewx/bin/weewx/reportengine.py", line 197, in run
Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine:         ****      obj.start()
Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine:         ****    File "/home/weewx/bin/weewx/reportengine.py", line 359, in start
Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine:         ****      self.run()
Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine:         ****    File "/home/weewx/bin/weewx/cheetahgenerator.py", line 156, in run
Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine:         ****      self.initExtensions(gen_dict[section_name])
Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine:         ****    File "/home/weewx/bin/weewx/cheetahgenerator.py", line 197, in initExtensions
Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine:         ****      self.search_list_objs.append(klass(self))
Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine:         ****    File "/home/weewx/bin/weewx/cheetahgenerator.py", line 576, in __init__
Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine:         ****      generator.skin_dict)
Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine:         ****    File "/home/weewx/bin/weewx/station.py", line 76, in __init__
Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine:         ****      'lat', latlon_formats)
Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine:         ****    File "/home/weewx/bin/weeutil/weeutil.py", line 1120, in latlon_string
Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine:         ****      return ((format_list[0] if which == 'lat' else format_list[1]) % (deg,), format_list[2] % (minutes,),
Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine:         ****  ValueError: incomplete format
Nov  6 14:55:15 wetter weewx-cmon[4940] ERROR weewx.reportengine:         ****  Generator terminated

in weewx.conf

[Station]

    # Latitude in decimal degrees. Negative for southern hemisphere
    latitude = 53.6059563
    # Longitude in decimal degrees. Negative for western hemisphere.
    longitude = 11.341407

    # Altitude of the station, with unit it is in. This is downloaded from
    # from the station if the hardware supports it.
    # Choose 'foot' or 'meter' for unit
    altitude = 53.6, meter

Hartmut

Tom Keffer

unread,
Nov 6, 2021, 12:00:12 PM11/6/21
to Hartmut Schweidler, weewx-development
Hartmut,

Could you please replace your copy of weeutil/weeutil.py with the attached? It will tell us more information about the error.



weeutil.py

Hartmut Schweidler

unread,
Nov 6, 2021, 12:12:40 PM11/6/21
to weewx-development
Hallo,

I have no change in the file defaults.py

[Labels]


# Set to hemisphere abbreviations suitable for your location:

hemispheres = N, S, E, W

# Formats to be used for latitude whole degrees, longitude whole

# degrees, and minutes:

latlon_formats = "%02d", "%03d", "%05.2f"

Excuse me
my mistake sorry

Hartmut

Hartmut Schweidler

unread,
Nov 6, 2021, 1:50:39 PM11/6/21
to weewx-development
Hallo,
there is a problem with me

Ich habe ein Problem
alle 5 min vergrößert sich die Cheetahgenetrator

Nov  6 18:39:23 wetter weewx-weewx[1600] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'user.dayboundarystats.DayboundaryStats', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xgreen.xGreenDay', 'user.xtime_since.TimeSince', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.earth.getEarthquake', 'user.dwdpollen.DWD', 'user.forecastAeris.getAeris', 'user.vanfortex.vantageText', 'user.iss.getdata', 'user.aqiDat.getAqi', 'user.alertsDWD.getWarnung', 'user.alertsAeris.getAeris', 'user.xstats.ExtStats', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.xastro.Eclipse', 'user.xastro.EarthApsis', 'user.xastro.MoonApsis', 'user.xyear.xSternzeit', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xseason.MyXSeason', 'user.xcolor.MyDecorator', 'user.xtime_since.TimeSince', 'user.xfrostday.MyFrostDays', 'user.xrainno.MyXRainNo', 'user.xyear.xMyFeier', 'user.xyear.xMyEaster', 'user.xxyear.xxyear', 'user.this.ThisSLE', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xtime_since.TimeSince', 'user.xseason.MyXSeason', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xseason.MyXSeason', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.vanfortex.vantageText', 'user.xstats.ExtendedStatistics', 'user.inigo-since.Since', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xgreen.xGreenDay', 'user.xtime_since.TimeSince', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.earth.getEarthquake', 'user.dwdpollen.DWD', 'user.forecastAeris.getAeris', 'user.vanfortex.vantageText', 'user.iss.getdata', 'user.aqiDat.getAqi', 'user.alertsDWD.getWarnung', 'user.alertsAeris.getAeris', 'user.xstats.ExtStats', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.xastro.Eclipse', 'user.xastro.EarthApsis', 'user.xastro.MoonApsis', 'user.xyear.xSternzeit', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xseason.MyXSeason', 'user.xcolor.MyDecorator', 'user.xtime_since.TimeSince', 'user.xfrostday.MyFrostDays', 'user.xrainno.MyXRainNo', 'user.xyear.xMyFeier', 'user.xyear.xMyEaster', 'user.xxyear.xxyear', 'user.this.ThisSLE', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xtime_since.TimeSince', 'user.xseason.MyXSeason', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xseason.MyXSeason', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.vanfortex.vantageText', 'user.xstats.ExtendedStatistics', 'user.inigo-since.Since']

obwohl in der SKIN inigo  nur
[CheetahGenerator]
    encoding = utf8
    search_list_extensions = user.xstats.ExtendedStatistics, user.inigo-since.Since
erscheint im LOG
Nov  6 18:45:30 wetter weewx-weewx[1600] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'user.dayboundarystats.DayboundaryStats', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xgreen.xGreenDay', 'user.xtime_since.TimeSince', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.earth.getEarthquake', 'user.dwdpollen.DWD', 'user.forecastAeris.getAeris', 'user.vanfortex.vantageText', 'user.iss.getdata', 'user.aqiDat.getAqi', 'user.alertsDWD.getWarnung', 'user.alertsAeris.getAeris', 'user.xstats.ExtStats', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.xastro.Eclipse', 'user.xastro.EarthApsis', 'user.xastro.MoonApsis', 'user.xyear.xSternzeit', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xseason.MyXSeason', 'user.xcolor.MyDecorator', 'user.xtime_since.TimeSince', 'user.xfrostday.MyFrostDays', 'user.xrainno.MyXRainNo', 'user.xyear.xMyFeier', 'user.xyear.xMyEaster', 'user.xxyear.xxyear', 'user.this.ThisSLE', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xtime_since.TimeSince', 'user.xseason.MyXSeason', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xseason.MyXSeason', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.vanfortex.vantageText', 'user.xstats.ExtendedStatistics', 'user.inigo-since.Since', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xgreen.xGreenDay', 'user.xtime_since.TimeSince', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.earth.getEarthquake', 'user.dwdpollen.DWD', 'user.forecastAeris.getAeris', 'user.vanfortex.vantageText', 'user.iss.getdata', 'user.aqiDat.getAqi', 'user.alertsDWD.getWarnung', 'user.alertsAeris.getAeris', 'user.xstats.ExtStats', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.xastro.Eclipse', 'user.xastro.EarthApsis', 'user.xastro.MoonApsis', 'user.xyear.xSternzeit', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xseason.MyXSeason', 'user.xcolor.MyDecorator', 'user.xtime_since.TimeSince', 'user.xfrostday.MyFrostDays', 'user.xrainno.MyXRainNo', 'user.xyear.xMyFeier', 'user.xyear.xMyEaster', 'user.xxyear.xxyear', 'user.this.ThisSLE', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xtime_since.TimeSince', 'user.xseason.MyXSeason', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xseason.MyXSeason', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.vanfortex.vantageText', 'user.xstats.ExtendedStatistics', 'user.inigo-since.Since', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xgreen.xGreenDay', 'user.xtime_since.TimeSince', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.earth.getEarthquake', 'user.dwdpollen.DWD', 'user.forecastAeris.getAeris', 'user.vanfortex.vantageText', 'user.iss.getdata', 'user.aqiDat.getAqi', 'user.alertsDWD.getWarnung', 'user.alertsAeris.getAeris']
siehe auch
wee.log

Gruss
Hartmut
wee.log

Hartmut Schweidler

unread,
Nov 6, 2021, 2:04:47 PM11/6/21
to weewx-development
Nachtrag
bei der Version 4.6.0b5
werden in den Skins nur die Erweiterungen aus "user" geladen
Nov  6 19:00:54 wetter weewx-weewx[4845] DEBUG weewx.reportengine: Running report 'AstroReport'
Nov  6 19:00:54 wetter weewx-weewx[4845] DEBUG weewx.reportengine: Found configuration file /home/weewx/skins/Astro/skin.conf for report 'AstroReport'
Nov  6 19:00:54 wetter weewx-weewx[4845] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.Gettext', 'user.dayboundarystats.DayboundaryStats', 'user.xstats.ExtStats', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.xastro.Eclipse', 'user.xastro.EarthApsis', 'user.xastro.MoonApsis', 'user.xyear.xSternzeit']

Nov  6 19:00:54 wetter weewx-weewx[4845] DEBUG weewx.reportengine: Running report 'BasicReport'
Nov  6 19:00:54 wetter weewx-weewx[4845] DEBUG weewx.reportengine: Found configuration file /home/weewx/skins/Basics/skin.conf for report 'BasicReport'
Nov  6 19:00:54 wetter weewx-weewx[4845] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.Gettext', 'user.dayboundarystats.DayboundaryStats', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xseason.MyXSeason', 'user.xcolor.MyDecorator', 'user.xtime_since.TimeSince', 'user.xfrostday.MyFrostDays', 'user.xrainno.MyXRainNo', 'user.xyear.xMyFeier', 'user.xyear.xMyEaster', 'user.xxyear.xxyear', 'user.this.ThisSLE']
hierzu die log
wee6_5.log

Tom Keffer

unread,
Nov 6, 2021, 2:06:38 PM11/6/21
to Hartmut Schweidler, weewx-development
It looks like the extension user.earth.getEarthquake expects option "earthquake_enabled" in stanza [Extras], but you did not supply it.

Extension user.dwdpollen.DWD expects option "pollen_enabled" in stanza [Extras], but you did not supply it.

Extension user.xcolor.MyDecorator expects option "IndexColors", but you did not supply it.

I do not know who wrote these extensions, but good form is to supply defaults if a user does not provide them.

Incidentally, you have a lot of repetitions in your search list extensions. For example, extension user.xyear.xMyFeier is listed 11 times. Only once is needed.


Hartmut Schweidler

unread,
Nov 6, 2021, 2:40:07 PM11/6/21
to weewx-development
Hallo,

 bis zur  Version 4.6.0b5
wurden in jedem SKINS-Verzeichnis eine eigene Datei skin.conf mit unterschiedlichen 
[CheetahGenerator]
    search_list_extensions = user.xstats.ExtStats, user.xyear.xMyEaster, user.xcolor.MyDecorator, user.xyear.xMyFeier, user.xxyear.xxyear, user.xastro.Eclipse, user.xastro.EarthApsis, user.xastro.MoonApsis, user.xyear.xSternzeit

Erweiterungen geladen

nach dem update
in der Version 4.6.0b6
Start
Nov  6 18:26:30 wetter weewx-weewx[1596] INFO __main__: Initializing weewx version 4.6.0b6
Nov  6 18:26:30 wetter weewx-weewx[1596] INFO __main__: Using Python 3.7.3 (default, Jan 22 2021, 20:04:44) #012[GCC 8.3.0]
Nov  6 18:26:30 wetter weewx-weewx[1596] INFO __main__: Platform Linux-4.19.0-12-amd64-x86_64-with-debian-10.11
Nov  6 18:26:30 wetter weewx-weewx[1596] INFO __main__: Locale is 'de_DE.UTF-8'
Nov  6 18:26:30 wetter weewx-weewx[1596] INFO __main__: Using configuration file /home/weewx/weewx.conf
Nov  6 18:26:30 wetter weewx-weewx[1596] INFO __main__: Debug is 1
Nov  6 18:26:30 wetter weewx-weewx[1596] INFO __main__: PID file is /var/run/weewx-weewx.pid
und jetzt um 18:52
Nov  6 18:52:44 wetter weewx-weewx[1600] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'user.dayboundarystats.DayboundaryStats', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xgreen.xGreenDay', 'user.xtime_since.TimeSince', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.earth.getEarthquake', 'user.dwdpollen.DWD', 'user.forecastAeris.getAeris', 'user.vanfortex.vantageText', 'user.iss.getdata', 'user.aqiDat.getAqi', 'user.alertsDWD.getWarnung', 'user.alertsAeris.getAeris', 'user.xstats.ExtStats', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.xastro.Eclipse', 'user.xastro.EarthApsis', 'user.xastro.MoonApsis', 'user.xyear.xSternzeit', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xseason.MyXSeason', 'user.xcolor.MyDecorator', 'user.xtime_since.TimeSince', 'user.xfrostday.MyFrostDays', 'user.xrainno.MyXRainNo', 'user.xyear.xMyFeier', 'user.xyear.xMyEaster', 'user.xxyear.xxyear', 'user.this.ThisSLE', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xtime_since.TimeSince', 'user.xseason.MyXSeason', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xseason.MyXSeason', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.vanfortex.vantageText', 'user.xstats.ExtendedStatistics', 'user.inigo-since.Since', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xgreen.xGreenDay', 'user.xtime_since.TimeSince', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.earth.getEarthquake', 'user.dwdpollen.DWD', 'user.forecastAeris.getAeris', 'user.vanfortex.vantageText', 'user.iss.getdata', 'user.aqiDat.getAqi', 'user.alertsDWD.getWarnung', 'user.alertsAeris.getAeris', 'user.xstats.ExtStats', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.xastro.Eclipse', 'user.xastro.EarthApsis', 'user.xastro.MoonApsis', 'user.xyear.xSternzeit', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xseason.MyXSeason', 'user.xcolor.MyDecorator', 'user.xtime_since.TimeSince', 'user.xfrostday.MyFrostDays', 'user.xrainno.MyXRainNo', 'user.xyear.xMyFeier', 'user.xyear.xMyEaster', 'user.xxyear.xxyear', 'user.this.ThisSLE', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xtime_since.TimeSince', 'user.xseason.MyXSeason', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xseason.MyXSeason', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.vanfortex.vantageText', 'user.xstats.ExtendedStatistics', 'user.inigo-since.Since', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xgreen.xGreenDay', 'user.xtime_since.TimeSince', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.earth.getEarthquake', 'user.dwdpollen.DWD', 'user.forecastAeris.getAeris', 'user.vanfortex.vantageText', 'user.iss.getdata', 'user.aqiDat.getAqi', 'user.alertsDWD.getWarnung', 'user.alertsAeris.getAeris', 'user.xstats.ExtStats', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.xastro.Eclipse', 'user.xastro.EarthApsis', 'user.xastro.MoonApsis', 'user.xyear.xSternzeit', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xseason.MyXSeason', 'user.xcolor.MyDecorator', 'user.xtime_since.TimeSince', 'user.xfrostday.MyFrostDays', 'user.xrainno.MyXRainNo', 'user.xyear.xMyFeier', 'user.xyear.xMyEaster', 'user.xxyear.xxyear', 'user.this.ThisSLE', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xtime_since.TimeSince', 'user.xseason.MyXSeason', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.xstats.ExtStats', 'user.forecast.ForecastVariables', 'user.xseason.MyXSeason', 'user.xyear.xMyEaster', 'user.xcolor.MyDecorator', 'user.xyear.xMyFeier', 'user.xxyear.xxyear', 'user.vanfortex.vantageText', 'user.xstats.ExtendedStatistics', 'user.inigo-since.Since']

Es werden jetzt nicht mehr die jeweils benötigten Erweiterungen aus der skin.conf geladen,  abgearbeitet  und  entladen

Die Erweiterungen werden immer hinzugefügt und nicht mehr entladen
 Die Liste in "weewx.cheetahgenerator: Using search list" wird unendlich lang

Bis zur Version 4.6.0b5 war die Liste "weewx.cheetahgenerator: Using search list" sehr kurz

Ich hoffe ich bin verständlich
Danke
Hartmut

Tom Keffer

unread,
Nov 6, 2021, 4:27:30 PM11/6/21
to Hartmut Schweidler, weewx-development
So, it does!

Fixed in commit 1eade70.

Hartmut Schweidler

unread,
Nov 6, 2021, 4:57:51 PM11/6/21
to weewx-development
Danke, jetzt läuft es mit der Version 4.6.0b6

Auch keine earthquake_enabled="0" Fehler mehr.

Die Erzeugung der Seiten dauert jetzt nur noch 2:30 Minuten
Danke
Hartmut
Reply all
Reply to author
Forward
0 new messages