Ok then I´ll wait and hope that it will get ported, otherwise I'll have to remove it. Thanks tk!
Den tisdag 5 maj 2020 kl. 00:24:44 UTC+2 skrev Tom Keffer: > > Looks like the stackedwindrose generator has not been ported to Python 3. > The function "unicode()" no longer exists in Python 3. > > On Mon, May 4, 2020 at 2:46 PM Mikael Fredriksson <[email protected] > <javascript:>> wrote: > >> Hi! >> >> Just updated weewx 3.9.1 to 4.0.0 >> Everything seems to be good except the stackedwindrose imagegenerator. >> >> I get this message in the log: >> >> May 4 23:21:49 raspberrypi weewx[12467] ERROR weewx.reportengine: Caught >> unrecoverable exception in generator >> 'user.imageStackedWindRose.ImageStackedWindRoseGenerator' >> May 4 23:21:49 raspberrypi weewx[12467] ERROR >> weewx.reportengine: **** decoding Unicode is not supported >> May 4 23:21:49 raspberrypi weewx[12467] ERROR >> weewx.reportengine: **** Traceback (most recent call last): >> May 4 23:21:49 raspberrypi weewx[12467] ERROR >> weewx.reportengine: **** File >> "/usr/share/weewx/weewx/reportengine.py", line 197, in run >> May 4 23:21:49 raspberrypi weewx[12467] ERROR >> weewx.reportengine: **** obj.start() >> May 4 23:21:49 raspberrypi weewx[12467] ERROR >> weewx.reportengine: **** File >> "/usr/share/weewx/weewx/reportengine.py", line 280, in start >> May 4 23:21:49 raspberrypi weewx[12467] ERROR >> weewx.reportengine: **** self.run() >> May 4 23:21:49 raspberrypi weewx[12467] ERROR >> weewx.reportengine: **** File >> "/usr/share/weewx/user/imageStackedWindRose.py", line 200, in run >> May 4 23:21:49 raspberrypi weewx[12467] ERROR >> weewx.reportengine: **** self.gen_windrose_plots() >> May 4 23:21:49 raspberrypi weewx[12467] ERROR >> weewx.reportengine: **** File >> "/usr/share/weewx/user/imageStackedWindRose.py", line 261, in >> gen_windrose_plots >> May 4 23:21:49 raspberrypi weewx[12467] ERROR >> weewx.reportengine: **** self.label = unicode(label, 'utf8') >> May 4 23:21:49 raspberrypi weewx[12467] ERROR >> weewx.reportengine: **** TypeError: decoding Unicode is not >> supported >> May 4 23:21:49 raspberrypi weewx[12467] ERROR >> weewx.reportengine: **** Generator terminated >> >> Line 261 in file "/usr/share/weewx/user/imageStackedWindRose.py" : >> *self.label = unicode(label, 'utf8')* >> Tried to change "utf8" to "utf-8" and "UTF-8" but no. >> >> Something wrong with decoding unicode, but I don't understand what to >> change... >> Any help appreciated. >> >> And thanks for the weewx update! >> >> /Mikael >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/d7df5bb2-ea21-4726-9e6e-44afb949c4e1%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/d7df5bb2-ea21-4726-9e6e-44afb949c4e1%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/4a472702-c836-4caf-8f0f-d7f828e4c4cd%40googlegroups.com.
