But the install guide and support guide for weewx says its supported on C7. Moving to Linux8 would also take me to python3 and a few other changes.. which is fine... but not what the docs state.
On Monday, April 18, 2022 at 1:21:31 PM UTC-4 vince wrote: > Yes - I can duplicate this in vagrant using a clean VM and centos-7 > > Since you have a clean install, I'd recommend you use almalinux-8 (a > centos clone) which 'does' work ok if you run 'wee_config --reconfig" > > > On Monday, April 18, 2022 at 8:11:59 AM UTC-7 kheller2 wrote: > >> I've poked through the list here and it doesn't seem like anyone has had >> code issues since sometime in 2021. This is a virgin install of weewx >> 4.7.0 on CentOS 7.9+latest updates. Weewxd works fine and is creating the >> sample data that I can see with Apache httpd. >> However, I can't reconfigure the thing. Pressing return to every stock >> prompt (or changing anything) always results in the same thing: >> >> choose a driver [4]: >> Traceback (most recent call last): >> File "/usr/share/weewx/wee_config", line 128, in <module> >> main() >> File "/usr/share/weewx/wee_config", line 122, in main >> config_mgr.run(args, options) >> File "/usr/share/weewx/weecfg/config.py", line 125, in run >> weecfg.modify_config(config_dict, stn_info, self.logger, >> options.debug) >> File "/usr/share/weewx/weecfg/__init__.py", line 228, in modify_config >> stanza = configobj.ConfigObj(stanza_text.splitlines()) >> File "/usr/lib/python2.7/site-packages/configobj.py", line 1242, in >> __init__ >> self._load(infile, configspec) >> File "/usr/lib/python2.7/site-packages/configobj.py", line 1302, in >> _load >> infile = self._handle_bom(infile) >> File "/usr/lib/python2.7/site-packages/configobj.py", line 1457, in >> _handle_bom >> if not line.startswith(BOM): >> UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0: >> ordinal not in range(128) >> >> [root@c7 ~]# locale >> LANG=en_US.UTF-8 >> LC_CTYPE="en_US.UTF-8" >> LC_NUMERIC="en_US.UTF-8" >> LC_TIME="en_US.UTF-8" >> LC_COLLATE="en_US.UTF-8" >> LC_MONETARY="en_US.UTF-8" >> LC_MESSAGES="en_US.UTF-8" >> LC_PAPER="en_US.UTF-8" >> LC_NAME="en_US.UTF-8" >> LC_ADDRESS="en_US.UTF-8" >> LC_TELEPHONE="en_US.UTF-8" >> LC_MEASUREMENT="en_US.UTF-8" >> LC_IDENTIFICATION="en_US.UTF-8" >> LC_ALL= >> >> There is nothing in /var/log/messages about the running of wee_config. >> the conf file has debugging set. >> >> I'm new to this product and just trying to get it accept some changes. >> >> Thanks for help or pointing me in the right direction. >> >> -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/f88b85aa-c3cf-4a08-b074-104dbe57305fn%40googlegroups.com.