I don’t see how this error can happen unless you have max_cache_age set to a string in weewx.conf (or skin.conf).
Have you set max_cache_age?

On Nov 18, 2025, at 6:33 PM, 'Ron Walker' via weewx-user <[email protected]> wrote:

Glen,

You are correct again!  Install went well.  Now on restart:

INFO __main__: Starting up weewx version 5.2.0
DEBUG weewx.engine: Station does not support reading the time
INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
INFO weewx.manager: Starting backfill of daily summaries
INFO weewx.manager: Daily summaries up to date
INFO weewx.engine: Starting main packet loop.
DEBUG weewx.manager: Daily summary version is 4.0
DEBUG weewx.manager: Daily summary version is 4.0
CRITICAL user.rtgd: Unexpected exception of type <class 'TypeError'>
DEBUG user.rtgd: rtgdthread: **** Traceback (most recent call last):
DEBUG user.rtgd: rtgdthread: ****   File "/etc/weewx/bin/user/rtgd.py", line 1825, in run
DEBUG user.rtgd: rtgdthread: ****     self.process_packet(_package['payload'])
DEBUG user.rtgd: rtgdthread: ****     ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
DEBUG user.rtgd: rtgdthread: ****   File "/etc/weewx/bin/user/rtgd.py", line 1880, in process_packet
DEBUG user.rtgd: rtgdthread: ****     cached_packet = self.packet_cache.get_packet(_conv_packet['dateTime'],
DEBUG user.rtgd: rtgdthread: ****                                                  self.max_cache_age)
DEBUG user.rtgd: rtgdthread: ****   File "/etc/weewx/bin/user/rtgd.py", line 2908, in get_packet
DEBUG user.rtgd: rtgdthread: ****     packet[obs] = self.get_value(obs, ts, max_age)
DEBUG user.rtgd: rtgdthread: ****                   ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
DEBUG user.rtgd: rtgdthread: ****   File "/etc/weewx/bin/user/rtgd.py", line 2894, in get_value
DEBUG user.rtgd: rtgdthread: ****     if obs in self.cache and ts - self.cache[obs]['ts'] <= max_age:
DEBUG user.rtgd: rtgdthread: ****                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
DEBUG user.rtgd: rtgdthread: **** TypeError: '<=' not supported between instances of 'int' and 'str'
CRITICAL user.rtgd: Thread exiting. Reason: '<=' not supported between instances of 'int' and 'str'
INFO weewx.manager: Added record 2025-11-18 19:30:00 EST (1763512200) to database 'weewx.sdb'

Little by little!
On Tuesday, November 18, 2025 at 7:03:48 PM UTC-5 Glenn McKechnie wrote:

sudo apt install “python3-six”

Cheers
 Glenn (VK3GLN)

Various WeeWx addons at
https://github.com/glennmckechnie


On Wed, 19 Nov 2025 at 10:54, 'Ron Walker' via weewx-user <[email protected]> wrote:
Jimi,

I think I have all of the Steel Series files.  At this point its getting them correctly installed and configured.

Thanks!


On Tuesday, November 18, 2025 at 6:53:00 PM UTC-5 Ron Walker wrote:
John,

When i tried to install six using the package install, I got:

pi@raspberrypi:~ $ sudo install "python3-six"
install: missing destination file operand after 'python3-six'
Try 'install --help' for more information.

Did I miss something?

On Tuesday, November 18, 2025 at 6:39:10 PM UTC-5 Jimi Lawson wrote:
Not sure if this is of any use but I still have this file "steelseries-2.7.6.tar.gz" from 2021 when I first setup WEEWX, it was downloaded from 
https://github.com/gjr80/weewx-steelseries/releases/download/v2.7.6/steelseries-2.7.6.tar.gz I can make it available from my website if anyone wants a copy ?
Regards
Jimi
On Tuesday, 18 November 2025 at 23:06:56 UTC Ron Walker wrote:
Ok, I gave it a shot and did the manual install.  After modifying the weewx.conf file, I restarted weewx and got the following on restart:

