skin freeze with Belchertown

88 views
Skip to first unread message

Patrick Tranchant

unread,
Feb 16, 2020, 10:05:20 AM2/16/20
to weewx-user
hello PAT,

the web site is freeze with the Belchertown skin but OK with Season skin !!!

my error in log:

Feb 16 16:00:29 raspberrypi weewx[490]: reportengine: Caught unrecoverable exception in generator 'weewx.cheetahgenerator.CheetahGenerator'
Feb 16 16:00:29 raspberrypi weewx[490]:         ****  'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
Feb 16 16:00:29 raspberrypi weewx[490]:         ****  Traceback (most recent call last):
Feb 16 16:00:29 raspberrypi weewx[490]:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 204, in run
Feb 16 16:00:29 raspberrypi weewx[490]:         ****      obj.start()
Feb 16 16:00:29 raspberrypi weewx[490]:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 300, in start
Feb 16 16:00:29 raspberrypi weewx[490]:         ****      self.run()
Feb 16 16:00:29 raspberrypi weewx[490]:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 160, in run
Feb 16 16:00:29 raspberrypi weewx[490]:         ****      ngen = self.generate(gen_dict[section_name], self.gen_ts)
Feb 16 16:00:29 raspberrypi weewx[490]:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 234, in generate
Feb 16 16:00:29 raspberrypi weewx[490]:         ****      ngen += self.generate(section[subsection], gen_ts)
Feb 16 16:00:29 raspberrypi weewx[490]:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 234, in generate
Feb 16 16:00:29 raspberrypi weewx[490]:         ****      ngen += self.generate(section[subsection], gen_ts)
Feb 16 16:00:29 raspberrypi weewx[490]:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generate
Feb 16 16:00:29 raspberrypi weewx[490]:         ****      default_binding)
Feb 16 16:00:29 raspberrypi weewx[490]:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 374, in _getSearchList
Feb 16 16:00:29 raspberrypi weewx[490]:         ****      searchList += obj.get_extension_list(timespan, db_lookup)
Feb 16 16:00:29 raspberrypi weewx[490]:         ****    File "/usr/share/weewx/user/belchertown.py", line 399, in get_extension_list
Feb 16 16:00:29 raspberrypi weewx[490]:         ****      "%s, %s" % (calendar.month_name[ int( at_rainiest_month_query[0] ) ], at_rainiest_month_query[1]),
Feb 16 16:00:29 raspberrypi weewx[490]:         ****  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
Feb 16 16:00:29 raspberrypi weewx[490]:         ****  Generator terminated
Feb 16 16:00:29 raspberrypi weewx[490]: copygenerator: copied 2 files to /var/www/html/weewx/belchertown

I am in version
  • WeeWX version: 3.9.2
  • Belchertown Skin Version: 1.1b8
it was OK, yesterday and this morning.

Patrick

Patrick Tranchant

unread,
Feb 16, 2020, 10:12:35 AM2/16/20
to weewx-user
again me,


but the datas in graph are OK !!!


Patrick

Patrick Tranchant

unread,
Feb 16, 2020, 10:14:18 AM2/16/20
to weewx-user
sorry the time is stopped at 14h35 but inside graph it is correct

patrick

On Sunday, February 16, 2020 at 4:05:20 PM UTC+1, Patrick Tranchant wrote:

Pat

unread,
Feb 16, 2020, 9:34:34 PM2/16/20
to weewx-user
It looks like it is failing on the month name and the encoding. I can't replicate this though to understand a fix. I'll try to replicate it when I can. 

Pat

unread,
Feb 17, 2020, 8:54:14 AM2/17/20
to weewx-user
Do you have any other errors? I'm not able to replicate this on a new machine with Francais language. 

février, 2020

Can you share your database?

On Sunday, February 16, 2020 at 10:05:20 AM UTC-5, Patrick Tranchant wrote:

Pat

unread,
Feb 17, 2020, 9:00:20 AM2/17/20
to weewx-user
Actually, I can re-create this. I missed you were using 1.1b8. When I install 1.1b8 it is failing the same way

I will work on this

Pat

unread,
Feb 17, 2020, 9:25:39 AM2/17/20
to weewx-user
I believe I fixed this and updated the development to 1.1b9. 

Please upgrade to 1.1b9 and try again

salinois

unread,
Feb 17, 2020, 12:34:47 PM2/17/20
to weewx...@googlegroups.com

hello Pat

super, I will upgrade now and I come back to you

thanks

patrick

--
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/416db18d-af7d-4a12-84a6-8b8ec65aebe3%40googlegroups.com.

Patrick Tranchant

unread,
Feb 17, 2020, 1:08:00 PM2/17/20
to weewx-user
again,

update OK, I am updating all files for translation an other.
very good job PAT

Patrick



On Sunday, February 16, 2020 at 4:05:20 PM UTC+1, Patrick Tranchant wrote:

Patrick Tranchant

unread,
Feb 17, 2020, 2:13:41 PM2/17/20
to weewx-user
again
hello PAT

everythings is OK for the skin


thanks for all

patrick

On Sunday, February 16, 2020 at 4:05:20 PM UTC+1, Patrick Tranchant wrote:
Reply all
Reply to author
Forward
0 new messages