Not really sure why it complains..
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: cheetahgenerator: Generate failed
with exception '<type 'exceptions.UnicodeDecodeError'>'
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: cheetahgenerator: **** Ignoring
template /etc/weewx/skins/Standard/week.html.tmpl
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: cheetahgenerator: **** Reason:
'utf8' codec can't decode byte 0xe4 in position 507: invalid continuation
byte
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** Traceback (most recent call
last):
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 328, in generate
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: ****
filtersLib=weewx.cheetahgenerator)
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** File
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1259, in
__init__
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** self._compile(source,
file, compilerSettings=compilerSettings)
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** File
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1553, in
_compile
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: ****
keepRefToGeneratedCode=True)
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** File
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 740, in compile
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: ****
settings=(compilerSettings or {}))
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** File
"/usr/lib/python2.7/dist-packages/Cheetah/Compiler.py", line 1577, in
__init__
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** source =
source.decode(encoding)
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** File
"/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** return
codecs.utf_8_decode(input, errors, True)
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** UnicodeDecodeError: 'utf8'
codec can't decode byte 0xe4 in position 507: invalid continuation byte
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: cheetahgenerator: Generate failed
with exception '<type 'exceptions.UnicodeEncodeError'>'
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: cheetahgenerator: **** Ignoring
template /etc/weewx/skins/Standard/smartphone/temp_outside.html.tmpl
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: cheetahgenerator: **** Reason:
'ascii' codec can't encode character u'\xb0' in position 3: ordinal not in
range(128)
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** Traceback (most recent call
last):
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** print >> _file,
compiled_template
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** File
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in
__str__
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** rc = getattr(self,
mainMethName)()
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** File
"_etc_weewx_skins_Standard_smartphone_temp_outside_html_tmpl.py", line 108,
in respond
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 621, in filter
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** filtered = str(val)
Sep 11 23:21:22 RPi-3B_L5E weewx[8516]: **** UnicodeEncodeError: 'ascii'
codec can't encode character u'\xb0' in position 3: ordinal not in
range(128)
--
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.