Started weewx.service - WeeWX.
INFO __main__: Initializing weewxd version 5.2.0
INFO __main__: Command line: /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
INFO __main__: Using Python: 3.13.5 (main, Jun 25 2025, 18:55:22) [GCC 14.2.0]
INFO __main__: Located at:   /usr/bin/python3
INFO __main__: Platform:     Linux-6.12.47+rpt-rpi-v8-aarch64-with-glibc2.41
INFO __main__: Locale:       'en_US'
INFO __main__: Entry path:   /usr/share/weewx/weewxd.py
INFO __main__: WEEWX_ROOT:   /etc/weewx
INFO __main__: Config file:  /etc/weewx/weewx.conf
INFO __main__: User module:  /etc/weewx/bin/user
INFO __main__: Debug:        1
INFO __main__: User:         weewx
INFO __main__: Group:        weewx
INFO __main__: Groups:       weewx
DEBUG __main__: loop_on_init: False
DEBUG __main__: Initializing engine
INFO weewx.engine: Loading station type FileParse (user.fileparse)
INFO user.fileparse: Data file is /var/tmp/weewx/data.csv
INFO user.fileparse: Polling interval is 10.0
INFO user.fileparse: Label map is {'pressure': 'pressure', 'outTemp': 'outTemp', 'inTemp': 'inTemp', 'outHumidity': 'outHumidity', 'inHumidity': 'inHumidity', 'windSpeed': 'windSpeed', 'windDir': 'windDir', 'windGust': 'windGust', 'windGustDir': 'windGustDir', 'supplyVoltage': 'supplyVoltage', 'lightLevel': 'radiation', 'rain': 'rain'}
DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch
DEBUG weewx.engine: Finished loading service weewx.engine.StdTimeSynch
DEBUG weewx.engine: Loading service weewx.engine.StdConvert
INFO weewx.engine: StdConvert target unit is 0x1
DEBUG weewx.engine: Finished loading service weewx.engine.StdConvert
DEBUG weewx.engine: Loading service weewx.engine.StdCalibrate
DEBUG weewx.engine: Finished loading service weewx.engine.StdCalibrate
DEBUG weewx.engine: Loading service weewx.engine.StdQC
DEBUG weewx.engine: Finished loading service weewx.engine.StdQC
DEBUG weewx.engine: Loading service weewx.wxservices.StdWXCalculate
INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding

DEBUG weewx.manager: Daily summary version is 4.0
DEBUG weewx.engine: Finished loading service weewx.wxservices.StdWXCalculate
DEBUG weewx.engine: Loading service weewx.wxxtypes.StdWXXTypes
DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdWXXTypes
DEBUG weewx.engine: Loading service weewx.wxxtypes.StdPressureCooker
DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdPressureCooker
DEBUG weewx.engine: Loading service weewx.wxxtypes.StdRainRater
DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdRainRater
DEBUG weewx.engine: Loading service weewx.wxxtypes.StdDelta
DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdDelta
DEBUG weewx.engine: Loading service weewx.engine.StdArchive
INFO weewx.engine: Archive will use data binding wx_binding
INFO weewx.engine: Record generation will be attempted in 'hardware'
INFO weewx.engine: Using archive interval of 300 seconds (specified in weewx configuration)
DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1
DEBUG weewx.engine: Finished loading service weewx.engine.StdArchive
DEBUG weewx.engine: Loading service weewx.restx.StdStationRegistry
INFO weewx.restx: StationRegistry: Registration not requested.
DEBUG weewx.engine: Finished loading service weewx.restx.StdStationRegistry
DEBUG weewx.engine: Loading service weewx.restx.StdWunderground
INFO weewx.restx: Wunderground: Posting not enabled.
DEBUG weewx.engine: Finished loading service weewx.restx.StdWunderground
DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather
INFO weewx.restx: PWSweather: Posting not enabled.
DEBUG weewx.engine: Finished loading service weewx.restx.StdPWSweather
DEBUG weewx.engine: Loading service weewx.restx.StdCWOP
INFO weewx.restx: CWOP: Posting not enabled.
DEBUG weewx.engine: Finished loading service weewx.restx.StdCWOP
DEBUG weewx.engine: Loading service weewx.restx.StdWOW
INFO weewx.restx: WOW: Posting not enabled.
DEBUG weewx.engine: Finished loading service weewx.restx.StdWOW
DEBUG weewx.engine: Loading service weewx.restx.StdWOWBE
INFO weewx.restx: WOW-BE: Posting not enabled.
DEBUG weewx.engine: Finished loading service weewx.restx.StdWOWBE
DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS
INFO weewx.restx: AWEKAS: Posting not enabled.
DEBUG weewx.engine: Finished loading service weewx.restx.StdAWEKAS
DEBUG weewx.engine: Loading service weewx.engine.StdPrint
DEBUG weewx.engine: Finished loading service weewx.engine.StdPrint
DEBUG weewx.engine: Loading service weewx.engine.StdReport
INFO weewx.engine: 'pyephem' detected, extended almanac data is available
DEBUG weewx.engine: Finished loading service weewx.engine.StdReport
DEBUG weewx.engine: Loading service user.rtgd.RealtimeGaugeData
CRITICAL __main__: Caught unrecoverable exception:
CRITICAL __main__:     ****  No module named 'six'
CRITICAL __main__:     ****  Traceback (most recent call last):
CRITICAL __main__:     ****    File "/usr/share/weewx/weewxd.py", line 121, in main
CRITICAL __main__:     ****      engine = weewx.engine.StdEngine(config_dict)
CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 89, in __init__
CRITICAL __main__:     ****      self.loadServices(config_dict)
CRITICAL __main__:     ****      ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 157, in loadServices
CRITICAL __main__:     ****      obj = weeutil.weeutil.get_object(svc)(self, config_dict)
CRITICAL __main__:     ****            ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
CRITICAL __main__:     ****    File "/usr/share/weewx/weeutil/weeutil.py", line 1404, in get_object
CRITICAL __main__:     ****      module = importlib.import_module(module_name)
CRITICAL __main__:     ****    File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
CRITICAL __main__:     ****      return _bootstrap._gcd_import(name[level:], package, level)
CRITICAL __main__:     ****             ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
CRITICAL __main__:     ****    File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
CRITICAL __main__:     ****    File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
CRITICAL __main__:     ****    File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
CRITICAL __main__:     ****    File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
CRITICAL __main__:     ****    File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
CRITICAL __main__:     ****    File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
CRITICAL __main__:     ****    File "/etc/weewx/bin/user/rtgd.py", line 625, in <module>
CRITICAL __main__:     ****      from six.moves import http_client
CRITICAL __main__:     ****  ModuleNotFoundError: No module named 'six'
CRITICAL __main__:     ****  Exiting.
Traceback (most recent call last):
  File "/usr/share/weewx/weewxd.py", line 226, in <module>
    main()
    ~~~~^^
  File "/usr/share/weewx/weewxd.py", line 121, in main
    engine = weewx.engine.StdEngine(config_dict)
  File "/usr/share/weewx/weewx/engine.py", line 89, in __init__
    self.loadServices(config_dict)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/share/weewx/weewx/engine.py", line 157, in loadServices
    obj = weeutil.weeutil.get_object(svc)(self, config_dict)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/usr/share/weewx/weeutil/weeutil.py", line 1404, in get_object
    module = importlib.import_module(module_name)
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/etc/weewx/bin/user/rtgd.py", line 625, in <module>
    from six.moves import http_client
