I solved. I contacted the developer who fixed everything. Thanks so much!! Il giorno mercoledì 3 marzo 2021 alle 10:23:04 UTC+1 gjr80 ha scritto:
> You seem to have a character encoding/decoding issue. I suggest you check > if the .tmpl files in your skins/neowx-material directory have the > following line as the first or near to first line of the file: > > #encoding UTF-8 > > If not try adding it to the top of each .tmpl file and see how that goes. > Monitor the log for further errors > > Gary > On Wednesday, 3 March 2021 at 18:16:49 UTC+10 [email protected] wrote: > >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> Generate failed with exception '<type 'exceptions.UnicodeDecodeError'>' >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** Ignoring template /home/weewx/skins/neowx-material/index.html.tmpl >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** Reason: 'ascii' codec can't decode byte 0xc2 in position 5204: ordinal >> not in range(128) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** Traceback (most recent call last): >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 320, in >> generate >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** filtersLib=weewx.cheetahgenerator) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line >> 1336, in __init__ >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** self._compile(source, file, compilerSettings=compilerSettings) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line >> 1637, in _compile >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** keepRefToGeneratedCode=True) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line >> 772, in compile >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** settings=(compilerSettings or {})) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Compiler.py", line >> 1708, in __init__ >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** source = unicode(source) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position >> 5204: ordinal not in range(128) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> Generate failed with exception '<type 'exceptions.UnicodeDecodeError'>' >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** Ignoring template /home/weewx/skins/neowx-material/yesterday.html.tmpl >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** Reason: 'ascii' codec can't decode byte 0xc2 in position 5791: ordinal >> not in range(128) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** Traceback (most recent call last): >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 320, in >> generate >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** filtersLib=weewx.cheetahgenerator) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line >> 1336, in __init__ >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** self._compile(source, file, compilerSettings=compilerSettings) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line >> 1637, in _compile >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** keepRefToGeneratedCode=True) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line >> 772, in compile >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** settings=(compilerSettings or {})) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Compiler.py", line >> 1708, in __init__ >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** source = unicode(source) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position >> 5791: ordinal not in range(128) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> Generate failed with exception '<type 'exceptions.UnicodeDecodeError'>' >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** Ignoring template /home/weewx/skins/neowx-material/week.html.tmpl >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** Reason: 'ascii' codec can't decode byte 0xc2 in position 5337: ordinal >> not in range(128) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** Traceback (most recent call last): >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 320, in >> generate >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** filtersLib=weewx.cheetahgenerator) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line >> 1336, in __init__ >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** self._compile(source, file, compilerSettings=compilerSettings) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line >> 1637, in _compile >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** keepRefToGeneratedCode=True) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line >> 772, in compile >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** settings=(compilerSettings or {})) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Compiler.py", line >> 1708, in __init__ >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** source = unicode(source) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position >> 5337: ordinal not in range(128) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> Generate failed with exception '<type 'exceptions.UnicodeDecodeError'>' >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** Ignoring template /home/weewx/skins/neowx-material/month.html.tmpl >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** Reason: 'ascii' codec can't decode byte 0xc2 in position 5371: ordinal >> not in range(128) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** Traceback (most recent call last): >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 320, in >> generate >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** filtersLib=weewx.cheetahgenerator) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line >> 1336, in __init__ >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** self._compile(source, file, compilerSettings=compilerSettings) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line >> 1637, in _compile >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** keepRefToGeneratedCode=True) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line >> 772, in compile >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** settings=(compilerSettings or {})) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Compiler.py", line >> 1708, in __init__ >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** source = unicode(source) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position >> 5371: ordinal not in range(128) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> Generate failed with exception '<type 'exceptions.UnicodeDecodeError'>' >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** Ignoring template /home/weewx/skins/neowx-material/year.html.tmpl >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** Reason: 'ascii' codec can't decode byte 0xc2 in position 5417: ordinal >> not in range(128) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** Traceback (most recent call last): >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 320, in >> generate >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** filtersLib=weewx.cheetahgenerator) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line >> 1336, in __init__ >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** self._compile(source, file, compilerSettings=compilerSettings) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line >> 1637, in _compile >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** keepRefToGeneratedCode=True) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line >> 772, in compile >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** settings=(compilerSettings or {})) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** File "/usr/lib/python2.7/dist-packages/Cheetah/Compiler.py", line >> 1708, in __init__ >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** source = unicode(source) >> Mar 3 09:10:21 raspberrypi weewx[5813] ERROR weewx.cheetahgenerator: >> **** UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position >> 5417: ordinal not in range(128) >> >> Il giorno mercoledì 3 marzo 2021 alle 08:52:13 UTC+1 [email protected] >> ha scritto: >> >>> if you have any other skins enabled, and they point to the same >>> directory, they would be overwriting the new specification >>> >>> On 3 Mar 2021, at 6:13 pm, gjr80 <[email protected]> wrote: >>> >>> [[StandardReport]] >>> # This is the old "Standard" skin. By default, it is not enabled. >>> skin = neowx-material >>> enable = true >>> >>> >>> -- 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/f226c712-f432-4bf8-8bb1-f4271fa93a88n%40googlegroups.com.
