Have been using weewx for well over a decade. I am running on a rasp-pi and since moving up to version 5 it just does not work correctly. So I am now on a fresh install of bookworm and weewx 5.02.
This is the error I get
weewxd
Unable to set up logger: invalid literal for int() with base 10: ''
Traceback (most recent call last):
File "/usr/share/weewx/weewxd.py", line 93, in main
weeutil.logger.setup(namespace.log_label, config_dict)
File "/usr/share/weewx/weeutil/logger.py", line 110, in setup
weewx.debug = int(config_dict.get('debug', 0))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
DanB