ModuleNotFoundError: No module named 'six'
weewx.service: Main process exited, code=exited, status=1/FAILURE
weewx.service: Failed with result 'exit-code'.
weewx.service: Consumed 1.197s CPU time.

Any ideas?

On Tuesday, November 18, 2025 at 4:24:37 PM UTC-5 John Kline wrote:
I have a copy of weewx-realtime_gauge-data here:

The caveat is that I have long incorporated these gauges into my private skin, so I no longer run this.  Never-the-less, if you want to give it a try; I think I, and others, can get it running for you.

On Nov 18, 2025, at 3:18 PM, 'Ron Walker' via weewx-user <[email protected]> wrote:

Yes, it is!  Perhaps I should take a break!  I still need the weewx-realtime_gauge-data!

Thanks so much!

On Tuesday, November 18, 2025 at 4:10:19 PM UTC-5 John Kline wrote:
It is all working now?

On Nov 18, 2025, at 3:08 PM, 'Ron Walker' via weewx-user <[email protected]> wrote:

Glen,

You spotted what should have been obvious to me!  The error was a misspelling in weewx.conf which I have resolved!

Thank you!

On Tuesday, November 18, 2025 at 4:00:51 PM UTC-5 Glenn McKechnie wrote:
On Nov 18, 2025, at 2:19 PM, 'Ron Walker' via weewx-user <[email protected]> wrote:

Hi John,

When the report runs, I get the following errors for a number of files with png extension.  The first line reports that /var/www/html/weewx/steelseries/index.html.tmp doesn't exist, but it does and permissions are correct.  I hope that this makes sense.

FileNotFoundError: [Errno 2] No such file or directory: '/ver/www/html/weewx/steelseries/index.html.tmp'

I have to ask.
What's ver,  as found in your reported directory path

You mention it should be /var/www/html... in your introduction. Yet the log shows otherwise -Typo?


DEBUG weewx.manager: Daily summary version is 4.0
ERROR weewx.imagegenerator: Unable to save to file '/ver/www/html/weewx/steelseries/daybarometer.png' [Errno 2] No such file or directory: '/ver/www/html/weewx/steelseries/daybarometer.png':

--
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].

--
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].

--
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].

--
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 visit https://groups.google.com/d/msgid/weewx-user/86892fbe-25c6-475d-9749-b123e8c0b0cbn%40googlegroups.com.

--
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 visit https://groups.google.com/d/msgid/weewx-user/BD57CF2A-7155-4A4B-833C-16D26942FA07%40johnkline.com.

Reply via email to