skins stuck on wrong skin

140 views
Skip to first unread message

Cat22

unread,
Mar 13, 2022, 10:20:32 AM3/13/22
to weewx-user
Even tho  have only steel series enabled i get the seasons skin. Sometimes i
have found it enabled after i am sure it was not,and after disabling it and verifying steel series is enabled i get the correct skin, but later when i go back and look its back at the seasons skin. This is after upgrading to 4.7.0

Graham Eddy

unread,
Mar 13, 2022, 10:25:00 AM3/13/22
to weewx...@googlegroups.com
with debug=1 in weewx.conf, which reports does the log say you are generating?

On 14 Mar 2022, at 1:20 am, Cat22 <erben...@gmail.com> wrote:

Even tho  have only steel series enabled i get the seasons skin. Sometimes i
have found it enabled after i am sure it was not,and after disabling it and verifying steel series is enabled i get the correct skin, but later when i go back and look its back at the seasons skin. This is after upgrading to 4.7.0

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/532c2ae2-8a92-4f88-918b-77b34c7724ean%40googlegroups.com.

Cat22

unread,
Mar 13, 2022, 10:35:38 AM3/13/22
to weewx-user
It doesn't say. But if i comment out the seasons section get the steel series like i expected
Also, i just uncommented that section and it stays at the steel series but i am sure if i come back and check in 1/2 hour or and hour it will be back  to seasons. I have sen that 3 times already which is what prompted e to post

Tom Keffer

unread,
Mar 13, 2022, 11:45:31 AM3/13/22
to weewx-user
Make sure you not only set "enable=false" for the Seasons skin, but also delete its old generated images and HTML files. Old files are not deleted just because you switched skins.

Cat22

unread,
Mar 13, 2022, 8:10:33 PM3/13/22
to weewx-user
Not sure what files i need to remove, but here's a new issue that cropped up.
      $current.dateTime.format("%A %b %-e, %Y %I:%M %p")                                                                                                                                                                 
in my index.php.tmpl prints the same time of day all day long 

Tom Keffer

unread,
Mar 13, 2022, 8:26:19 PM3/13/22
to weewx-user
Remove them all. They will get regenerated.

Not sure what files i need to remove, but here's a new issue that cropped up.
      $current.dateTime.format("%A %b %-e, %Y %I:%M %p")                                                                                                                                                                 
in my index.php.tmpl prints the same time of day all day long 

We need more information than this. Does the rest of the page change? What hardware? What's in the log?

Cat22

unread,
Mar 13, 2022, 8:29:01 PM3/13/22
to weewx-user
So, I looked in public_html and i see that index.php and the png files have not been updated since 7:20 am today
and this appears to be the reason according to the weewx.log:
weewx.reportengine: Copied 0 files to /usr/local/bin/weewx/public_html
When i set Debug=1 and wait for it to post, i see this:

Mar 13, 2022 17:21:27 my_pc weewx[16741]  INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Mar 13, 2022 17:21:27 my_pc weewx[16741]  INFO weewx.manager: Starting backfill of daily summaries
Mar 13, 2022 17:21:27 my_pc weewx[16741]  INFO weewx.manager: Daily summaries up to date
Mar 13, 2022 17:21:27 my_pc weewx[16741]  DEBUG weewx.drivers.vantage: Getting archive packets since 2022-03-13 17:20:00 PDT (1647217200)
Mar 13, 2022 17:21:27 my_pc weewx[16741]  DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Mar 13, 2022 17:21:27 my_pc weewx[16741]  DEBUG weewx.drivers.vantage: Retrieving 0 page(s); starting index= 0
Mar 13, 2022 17:21:27 my_pc weewx[16741]  INFO weewx.engine: Starting main packet loop.
Mar 13, 2022 17:21:27 my_pc weewx[16741]  DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Mar 13, 2022 17:21:27 my_pc weewx[16741]  DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.
Mar 13, 2022 17:21:27 my_pc weewx[16741]  DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Mar 13, 2022 17:25:16 my_pc weewx[16741]  DEBUG weewx.drivers.vantage: Getting archive packets since 2022-03-13 17:20:00 PDT (1647217200)
Mar 13, 2022 17:25:16 my_pc weewx[16741]  DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Mar 13, 2022 17:25:16 my_pc weewx[16741]  DEBUG weewx.drivers.vantage: Retrieving 1 page(s); starting index= 2
Mar 13, 2022 17:25:16 my_pc weewx[16741]  INFO weewx.manager: Added record 2022-03-13 17:25:00 PDT (1647217500) to database 'weewx.sdb'
Mar 13, 2022 17:25:16 my_pc weewx[16741]  INFO weewx.manager: Added record 2022-03-13 17:25:00 PDT (1647217500) to daily summary in 'weewx.sdb'
Mar 13, 2022 17:25:16 my_pc weewx[16741]  DEBUG weewx.drivers.vantage: DMPAFT complete: page timestamp 2022-03-04 19:10:00 PST (1646449800) less than final timestamp 2022-03-13 17:25:00 PDT (1647217500)
Mar 13, 2022 17:25:16 my_pc weewx[16741]  DEBUG weewx.drivers.vantage: Catch up complete.
Mar 13, 2022 17:25:16 my_pc weewx[16741]  DEBUG weewx.reportengine: Running reports for latest time in the database.
Mar 13, 2022 17:25:16 my_pc weewx[16741]  DEBUG weewx.reportengine: Report 'SeasonsReport' not enabled. Skipping.
Mar 13, 2022 17:25:16 my_pc weewx[16741]  DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.
Mar 13, 2022 17:25:16 my_pc weewx[16741]  DEBUG weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Mar 13, 2022 17:25:16 my_pc weewx[16741]  DEBUG weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
Mar 13, 2022 17:25:16 my_pc weewx[16741]  DEBUG weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
Mar 13, 2022 17:25:16 my_pc weewx[16741]  DEBUG weewx.reportengine: Running report 'SteelSeries'
Mar 13, 2022 17:25:16 my_pc weewx[16741]  DEBUG weewx.reportengine: Found configuration file /usr/local/bin/weewx/skins/ss/skin.conf for report 'SteelSeries'
Mar 13, 2022 17:25:16 my_pc weewx[16741]  DEBUG weewx.reportengine: Cannot read localization file /usr/local/bin/weewx/skins/ss/lang/en.conf for report 'SteelSeries': Config file not found: "/usr/local/bin/weewx/skins/ss/lang/en.conf".
Mar 13, 2022 17:25:16 my_pc weewx[16741]  DEBUG weewx.reportengine: **** Using defaults instead.
Mar 13, 2022 17:25:16 my_pc weewx[16741]  DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Mar 13, 2022 17:25:16 my_pc weewx[16741]  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']
Mar 13, 2022 17:25:16 my_pc weewx[16741]  DEBUG weewx.manager: Daily summary version is 4.0
Mar 13, 2022 17:25:16 my_pc weewx[16741]  DEBUG weewx.manager: Daily summary version is 4.0
Mar 13, 2022 17:25:17 my_pc weewx[16741]  DEBUG weewx.reportengine: Report 'FTP' not enabled. Skipping.
Mar 13, 2022 17:25:17 my_pc weewx[16741]  DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping.
Mar 13, 2022 17:25:17 my_pc weewx[16741]  DEBUG weewx.restx: CWOP: Connected to server cwop.aprs.net:14580

Cat22

unread,
Mar 13, 2022, 8:29:30 PM3/13/22
to weewx-user
remove them all from where?

Cat22

unread,
Mar 13, 2022, 8:32:46 PM3/13/22
to weewx-user
I should note, that i use a separate program to send the final data to the website but that is working fine, dont be mislead by the log entries for rsync and ftp

Tom Keffer

unread,
Mar 13, 2022, 8:50:53 PM3/13/22
to weewx-user
  1. Remove the generated files from wherever HTML_ROOT points to, which is likely to be either /var/www/html or /home/weewx/public_html.
  2. The "Copied 0 files" log entry is normal. The copy generator is responsible for copying static files like CSS and JS files. It's only used the first time the reports are run.
  3. Your Vantage logger is likely suffering from corrupt memory. To fix, see the wiki article WeeWX generates HTML pages, but it does not update them


