I used Synaptic for the upgrade, so I don't have the commands that were used. The version shown in Synaptic is 5.o.1-3.
On Tue, Feb 6, 2024 at 4:19 PM Tom Keffer <[email protected]> wrote: > Yes, it's true that there is a copy of the v5.0 skins in > /usr/share/weewx/weewx_data/skins. This is what Python calls "package data > <https://setuptools.pypa.io/en/latest/userguide/datafiles.html>." It is > used by "weectl station create" to create a new station data area. weectl > copies it over from its obscure location to the new station data. It is not > intended to be used by the user, mostly because it's buried so deep in the > Python library. > > As for why weewxd cannot read a file which is plainly there, the only > thing I can think of is that the intervening directories in > /etc/weewx/skins are not giving it permission. Check that they are all > owned by user "weewx", and have 644 permissions > > Not sure what caused this, but I would guess it's because Debian > is treating the skins as config files, which it deleted on the upgrade. > Matthew would know more about this. It would help if you have the original > upgrade commands and response from apt. > > -tk > > > On Tue, Feb 6, 2024 at 3:05 PM Philip Wolff <[email protected]> > wrote: > >> The Ubuntu package for weewx 5.0.1-3 installs a ton of stuff, including >> the skins data, in /usr/share/weewx. >> >> /etc/weewx/skins contains three empty folders: font, lang, and NOAA. >> >> I copied /usr/shared/weewx/weewx_data/skins to /etc/weewx/skins and >> veriified that Seasons/skin.conf is there. I restarted weewxk and it still >> claims that it can't read Seasons/skin.conf. >> >> philbert@inspiron:~$ ll /etc/weewx/skins/Seasons/skin.conf >> -rw-r--r-- 1 weewx weewx 27403 Feb 4 18:48 >> /etc/weewx/skins/Seasons/skin.conf >> philbert@inspiron:~$ ll /etc/weewx/skins/Seasons/lang/en.conf >> -rw-r--r-- 1 weewx weewx 9459 Feb 4 18:48 >> /etc/weewx/skins/Seasons/lang/en.conf >> philbert@inspiron:~$ >> >> Feb 06 14:15:15 inspiron weewxd[700]: INFO weewx.manager: Added record >> 2024-02-06 14:15:00 PST (1707257700) to database 'weewx.sdb' >> Feb 06 14:15:15 inspiron weewxd[700]: INFO weewx.manager: Added record >> 2024-02-06 14:15:00 PST (1707257700) to daily summary in 'weewx.sdb' >> Feb 06 14:15:15 inspiron weewxd[700]: DEBUG weewx.reportengine: Running >> reports for latest time in the database. >> Feb 06 14:15:15 inspiron weewxd[700]: DEBUG weewx.reportengine: Running >> report 'SeasonsReport' >> Feb 06 14:15:15 inspiron weewxd[700]: DEBUG weewx.reportengine: Cannot >> read skin configuration file /etc/weewx/skins/Seasons/skin.conf for report >> 'SeasonsReport': Config file not found: >> "/etc/weewx/skins/Seasons/skin.conf". >> Feb 06 14:15:15 inspiron weewxd[700]: DEBUG weewx.reportengine: Cannot >> read localization file /etc/weewx/skins/Seasons/lang/en.conf for report >> 'SeasonsReport': Config file not found: >> "/etc/weewx/skins/Seasons/lang/en.conf". >> Feb 06 14:15:15 inspiron weewxd[700]: DEBUG weewx.reportengine: **** >> Using defaults instead. >> Feb 06 14:15:15 inspiron weewxd[700]: DEBUG weewx.reportengine: Running >> generators for report 'SeasonsReport' in directory >> '/etc/weewx/skins/Seasons' >> Feb 06 14:15:15 inspiron weewxd[700]: DEBUG weewx.reportengine: No >> generators specified for report 'SeasonsReport' >> >> On Tuesday, February 6, 2024 at 2:10:19 PM UTC-8 gjr80 wrote: >> >>> So WeeWX cannot find the Seasons skin.conf, what is the contends of >>> /etc/weewx/skins/Seasons? >>> >>> Also, you seem to be truncating some of the log lines, it would help if >>> we could see the rest of the line: >>> >>> Feb 06 13:25:15 inspiron weewxd[692]: DEBUG weewx.reportengine: Cannot >>> read skin configuration file /etc/weewx/skins/Seasons/skin.conf for report >>> 'SeasonsReport':> >>> Feb 06 13:25:15 inspiron weewxd[692]: DEBUG weewx.reportengine: Cannot >>> read localization file /etc/weewx/skins/Seasons/lang/en.conf for report >>> 'SeasonsReport': Co> >>> >>> For info, a package install has the skins directory in /etc/weewx, it >>> has never been in /usr/share/weewx, refer to Where to find things >>> <http://weewx.com/docs/5.0/usersguide/where/> in the User's Guide. >>> >>> Gary >>> >>> On Wednesday 7 February 2024 at 07:57:20 UTC+10 [email protected] >>> wrote: >>> >>>> It thinks that the skins are still in /etc/weewx instead of >>>> /usr/share/weewx. >>>> >>>> -- Boot bc88a89987b645f18a3473d5771ebb26 -- >>>> Feb 06 13:22:59 inspiron systemd[1]: Started WeeWX. >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO __main__: Initializing >>>> weewxd version 5.0.1 >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO __main__: Command line: >>>> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO __main__: Using Python >>>> 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO __main__: Located at >>>> /usr/bin/python3 >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO __main__: Platform >>>> Linux-6.5.0-15-generic-x86_64-with-glibc2.35 >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO __main__: Locale: >>>> 'en_US.UTF-8' >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO __main__: Entry path: >>>> /usr/share/weewx/weewxd.py >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO __main__: WEEWX_ROOT: >>>> /etc/weewx >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO __main__: Configuration >>>> file: /etc/weewx/weewx.conf >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO __main__: User module: >>>> /etc/weewx/bin/user >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO __main__: Debug: 1 >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG __main__: Initializing >>>> engine >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO weewx.engine: Loading >>>> station type Vantage (weewx.drivers.vantage) >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.drivers.vantage: >>>> Driver version is 3.6.2 >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.drivers.vantage: >>>> Option loop_request=1 >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.drivers.vantage: >>>> Opened up serial port /dev/ttyUSB0; baud 19200; timeout 4.00 >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.drivers.vantage: >>>> Successfully woke up Vantage console >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.drivers.vantage: >>>> Hardware type is 16 >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.drivers.vantage: ISS >>>> ID is 1 >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.drivers.vantage: >>>> Hardware name: Vantage Pro2 >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Loading >>>> service weewx.engine.StdTimeSynch >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Finished >>>> loading service weewx.engine.StdTimeSynch >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Loading >>>> service weewx.engine.StdConvert >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO weewx.engine: StdConvert >>>> target unit is 0x1 >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Finished >>>> loading service weewx.engine.StdConvert >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Loading >>>> service weewx.engine.StdCalibrate >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Finished >>>> loading service weewx.engine.StdCalibrate >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Loading >>>> service weewx.engine.StdQC >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Finished >>>> loading service weewx.engine.StdQC >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Loading >>>> service weewx.wxservices.StdWXCalculate >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO weewx.wxservices: >>>> StdWXCalculate will use data binding wx_binding >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.manager: Daily >>>> summary version is 4.0 >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Finished >>>> loading service weewx.wxservices.StdWXCalculate >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Loading >>>> service weewx.wxxtypes.StdWXXTypes >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Finished >>>> loading service weewx.wxxtypes.StdWXXTypes >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Loading >>>> service weewx.wxxtypes.StdPressureCooker >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Finished >>>> loading service weewx.wxxtypes.StdPressureCooker >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Loading >>>> service weewx.wxxtypes.StdRainRater >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Finished >>>> loading service weewx.wxxtypes.StdRainRater >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Loading >>>> service weewx.wxxtypes.StdDelta >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Finished >>>> loading service weewx.wxxtypes.StdDelta >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Loading >>>> service weewx.engine.StdArchive >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO weewx.engine: Archive will >>>> use data binding wx_binding >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO weewx.engine: Record >>>> generation will be attempted in 'hardware' >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO weewx.engine: Using archive >>>> interval of 300 seconds (specified by hardware) >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO weewx.engine: Using archive >>>> interval of 300 seconds (specified by hardware) >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Use LOOP data >>>> in hi/low calculations: 1 >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Finished >>>> loading service weewx.engine.StdArchive >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Loading >>>> service weewx.restx.StdStationRegistry >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO weewx.restx: >>>> StationRegistry: Registration not requested. >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Finished >>>> loading service weewx.restx.StdStationRegistry >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Loading >>>> service weewx.restx.StdWunderground >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.restx: WU essentials: >>>> {} >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO weewx.restx: >>>> Wunderground-PWS: Data for station KWASEQUI26 will be posted >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Finished >>>> loading service weewx.restx.StdWunderground >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Loading >>>> service weewx.restx.StdPWSweather >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO weewx.restx: PWSweather: >>>> Posting not enabled. >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Finished >>>> loading service weewx.restx.StdPWSweather >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Loading >>>> service weewx.restx.StdCWOP >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO weewx.restx: CWOP: Data for >>>> station CW5398 will be posted >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Finished >>>> loading service weewx.restx.StdCWOP >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Loading >>>> service weewx.restx.StdWOW >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO weewx.restx: WOW: Posting >>>> not enabled. >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Finished >>>> loading service weewx.restx.StdWOW >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Loading >>>> service weewx.restx.StdAWEKAS >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO weewx.restx: AWEKAS: Posting >>>> not enabled. >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Finished >>>> loading service weewx.restx.StdAWEKAS >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Loading >>>> service weewx.engine.StdPrint >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Finished >>>> loading service weewx.engine.StdPrint >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Loading >>>> service weewx.engine.StdReport >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO weewx.engine: 'pyephem' >>>> detected, extended almanac data is available >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.engine: Finished >>>> loading service weewx.engine.StdReport >>>> Feb 06 13:23:00 inspiron weewxd[692]: INFO __main__: Starting up weewx >>>> version 5.0.1 >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.manager: Daily >>>> summary version is 4.0 >>>> Feb 06 13:23:00 inspiron weewxd[692]: DEBUG weewx.manager: Daily >>>> summary version is 4.0 >>>> Feb 06 13:23:01 inspiron weewxd[692]: DEBUG weewx.drivers.vantage: >>>> Successfully woke up Vantage console >>>> Feb 06 13:23:01 inspiron weewxd[692]: INFO weewx.engine: Clock error is >>>> -4.27 seconds (positive is fast) >>>> Feb 06 13:23:01 inspiron weewxd[692]: INFO weewx.engine: Using binding >>>> 'wx_binding' to database 'weewx.sdb' >>>> Feb 06 13:23:01 inspiron weewxd[692]: INFO weewx.manager: Starting >>>> backfill of daily summaries >>>> Feb 06 13:23:01 inspiron weewxd[692]: INFO weewx.manager: Daily >>>> summaries up to date >>>> Feb 06 13:23:01 inspiron weewxd[692]: DEBUG weewx.drivers.vantage: >>>> Getting archive packets since 2024-02-06 13:20:00 PST (1707254400) >>>> Feb 06 13:23:01 inspiron weewxd[692]: DEBUG weewx.drivers.vantage: >>>> Successfully woke up Vantage console >>>> Feb 06 13:23:01 inspiron weewxd[692]: DEBUG weewx.drivers.vantage: >>>> Retrieving 0 page(s); starting index= 0 >>>> Feb 06 13:23:01 inspiron weewxd[692]: INFO weewx.engine: Starting main >>>> packet loop. >>>> Feb 06 13:23:02 inspiron weewxd[692]: DEBUG weewx.drivers.vantage: >>>> Successfully woke up Vantage console >>>> Feb 06 13:23:02 inspiron weewxd[692]: DEBUG weewx.drivers.vantage: >>>> Requesting 200 LOOP packets. >>>> Feb 06 13:23:02 inspiron weewxd[692]: DEBUG weewx.drivers.vantage: >>>> Successfully woke up Vantage console >>>> Feb 06 13:25:14 inspiron weewxd[692]: DEBUG weewx.drivers.vantage: >>>> Getting archive packets since 2024-02-06 13:20:00 PST (1707254400) >>>> Feb 06 13:25:15 inspiron weewxd[692]: DEBUG weewx.drivers.vantage: >>>> Successfully woke up Vantage console >>>> Feb 06 13:25:15 inspiron weewxd[692]: DEBUG weewx.drivers.vantage: >>>> Retrieving 1 page(s); starting index= 4 >>>> Feb 06 13:25:15 inspiron weewxd[692]: INFO weewx.manager: Added record >>>> 2024-02-06 13:25:00 PST (1707254700) to database 'weewx.sdb' >>>> Feb 06 13:25:15 inspiron weewxd[692]: INFO weewx.manager: Added record >>>> 2024-02-06 13:25:00 PST (1707254700) to daily summary in 'weewx.sdb' >>>> Feb 06 13:25:15 inspiron weewxd[692]: DEBUG weewx.reportengine: Running >>>> reports for latest time in the database. >>>> Feb 06 13:25:15 inspiron weewxd[692]: DEBUG weewx.drivers.vantage: >>>> Requesting 200 LOOP packets. >>>> Feb 06 13:25:15 inspiron weewxd[692]: DEBUG weewx.reportengine: Running >>>> report 'SeasonsReport' >>>> Feb 06 13:25:15 inspiron weewxd[692]: DEBUG weewx.reportengine: Cannot >>>> read skin configuration file /etc/weewx/skins/Seasons/skin.conf for report >>>> 'SeasonsReport':> >>>> Feb 06 13:25:15 inspiron weewxd[692]: DEBUG weewx.reportengine: Cannot >>>> read localization file /etc/weewx/skins/Seasons/lang/en.conf for report >>>> 'SeasonsReport': Co> >>>> Feb 06 13:25:15 inspiron weewxd[692]: DEBUG weewx.reportengine: **** >>>> Using defaults instead. >>>> Feb 06 13:25:15 inspiron weewxd[692]: DEBUG weewx.reportengine: Running >>>> generators for report 'SeasonsReport' in directory >>>> '/etc/weewx/skins/Seasons' >>>> Feb 06 13:25:15 inspiron weewxd[692]: DEBUG weewx.reportengine: No >>>> generators specified for report 'SeasonsReport' >>>> >>>> On Tuesday, February 6, 2024 at 12:58:36 PM UTC-8 gjr80 wrote: >>>> >>>>> Impossible to say what the issue is with such a short log extract. >>>>> Please edit weewx.conf, set debug =1, save weewx.conf and restart >>>>> WeeWX. Let WeeWX run for at least two archive intervals and then take a >>>>> log >>>>> extract showing the full WeeWX startup through until the two archive >>>>> intervals have elapsed. Post the log extract here. >>>>> >>>>> Gary >>>>> >>>>> On Wednesday 7 February 2024 at 06:33:54 UTC+10 [email protected] >>>>> wrote: >>>>> >>>>>> I'm configured for reports using the Seasons skin and data publishing >>>>>> to CWOP and Wunderground. >>>>>> >>>>>> After updating from 4.10.2 to 5.0.1, I'm seeing the following in the >>>>>> systemd journal every 5 minutes: >>>>>> Feb 06 12:10:17 inspiron weewxd[680]: INFO weewx.manager: Added >>>>>> record 2024-02-06 12:10:00 PST (1707250200) to database 'weewx.sdb' >>>>>> Feb 06 12:10:17 inspiron weewxd[680]: INFO weewx.manager: Added >>>>>> record 2024-02-06 12:10:00 PST (1707250200) to daily summary in >>>>>> 'weewx.sdb' >>>>>> Feb 06 12:10:17 inspiron weewxd[680]: INFO weewx.restx: CWOP: >>>>>> Published record 2024-02-06 12:10:00 PST (1707250200) >>>>>> Feb 06 12:10:17 inspiron weewxd[680]: INFO weewx.restx: >>>>>> Wunderground-PWS: Published record 2024-02-06 12:10:00 PST (1707250200) >>>>>> >>>>>> No mention of report generation, and the Seasons data displayed in >>>>>> Firefox hasn't changed since I installed the update. >>>>>> >>>>>> What could I have done to cause this? >>>>>> >>>>>> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/fc2bc4c9-8730-498c-92f6-82b539feec11n%40googlegroups.com >> <https://groups.google.com/d/msgid/weewx-user/fc2bc4c9-8730-498c-92f6-82b539feec11n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > 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/WlR9NWL3sh0/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/CAPq0zEBGByUNNk-iaxPJwCyK4u5Xt4HFeoaL%3D9Dh0pZCsuuHpw%40mail.gmail.com > <https://groups.google.com/d/msgid/weewx-user/CAPq0zEBGByUNNk-iaxPJwCyK4u5Xt4HFeoaL%3D9Dh0pZCsuuHpw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAP14647J7JYp9r7%2BJKmZomGXs5LGmxnXVDFiuRg68zmFTZQSrQ%40mail.gmail.com.
