You almost have the syntax right, but you're missing the --install <http://www.weewx.com/docs/utilities.htm#Action_--install> option. You want
*sudo wee_extension --install=/var/tmp/weewx-loopdata-2.7.2.zip * On Wed, Feb 3, 2021 at 5:07 PM Michael Boccabella <[email protected]> wrote: > Hi All, > > I am new to this group, and weewx in general. I just installed weewx about > 4 weeks ago and am still playing around with configurations. I tried to > install the loopdata extension and I am getting an error when wee_extension > is trying to do the install. I am not sure if it is loopdata or some > configuration problem with weewx in general. > > Weewx is running on a raspberry pi system. When wee_extension is run, the > text below is printed out on the console window.. any help would be > appricieated. > > pi@AstroNetWeather1:/usr/share/weewx $ sudo wee_extension > /var/tmp/weewx-loopdata-2.7.2.zip > Traceback (most recent call last): > File "/usr/share/weewx/wee_extension", line 88, in <module> > main() > File "/usr/share/weewx/wee_extension", line 67, in main > config_path, config_dict = weecfg.read_config(options.config, _args) > File "/usr/share/weewx/weecfg/__init__.py", line 180, in read_config > default_encoding='utf-8') > File "/usr/lib/python3/dist-packages/configobj.py", line 1229, in > __init__ > self._load(infile, configspec) > File "/usr/lib/python3/dist-packages/configobj.py", line 1287, in _load > content = self._handle_bom(content) > File "/usr/lib/python3/dist-packages/configobj.py", line 1437, in > _handle_bom > return self._decode(infile, self.encoding) > File "/usr/lib/python3/dist-packages/configobj.py", line 1517, in _decode > infile[i] = line.decode(encoding) > UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb3 in position 54: > invalid start byte > > Thanks in advance for any help. > Mike > > -- > 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 on the web visit > https://groups.google.com/d/msgid/weewx-user/7ae6cccf-69e2-4bc9-afc3-00d9a8f1e6a1n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/7ae6cccf-69e2-4bc9-afc3-00d9a8f1e6a1n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zECubNC_sahE1F1T77eq2-%2BwSn7L6VOYiL_-O_S1X7i4Ew%40mail.gmail.com.
