Not running correctly

74 views
Skip to first unread message

Dan Becker

unread,
Mar 27, 2024, 2:44:06 PM3/27/24
to weewx-user
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

vince

unread,
Mar 27, 2024, 5:48:40 PM3/27/24
to weewx-user
As always we need more info.  Need to see your debug snippet from weewx.conf and a few lines above and below there.....

Run  "head -n 25 /etc/weewx/weewx.conf" and lets see what it looks like...


Dan Becker

unread,
Mar 27, 2024, 6:12:58 PM3/27/24
to weewx...@googlegroups.com
Thank you...
I saw the problem immediately.  Really spaced that one out

# Set to 1 for extra debug info, otherwise comment it out or set to zero.
debug = # Set to 1 for extra debug info, otherwise comment it out or set to zero.
debug =

Dan B

--
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/KpoT30VhsEs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/8ea22330-b53e-4355-802e-cb2c6f6993b5n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages