Skin not change

76 views
Skip to first unread message

ginfo...@gmail.com

unread,
Mar 3, 2021, 1:15:53 AM3/3/21
to weewx-user
Hi.
 I put the new skin “neowx-material” folder inside the home folder -> weewx -> Skins

I changed the destination:

 [[StandardReport]]
 # This is the old "Standard" skin. By default, it is not enabled.
 skin = neowx-material
 enable = true

I restart Weewx

It doesn't work, I change the skin but put the standard one.
What am I doing wrong?
Thanks again

gjr80

unread,
Mar 3, 2021, 2:13:49 AM3/3/21
to weewx-user
Hi,

Hard to say, could be any of a myriad of problems. I suggest you edit weewx.conf, set debug = 1, save weewx.conf and restart WeeWX. Let WeeWX run for at least two to three archive intervals and then post a copy of the log showing the entire WeeWX startup and the two to three archive intervals of log entries. If you don't know how to obtain or post a log extract refer to the Help! Posting to weewx user wiki article.

Gary

Graham Eddy

unread,
Mar 3, 2021, 2:52:13 AM3/3/21
to weewx...@googlegroups.com
if you have any other skins enabled, and they point to the same directory, they would be overwriting the new specification

ginfo...@gmail.com

unread,
Mar 3, 2021, 3:16:49 AM3/3/21
to weewx-user
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)

gjr80

unread,
Mar 3, 2021, 4:23:04 AM3/3/21
to weewx-user
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

ginfo...@gmail.com

unread,
Mar 6, 2021, 1:19:24 PM3/6/21
to weewx-user
I solved.
I contacted the developer who fixed everything.
Thanks so much!!
Reply all
Reply to author
Forward
0 new messages