Cat22

unread,
Mar 13, 2022, 9:01:44 PM3/13/22
to weewx-user
just did that and it made no difference

Tom Keffer

unread,
Mar 13, 2022, 9:20:32 PM3/13/22
to weewx-user

Cat22

unread,
Mar 13, 2022, 9:40:50 PM3/13/22
to weewx-user
Well, i gave up and reinstalled v 4.0.0 and its working, I think 4.7.0 has issues
For one, no matter what you set WEEWX_ROOT to it always installs in /home/weewx
I deleted everything and unpacked the tar file, edited weewx.conf and ran setup.py build and setup.py install
and weewx gets installed under /home - every time. I tried it several times

gjr80

unread,
Mar 13, 2022, 11:15:58 PM3/13/22
to weewx-user
On Monday, 14 March 2022 at 11:40:50 UTC+10 erben...@gmail.com wrote:
Well, i gave up and reinstalled v 4.0.0 and its working, I think 4.7.0 has issues
For one, no matter what you set WEEWX_ROOT to it always installs in /home/weewx
I deleted everything and unpacked the tar file, edited weewx.conf and ran setup.py build and setup.py install
and weewx gets installed under /home - every time. I tried it several times

Hmmm, not sure I agree, 4.7.0 installs fine for me in a directory other than under /home, output below refers. If you have a read of the setup.py install instructions you will find that WEEWX_ROOT has no control over where WeeWX is installed, the home setting in setup.cfg controls where WeeWX is installed. WEEWX_ROOT controls where WeeWX stores/looks for various files/directories when WeeWX is run, WEEWX_ROOT is set automatically by the installer during install.

Of course if you have any issues with v4.7.0 please provide details so the issue can be identified and fixed.

Gsary

gary@bullseye31:~$ wget -P /var/tmp/ https://weewx.com/downloads/weewx-4.7.0.tar.gz
--2022-03-14 12:39:16--  https://weewx.com/downloads/weewx-4.7.0.tar.gz
Resolving weewx.com (weewx.com)... 34.218.218.142
Connecting to weewx.com (weewx.com)|34.218.218.142|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1839625 (1.8M) [application/octet-stream]
Saving to: ‘/var/tmp/weewx-4.7.0.tar.gz’

weewx-4.7.0.tar.gz               100%[==========================================================>]   1.75M  1.57MB/s    in 1.1s

2022-03-14 12:39:18 (1.57 MB/s) - ‘/var/tmp/weewx-4.7.0.tar.gz’ saved [1839625/1839625]

gary@bullseye31:~$ cd /var/tmp
gary@bullseye31:/var/tmp$ tar xvfz weewx-4.7.0.tar.gz
weewx-4.7.0/
weewx-4.7.0/LICENSE.txt
weewx-4.7.0/PKG-INFO
weewx-4.7.0/README
weewx-4.7.0/README.md

Removed lines for brevity

weewx-4.7.0/util/udev/rules.d/wmr300.rules
weewx-4.7.0/util/udev/rules.d/ws28xx.rules
weewx-4.7.0/weewx.conf
gary@bullseye31:/var/tmp$ cd weewx-4.7.0
gary@bullseye31:/var/tmp/weewx-4.7.0$ nano setup.cfg
gary@bullseye31:/var/tmp/weewx-4.7.0$ cat setup.cfg
# Set 'home' to the directory where weewx should be installed.  If the
# directory does not exist, the installer will try to create it.
#
# linux:   /home/weewx
# macos:   /Users/Shared/weewx
# windows: c:\Users\weewx

[install]
home = /fred/dagg

prefix =
exec-prefix =
install_lib = %(home)s/bin
install_scripts = %(home)s/bin
gary@bullseye31:/var/tmp/weewx-4.7.0$ python3 ./setup.py build
running build
running build_py
running build_scripts
gary@bullseye31:/var/tmp/weewx-4.7.0$ sudo python3 ./setup.py install
running install
running build
running build_py
running build_scripts
running install_lib
creating /fred
creating /fred/dagg
creating /fred/dagg/bin
creating /fred/dagg/bin/weecfg
copying build/lib/weecfg/__init__.py -> /fred/dagg/bin/weecfg

