Loopdata Installation problem

47 views
Skip to first unread message

Michael Boccabella

unread,
Feb 3, 2021, 8:07:52 PM2/3/21
to weewx-user
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

John Kline

unread,
Feb 3, 2021, 8:40:52 PM2/3/21
to weewx...@googlegroups.com
Are you using python3?  What version of WeeWX?
Have you tried re-downloading the loopdata release?

On Feb 3, 2021, at 5:07 PM, Michael Boccabella <m.bocc...@ieee.org> wrote:

Hi All,
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/7ae6cccf-69e2-4bc9-afc3-00d9a8f1e6a1n%40googlegroups.com.

Tom Keffer

unread,
Feb 3, 2021, 8:41:21 PM2/3/21
to weewx-user
You almost have the syntax right, but you're missing the --install option. You want

sudo wee_extension --install=/var/tmp/weewx-loopdata-2.7.2.zip 


--

John Kline

unread,
Feb 3, 2021, 8:42:11 PM2/3/21
to weewx...@googlegroups.com
Thanks, Tom.  I did not notice that.

On Feb 3, 2021, at 5:41 PM, Tom Keffer <tke...@gmail.com> wrote:



Michael Boccabella

unread,
Feb 3, 2021, 8:52:25 PM2/3/21
to weewx-user
Thank you. It installed without a problem.

To answer John's questions, python 3 and weewx version 4.4.0.

I will start to play around with this.  I am looking to set up a tablet inside the house with a fairly responsive temperature and wind speed update.

Again, thanks for the quick response.
Mike
Reply all
Reply to author
Forward
0 new messages