Bootstrap report probelm after update to 4.1.1

80 views
Skip to first unread message

Cyril D

unread,
Aug 10, 2020, 12:24:19 PM8/10/20
to weewx-user
Hello,

After update from 3.9.2 to 4.1.1, I get those errors:
Aug 10 18:20:27 stationmeteo weewx[4210] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'user.gaugeengine.GaugeGenerator'
Aug 10 18:20:27 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****  decoding Unicode is not supported
Aug 10 18:20:27 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Aug 10 18:20:27 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****    File "/home/pi/cleusb/weewx/bin/weewx/reportengine.py", line 197, in run
Aug 10 18:20:27 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****      obj.start()
Aug 10 18:20:27 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****    File "/home/pi/cleusb/weewx/bin/weewx/reportengine.py", line 280, in start
Aug 10 18:20:27 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****      self.run()
Aug 10 18:20:27 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****    File "/home/pi/cleusb/weewx/bin/user/gaugeengine.py", line 121, in run
Aug 10 18:20:27 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****      self.gen_gauges()
Aug 10 18:20:27 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****    File "/home/pi/cleusb/weewx/bin/user/gaugeengine.py", line 171, in gen_gauges
Aug 10 18:20:27 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****      ret = self.gen_gauge(gauge, plot_options, img_file)
Aug 10 18:20:27 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****    File "/home/pi/cleusb/weewx/bin/user/gaugeengine.py", line 304, in gen_gauge
Aug 10 18:20:27 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****      label_text = unicode(label_format % value_now, 'utf8')
Aug 10 18:20:27 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****  TypeError: decoding Unicode is not supported
Aug 10 18:20:27 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****  Generator terminated

The Bootstrap gauges are not updated, but I can't see in which file there is a problem. Can you help?
Thanks

ge...@cusick.org.uk

unread,
Aug 11, 2020, 10:34:03 AM8/11/20
to weewx-user
Have you updated Bootstrap?

Cyril D

unread,
Aug 11, 2020, 11:51:55 AM8/11/20
to weewx-user


Le mardi 11 août 2020 16:34:03 UTC+2, ge...@cusick.org.uk a écrit :
Have you updated Bootstrap?


Oops, no. Thanks for the reminder.

Few minutes later... updated to v2.26.

But I still get the errors with weewx 4.1.1 and python 2.7.16:

Aug 11 17:41:55 stationmeteo weewx[4210] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'user.gaugeengine.GaugeGenerator'
Aug 11 17:41:55 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****  decoding Unicode is not supported
Aug 11 17:41:55 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Aug 11 17:41:55 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****    File "/home/pi/cleusb/weewx/bin/weewx/reportengine.py", line 197, in run
Aug 11 17:41:55 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****      obj.start()
Aug 11 17:41:55 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****    File "/home/pi/cleusb/weewx/bin/weewx/reportengine.py", line 280, in start
Aug 11 17:41:55 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****      self.run()
Aug 11 17:41:55 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****    File "/home/pi/cleusb/weewx/bin/user/gaugeengine.py", line 121, in run
Aug 11 17:41:55 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****      self.gen_gauges()
Aug 11 17:41:55 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****    File "/home/pi/cleusb/weewx/bin/user/gaugeengine.py", line 171, in gen_gauges
Aug 11 17:41:55 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****      ret = self.gen_gauge(gauge, plot_options, img_file)
Aug 11 17:41:55 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****    File "/home/pi/cleusb/weewx/bin/user/gaugeengine.py", line 304, in gen_gauge
Aug 11 17:41:55 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****      label_text = label_format % value_now
Aug 11 17:41:55 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****  TypeError: decoding Unicode is not supported
Aug 11 17:41:55 stationmeteo weewx[4210] ERROR weewx.reportengine:         ****  Generator terminated

Cyril D

unread,
Aug 11, 2020, 12:15:27 PM8/11/20
to weewx-user

After a restart of weewx, there is no more errors.

Thank you for your help!


ge...@cusick.org.uk

unread,
Aug 11, 2020, 1:17:24 PM8/11/20
to weewx-user
You’re welcome.  I went down the same path myself!
Reply all
Reply to author
Forward
0 new messages