Lines deleted for brevity

running install_egg_info
Writing /fred/dagg/bin/weewx-4.7.0.egg-info
Enter a brief description of the station, such as its location.  For example:
Santa's Workshop, North Pole
description [My Little Town, Oregon]: Narangba Test

Specify altitude, with units 'foot' or 'meter'.  For example:
35, foot
12, meter
altitude [700, foot]: 46, meter

Specify latitude in decimal degrees, negative for south.
latitude [0.00]: -25
Specify longitude in decimal degrees, negative for west.
longitude [0.00]: 150

You can register your station on weewx.com, where it will be included
in a map. You will need a unique URL to identify your station (such as a
website, or WeatherUnderground link).
Include station in the station registry (y/n)? [n]:

Indicate the preferred units for display: ['us', 'metric', 'metricwx']
unit system [us]:

Installed drivers include:
  0) ?               (weewx.drivers.acurite)   No module named 'usb'
  1) ?               (weewx.drivers.cc3000)    No module named 'serial'
  2) ?               (weewx.drivers.fousb)     No module named 'usb'
  3) Simulator       (weewx.drivers.simulator)
  4) ?               (weewx.drivers.te923)     No module named 'usb'
  5) ?               (weewx.drivers.ultimeter) No module named 'serial'
  6) Vantage         (weewx.drivers.vantage)
  7) ?               (weewx.drivers.wmr100)    No module named 'usb'
  8) ?               (weewx.drivers.wmr300)    No module named 'usb'
  9) ?               (weewx.drivers.wmr9x8)    No module named 'serial'
 10) WS1             (weewx.drivers.ws1)
 11) WS23xx          (weewx.drivers.ws23xx)
 12) ?               (weewx.drivers.ws28xx)    No module named 'usb'
choose a driver [3]:
gary@bullseye31:/var/tmp/weewx-4.7.0$ cd /fred/dagg
gary@bullseye31:/fred/dagg$ ls -ail
total 104
3276802 drwxr-xr-x  7 root root  4096 Mar 14 12:56 .
3276801 drwxr-xr-x  3 root root  4096 Mar 14 12:56 ..
3276803 drwxr-xr-x 11 root root  4096 Mar 14 12:56 bin
3276979 drwxr-xr-x  6 root root  4096 Mar 14 12:56 docs
3277045 drwxr-xr-x  8 root root  4096 Mar 14 12:56 examples
3276976 -rw-r--r--  1 root root 32472 Apr 15  2020 LICENSE.txt
3276977 -rw-r--r--  1 root root  3325 Mar  6  2021 README.md
3277102 drwxr-xr-x  8 root root  4096 Mar 14 12:56 skins
3277224 drwxr-xr-x 17 root root  4096 Mar 14 12:56 util
3277293 -rw-r--r--  1 root root 19444 Mar 14 12:56 weewx.conf
3276978 -rw-r--r--  1 root root 18389 Mar 14 12:56 weewx.conf.4.7.0

gary@bullseye31:/fred/dagg$ sudo ./bin/weewxd
LOOP:   2022-03-14 12:57:27 AEST (1647226647) 'altimeter': '31.27158957718927', 'appTemp': '28.46010918752483', 'barometer': '31.099999998967093', 'cloudbase': '1395.2421867040312', 'consBatteryVoltage': '11.640400158761016', 'dateTime': '1647226647', 'dewpoint': '27.203560993945757', 'ET': 'None', 'heatindex': '32.67858297022247', 'heatingVoltage': '12.0', 'humidex': '32.67858297022247', 'inDewpoint': '31.079533828013187', 'inHumidity': '29.999999958683617', 'inTemp': '63.00000002065819', 'inTempBatteryStatus': '0', 'maxSolarRad': '979.3952113307234', 'outHumidity': '79.99999996901272', 'outTemp': '32.67858297022247', 'outTempBatteryStatus': '0', 'pressure': '31.099999998967093', 'radiation': '938.5032176221754', 'rain': '0', 'rainBatteryStatus': '0', 'rainRate': '0.0', 'referenceVoltage': '12.0', 'rxCheckPercent': '35.50980993113374', 'supplyVoltage': '12.68098239095047', 'txBatteryStatus': '0', 'usUnits': '1', 'UV': '13.139045046710455', 'windBatteryStatus': '0', 'windchill': '32.67858297022247', 'windDir': '359.9999998140763', 'windGust': '6.197456769996279e-09', 'windGustDir': '359.9999998140763', 'windrun': 'None', 'windSpeed': '5.164547900449179e-09'
LOOP:   2022-03-14 12:57:30 AEST (1647226650) 'altimeter': '31.27158956888873', 'appTemp': '28.45807365032865', 'barometer': '31.099999990703814', 'cloudbase': '1395.2317165874988', 'consBatteryVoltage': '11.64816989866082', 'dateTime': '1647226650', 'dewpoint': '27.20178958368346', 'ET': 'None', 'heatindex': '32.67676549144743', 'heatingVoltage': '12.0', 'humidex': '32.67676549144743', 'inDewpoint': '31.07953369929752', 'inHumidity': '29.999999628152565', 'inTemp': '63.00000018592372', 'inTempBatteryStatus': '0', 'maxSolarRad': '979.339588473622', 'outHumidity': '79.99999972111442', 'outTemp': '32.67676549144743', 'outTempBatteryStatus': '0', 'pressure': '31.099999990703814', 'radiation': '938.4333162871903', 'rain': '0', 'rainBatteryStatus': '0', 'rainRate': '0.0', 'referenceVoltage': '11.5082527343366', 'rxCheckPercent': '29.73396133885435', 'supplyVoltage': '12.008816825598341', 'txBatteryStatus': '0', 'usUnits': '1', 'UV': '13.138066428020664', 'windBatteryStatus': '0', 'windchill': '32.67676549144743', 'windDir': '359.9999983266865', 'windGust': '5.577711537085861e-08', 'windGustDir': '359.9999983266865', 'windrun': 'None', 'windSpeed': '4.648092932768577e-08'
^Z
[2]+  Stopped                 sudo ./bin/weewxd
gary@bullseye31:/fred/dagg$ ls -ail /home
total 12
1310721 drwxr-xr-x  3 root root 4096 Mar 14 12:54 .
      2 drwxr-xr-x 19 root root 4096 Mar 14 12:56 ..
1310722 drwxr-xr-x  6 gary gary 4096 Mar  5 20:59 gary
gary@bullseye31:/fred/dagg$




Cat22

unread,
Mar 14, 2022, 2:14:06 AM3/14/22
to weewx-user
Well, ok, I will give it another try. Is it reasonable to upgrade from version 4.0.0?

gjr80

unread,
Mar 14, 2022, 2:35:10 AM3/14/22
to weewx-user
Should be fine, there are a couple of patches to the daily summary tables but they will be taken care of by the installer.

Gary

gjr80

unread,
Mar 14, 2022, 2:39:02 AM3/14/22
to weewx-user
Assuming the upgrade to 4.7.0 goes OK, if you do run into issues with WeeWX just edit weewx.conf, set debug = 1, save weewx.conf and restart WeeWX. Let WeeWX run for at least three archive periods/report cycles and then post a log extract showing the entire WeeWX startup through until the three report cycles complete. That way we can see exactly how WeeWX is configured and exactly what it is doing.

Gary

Tom Keffer

unread,
Mar 14, 2022, 8:12:45 AM3/14/22
to weewx-user
On Sun, Mar 13, 2022 at 11:14 PM Cat22 <erben...@gmail.com> wrote:
Well, ok, I will give it another try. Is it reasonable to upgrade from version 4.0.0?

Of course, thousands have done it. But be sure to read the setup.py upgrade instructions! 

In particular, if your installation is somewhere other than /home/weewx, you must first set 'home' in setup.cfg.
Reply all
Reply to author
Forward
0 new messages