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/1ee0b557-13ce-41f0-825c-3ba27d799f8en%40googlegroups.com.