Haven't seen this before, my initial guess is that this is something to do with Cheetah I think, and not my skin necessarily.
Does your configuration or database have some sort of ascii character in it like the degrees symbol or something like that? Seems to be something with your setup. Check your configs and database? On Friday, December 21, 2018 at 6:53:47 PM UTC-5, [email protected] wrote: > > Hi Pat, > > I've installed the latest version and have followed all of your > instructions, however, I keep getting the following errors when weeex tries > to generate the actual index.html files: > > Dec 21 16:40:22 debian weewx[6732]: reportengine: Running report > Belchertown > Dec 21 16:40:22 debian weewx[6732]: reportengine: Found configuration file > /etc/weewx/skins/Belchertown/skin.conf for report Belchertown > Dec 21 16:40:22 debian weewx[6732]: cheetahgenerator: using search list > ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', > 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', > 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', > 'user.belchertown.getData'] > Dec 21 16:40:22 debian weewx[6732]: manager: Daily summary version is 2.0 > Dec 21 16:40:22 debian weewx[6732]: Belchertown Extension: version 0.8 > Dec 21 16:40:26 debian weewx[6732]: cheetahgenerator: Generate failed with > exception '<type 'exceptions.UnicodeDecodeError'>' > Dec 21 16:40:26 debian weewx[6732]: cheetahgenerator: **** Ignoring > template /etc/weewx/skins/Belchertown/about/index.html.tmpl > Dec 21 16:40:26 debian weewx[6732]: cheetahgenerator: **** Reason: 'ascii' > codec can't decode byte 0xef in position 0: ordinal not in range(128) > Dec 21 16:40:26 debian weewx[6732]: **** Traceback (most recent call > last): > Dec 21 16:40:26 debian weewx[6732]: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 328, in generate > Dec 21 16:40:26 debian weewx[6732]: **** > filtersLib=weewx.cheetahgenerator) > Dec 21 16:40:26 debian weewx[6732]: **** File > "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1259, in > __init__ > Dec 21 16:40:26 debian weewx[6732]: **** self._compile(source, file, > compilerSettings=compilerSettings) > Dec 21 16:40:26 debian weewx[6732]: **** File > "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1553, in > _compile > Dec 21 16:40:26 debian weewx[6732]: **** keepRefToGeneratedCode=True) > Dec 21 16:40:26 debian weewx[6732]: **** File > "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 740, in compile > Dec 21 16:40:26 debian weewx[6732]: **** settings=(compilerSettings > or {})) > Dec 21 16:40:26 debian weewx[6732]: **** File > "/usr/lib/python2.7/dist-packages/Cheetah/Compiler.py", line 1579, in > __init__ > Dec 21 16:40:26 debian weewx[6732]: **** source = unicode(source) > Dec 21 16:40:26 debian weewx[6732]: **** UnicodeDecodeError: 'ascii' > codec can't decode byte 0xef in position 0: ordinal not in range(128) > Dec 21 16:40:27 debian weewx[6732]: cheetahgenerator: Generate failed with > exception '<type 'exceptions.UnicodeDecodeError'>' > Dec 21 16:40:27 debian weewx[6732]: cheetahgenerator: **** Ignoring > template /etc/weewx/skins/Belchertown/index.html.tmpl > Dec 21 16:40:27 debian weewx[6732]: cheetahgenerator: **** Reason: 'ascii' > codec can't decode byte 0xef in position 0: ordinal not in range(128) > Dec 21 16:40:27 debian weewx[6732]: **** Traceback (most recent call > last): > Dec 21 16:40:27 debian weewx[6732]: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 328, in generate > Dec 21 16:40:27 debian weewx[6732]: **** > filtersLib=weewx.cheetahgenerator) > Dec 21 16:40:27 debian weewx[6732]: **** File > "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1259, in > __init__ > Dec 21 16:40:27 debian weewx[6732]: **** self._compile(source, file, > compilerSettings=compilerSettings) > Dec 21 16:40:27 debian weewx[6732]: **** File > "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1553, in > _compile > Dec 21 16:40:27 debian weewx[6732]: **** keepRefToGeneratedCode=True) > Dec 21 16:40:27 debian weewx[6732]: **** File > "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 740, in compile > Dec 21 16:40:27 debian weewx[6732]: **** settings=(compilerSettings > or {})) > Dec 21 16:40:27 debian weewx[6732]: **** File > "/usr/lib/python2.7/dist-packages/Cheetah/Compiler.py", line 1579, in > __init__ > Dec 21 16:40:27 debian weewx[6732]: **** source = unicode(source) > Dec 21 16:40:27 debian weewx[6732]: **** UnicodeDecodeError: 'ascii' > codec can't decode byte 0xef in position 0: ordinal not in range(128) > Dec 21 16:40:27 debian weewx[6732]: cheetahgenerator: Generate failed with > exception '<type 'exceptions.UnicodeDecodeError'>' > Dec 21 16:40:27 debian weewx[6732]: cheetahgenerator: **** Ignoring > template /etc/weewx/skins/Belchertown/pi/index.html.tmpl > Dec 21 16:40:27 debian weewx[6732]: cheetahgenerator: **** Reason: 'ascii' > codec can't decode byte 0xef in position 0: ordinal not in range(128) > Dec 21 16:40:27 debian weewx[6732]: **** Traceback (most recent call > last): > Dec 21 16:40:27 debian weewx[6732]: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 328, in generate > Dec 21 16:40:27 debian weewx[6732]: **** > filtersLib=weewx.cheetahgenerator) > Dec 21 16:40:27 debian weewx[6732]: **** File > "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1259, in > __init__ > Dec 21 16:40:27 debian weewx[6732]: **** self._compile(source, file, > compilerSettings=compilerSettings) > Dec 21 16:40:27 debian weewx[6732]: **** File > "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1553, in > _compile > Dec 21 16:40:27 debian weewx[6732]: **** keepRefToGeneratedCode=True) > Dec 21 16:40:27 debian weewx[6732]: **** File > "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 740, in compile > Dec 21 16:40:27 debian weewx[6732]: **** settings=(compilerSettings > or {})) > Dec 21 16:40:27 debian weewx[6732]: **** File > "/usr/lib/python2.7/dist-packages/Cheetah/Compiler.py", line 1579, in > __init__ > Dec 21 16:40:27 debian weewx[6732]: **** source = unicode(source) > Dec 21 16:40:27 debian weewx[6732]: **** UnicodeDecodeError: 'ascii' > codec can't decode byte 0xef in position 0: ordinal not in range(128) > Dec 21 16:40:28 debian weewx[6732]: cheetahgenerator: Generated 12 files > for report Belchertown > > Please help! > > Thanks, > Dave > > > On Friday, December 7, 2018 at 4:12:23 PM UTC-6, Pat wrote: >> >> The last thread was getting a bit long. So I've started a new one. >> >> Belchertown Skin 0.8.1 has been released which fixes a couple of bugs. >> See the release notes, and install instructions here: >> >> https://github.com/poblabs/weewx-belchertown/releases >> >> >> -- 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]. For more options, visit https://groups.google.com/d/optout.
