Update Problem

53 views
Skip to first unread message

ried...@gmail.com

unread,
Feb 22, 2022, 4:42:32 AM2/22/22
to weewx-user
Hello
After the update from Weex 4.5.2 to 4.6.2 I only have 2 sensors in the list.
outside temperature and air pressure.
I am using an HP1000 driver.
There are also some error messages in the sys log!
Skin unknown unknown although I specified standard in the config.
Here is an excerpt from the log

Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator: ****  Traceback (most recent call last):
Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 328, in generate
Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator: ****      compiled_template = Cheetah.Template.Template(
Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator: ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1337, in __init__
Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator: ****      self._compile(source, file, compilerSettings=compilerSettings)
Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator: ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1631, in _compile
Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator: ****      self._fileMtime = os.path.getmtime(file)
Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator: ****    File "/usr/lib/python3.8/genericpath.py", line 55, in getmtime
Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator: ****      return os.stat(filename).st_mtime
Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator: ****  FileNotFoundError: [Errno 2] No such file or directory: '/etc/weewx/skins/Smartphone/smartphone/uv.html.tmpl'
Feb 22 10:40:34 weewx weewx[6490] INFO weewx.cheetahgenerator: Generated 6 files for report SmartphoneReport in 0.22 seconds
Feb 22 10:40:35 weewx weewx[6490] INFO weewx.imagegenerator: Generated 6 images for report SmartphoneReport in 0.33 seconds
Feb 22 10:40:35 weewx weewx[6490] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx/smartphone
Feb 22 10:40:35 weewx weewx[6490] INFO weewx.reportengine: ftpgenerator: Ftp'd 30 files in 0.31 seconds


I hope this problem can be solved.

Regards
Andre

Tom Keffer

unread,
Feb 22, 2022, 6:31:29 AM2/22/22
to weewx-user
The configuration file (skin.conf) for the Smartphone skin is specifying a template (iv.html.tmpl), which does not exist. This template is not part of weewx. If it ever existed, it was supplied by you or someone else. 

However, I noticed that the path to the template is non-standard. The log indicates /etc/weewx/skins/Smartphone/smartphone/uv.html.tmpl, but the more usual location would be /etc/weewx/skins/Smartphone/uv.html.tmpl. Perhaps the path, as specified in skin.conf, is wrong?



--
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/7f0a6c8a-43bb-4871-8690-fb1a9b8bae91n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages