Weewx 5.3 (charts are not displayed)

13 views
Skip to first unread message

ANDREI ROZWADOWSKI

unread,
4:16 AM (3 hours ago) 4:16 AM
to weewx-user
Hi!
I am using Raspbian Trixie (2025-12-04-raspios-trixie-arm64.img.xz).
I have installed Weewx 5.3
However, after running in the folder
/var/www/html/weewx/
I only see
font  
NOAA  
favicon.ico  
seasons.css
seasons.js
sudo weectl device --dump

I ran the following commands: 
sudo weectl device --dump 
sudo weectl device --clear-memory

I did a weewx restart.

But now I see the following:
pi@raspberrypi:~ $ sudo systemctl status weewx
× weewx.service - WeeWX
     Loaded: loaded (/usr/lib/systemd/system/weewx.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Mon 2026-03-09 09:58:12 MSK; 1h 16min ago
   Duration: 14.066s
 Invocation: 3722bb7b1e1144339bf0f46bbd506467
       Docs: https://weewx.com/docs
    Process: 1526 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, status=1/FAILURE)
   Main PID: 1526 (code=exited, status=1/FAILURE)
        CPU: 1.134s

Mar 09 09:58:12 raspberrypi weewxd[1526]:                   ~~~~~~~~~^^^^^^^^^^^^^
Mar 09 09:58:12 raspberrypi weewxd[1526]:   File "/usr/share/weewx/weewx/drivers/vantage.py", line 631, in genArchiveRecords
Mar 09 09:58:12 raspberrypi weewxd[1526]:     for _record in self.genDavisArchiveRecords(since_ts):
Mar 09 09:58:12 raspberrypi weewxd[1526]:                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
Mar 09 09:58:12 raspberrypi weewxd[1526]:   File "/usr/share/weewx/weewx/drivers/vantage.py", line 664, in genDavisArchiveRecords
Mar 09 09:58:12 raspberrypi weewxd[1526]:     _datestr = struct.pack("<HH", _vantageDateStamp, _vantageTimeStamp)
Mar 09 09:58:12 raspberrypi weewxd[1526]: struct.error: 'H' format requires 0 <= number <= 65535
Mar 09 09:58:12 raspberrypi systemd[1]: weewx.service: Main process exited, code=exited, status=1/FAILURE
Mar 09 09:58:12 raspberrypi systemd[1]: weewx.service: Failed with result 'exit-code'.
Mar 09 09:58:12 raspberrypi systemd[1]: weewx.service: Consumed 1.134s CPU time.
pi@raspberrypi:~ $ sudo journalctl -u weewx
Mar 09 09:45:55 raspberrypi systemd[1]: Started weewx.service - WeeWX.
Mar 09 09:45:57 raspberrypi weewxd[1024]: INFO __main__: Initializing weewxd version 5.3.1
Mar 09 09:45:57 raspberrypi weewxd[1024]: INFO __main__: Command line: /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Mar 09 09:45:57 raspberrypi weewxd[1024]: INFO __main__: Using Python: 3.13.5 (main, Jun 25 2025, 18:55:22) [GCC 14.2.0]
Mar 09 09:45:57 raspberrypi weewxd[1024]: INFO __main__: Located at:   /usr/bin/python3
Mar 09 09:45:57 raspberrypi weewxd[1024]: INFO __main__: Platform:     Linux-6.12.62+rpt-rpi-v8-aarch64-with-glibc2.41
Mar 09 09:45:57 raspberrypi weewxd[1024]: INFO __main__: Locale:       'en_US.UTF-8'
Mar 09 09:45:57 raspberrypi weewxd[1024]: INFO __main__: Entry path:   /usr/share/weewx/weewxd.py
Mar 09 09:45:57 raspberrypi weewxd[1024]: INFO __main__: WEEWX_ROOT:   /etc/weewx
Mar 09 09:45:57 raspberrypi weewxd[1024]: INFO __main__: Config file:  /etc/weewx/weewx.conf
Mar 09 09:45:57 raspberrypi weewxd[1024]: INFO __main__: User module:  /etc/weewx/bin/user
Mar 09 09:45:57 raspberrypi weewxd[1024]: INFO __main__: Debug:        0
Mar 09 09:45:57 raspberrypi weewxd[1024]: INFO __main__: User:         weewx
Mar 09 09:45:57 raspberrypi weewxd[1024]: INFO __main__: Group:        weewx
Mar 09 09:45:57 raspberrypi weewxd[1024]: INFO __main__: Groups:       weewx
Mar 09 09:45:57 raspberrypi weewxd[1024]: INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Mar 09 09:45:58 raspberrypi weewxd[1024]: INFO weewx.engine: StdConvert target unit is 0x1
Mar 09 09:45:58 raspberrypi weewxd[1024]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
Mar 09 09:45:58 raspberrypi weewxd[1024]: INFO weewx.engine: Archive will use data binding wx_binding
Mar 09 09:45:58 raspberrypi weewxd[1024]: INFO weewx.engine: Record generation will be attempted in 'hardware'
Mar 09 09:45:58 raspberrypi weewxd[1024]: INFO weewx.engine: The archive interval in the configuration file (300) does not match the station hardware interval (60>
Mar 09 09:45:58 raspberrypi weewxd[1024]: INFO weewx.engine: Using archive interval of 60 seconds (specified by hardware)
Mar 09 09:45:59 raspberrypi weewxd[1024]: INFO weewx.restx: StationRegistry: Registration not requested.
Mar 09 09:45:59 raspberrypi weewxd[1024]: INFO weewx.restx: Wunderground: Posting not enabled.
Mar 09 09:45:59 raspberrypi weewxd[1024]: INFO weewx.restx: PWSweather: Posting not enabled.
Mar 09 09:45:59 raspberrypi weewxd[1024]: INFO weewx.restx: CWOP: Posting not enabled.
Mar 09 09:45:59 raspberrypi weewxd[1024]: INFO weewx.restx: WOW: Posting not enabled.
Mar 09 09:45:59 raspberrypi weewxd[1024]: INFO weewx.restx: WOW-BE: Posting not enabled.
Mar 09 09:45:59 raspberrypi weewxd[1024]: INFO weewx.restx: AWEKAS: Posting not enabled.
Mar 09 09:45:59 raspberrypi weewxd[1024]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available
Mar 09 09:45:59 raspberrypi weewxd[1024]: INFO __main__: Starting up weewx version 5.3.1
Mar 09 09:46:00 raspberrypi weewxd[1024]: INFO weewx.engine: Clock error is 275.84 seconds (positive is fast)
Mar 09 09:46:00 raspberrypi weewxd[1024]: INFO weewx.drivers.vantage: Clock set to 2026-03-09 09:46:01 MSK (1773038761)
Mar 09 09:46:00 raspberrypi weewxd[1024]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
lines 1-34

Please tell me, I have problems with data-logger?
Or I have installed weewx incorrectly?

ANDREI ROZWADOWSKI

unread,
4:21 AM (3 hours ago) 4:21 AM
to weewx-user
Below are the results of the commands:

pi@raspberrypi:~ $ sudo weectl device --dump
Using configuration file /etc/weewx/weewx.conf
Using driver weewx.drivers.vantage.
Using Vantage driver version 3.6.3 (weewx.drivers.vantage)
Proceeding will dump all data in the logger.
Are you sure you want to proceed (y/n)? y
Starting dump ...
 Records processed: 2; Timestamp: 2001-04-24 07:35:00 MSD (988083300)
Finished dump. 2 records added
pi@raspberrypi:~ $ sudo weectl device --clear-memory
Using configuration file /etc/weewx/weewx.conf
Using driver weewx.drivers.vantage.
Using Vantage driver version 3.6.3 (weewx.drivers.vantage)
Proceeding will erase all archive records.
Are you sure you wish to proceed (y/n)? y
Erasing all archive records ...
Unable to wake up console... sleeping
Unable to wake up console... retrying
Unable to wake up console... sleeping
Unable to wake up console... retrying
Unable to wake up console... sleeping
Unable to wake up console... retrying
Unable to wake up console... sleeping
Unable to wake up console... retrying
Unable to wake up console... sleeping
Unable to wake up console... retrying
Unable to wake up console... sleeping
Unable to wake up console... retrying
Traceback (most recent call last):
  File "/usr/share/weewx/weectl.py", line 82, in <module>
    main()
    ~~~~^^
  File "/usr/share/weewx/weectl.py", line 43, in main
    weectllib.device_actions.device()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/share/weewx/weectllib/device_actions.py", line 91, in device
    configurator.configure(config_dict)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/share/weewx/weewx/drivers/__init__.py", line 71, in configure
    self.do_options(options, parser, config_dict, not options.noprompt)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 2255, in do_options
    self.clear_memory(station, options.noprompt)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 2569, in clear_memory
    station.clearLog()
    ~~~~~~~~~~~~~~~~^^
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1252, in clearLog
    raise weewx.RetriesExceeded("Max retries exceeded while clearing log")
weewx.RetriesExceeded: Max retries exceeded while clearing log
pi@raspberrypi:~ $ 


понедельник, 9 марта 2026 г. в 11:16:46 UTC+3, ANDREI ROZWADOWSKI:
Reply all
Reply to author
Forward
0 new messages