Hello, Michael

Just to clarify, you had an existing v4.10.2 installation, then you
upgraded it to V5.0.0, using apt. Correct?

Please set debug=1, restart weewx, then post the log through the first
reporting cycle. We're looking for the location of various directories.



On Tue, Jan 30, 2024 at 11:31 AM [email protected] <
[email protected]> wrote:

> Hello, I run weewx on a Raspberry pi. I installed it via apt install
> weewx. are neowx material is the default skin. Now I have installed the
> update to weewx 5 and since then I have repeatedly had the following error
> message. Apparently it can't find the file /etc/weewx/skins/Ftp/head.inc. I
> couldn't find it in git either. Do you have an idea of what could happen
> next? Greetings Michael
>
>
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> Evaluation of template /etc/weewx/skins/neowx-material/yesterday.html.tmpl
> failed with exception '<class 'FileNotFoundError'>'
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> **** Ignoring template /etc/weewx/skins/neowx-material/yesterday.html.tmpl
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> **** Reason: [Errno 2] Datei oder Verzeichnis nicht gefunden:
> '/etc/weewx/skins/Ftp/head.inc'
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****  Traceback (most recent call last):
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 334, in
> generate
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****      unicode_string = compiled_template.respond()
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****    File "_etc_weewx_skins_neowx_material_yesterday_html_tmpl.py", line
> 524, in respond
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line
> 1685, in _handleCheetahInclude
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****      file=file)
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line
> 738, in compile
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****      fileHash += str(os.path.getmtime(file))
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****    File "/usr/lib/python3.7/genericpath.py", line 55, in getmtime
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****      return os.stat(filename).st_mtime
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****  FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden:
> '/etc/weewx/skins/Ftp/head.inc'
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> Evaluation of template /etc/weewx/skins/neowx-material/week.html.tmpl
> failed with exception '<class 'FileNotFoundError'>'
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> **** Ignoring template /etc/weewx/skins/neowx-material/week.html.tmpl
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> **** Reason: [Errno 2] Datei oder Verzeichnis nicht gefunden:
> '/etc/weewx/skins/Ftp/head.inc'
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****  Traceback (most recent call last):
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 334, in
> generate
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****      unicode_string = compiled_template.respond()
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****    File "_etc_weewx_skins_neowx_material_week_html_tmpl.py", line 501,
> in respond
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line
> 1685, in _handleCheetahInclude
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****      file=file)
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line
> 738, in compile
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****      fileHash += str(os.path.getmtime(file))
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****    File "/usr/lib/python3.7/genericpath.py", line 55, in getmtime
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****      return os.stat(filename).st_mtime
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****  FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden:
> '/etc/weewx/skins/Ftp/head.inc'
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> Evaluation of template /etc/weewx/skins/neowx-material/month.html.tmpl
> failed with exception '<class 'FileNotFoundError'>'
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> **** Ignoring template /etc/weewx/skins/neowx-material/month.html.tmpl
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> **** Reason: [Errno 2] Datei oder Verzeichnis nicht gefunden:
> '/etc/weewx/skins/Ftp/head.inc'
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****  Traceback (most recent call last):
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 334, in
> generate
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****      unicode_string = compiled_template.respond()
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****    File "_etc_weewx_skins_neowx_material_month_html_tmpl.py", line
> 501, in respond
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line
> 1685, in _handleCheetahInclude
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****      file=file)
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line
> 738, in compile
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****      fileHash += str(os.path.getmtime(file))
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****    File "/usr/lib/python3.7/genericpath.py", line 55, in getmtime
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****      return os.stat(filename).st_mtime
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****  FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden:
> '/etc/weewx/skins/Ftp/head.inc'
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> Evaluation of template /etc/weewx/skins/neowx-material/year.html.tmpl
> failed with exception '<class 'FileNotFoundError'>'
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> **** Ignoring template /etc/weewx/skins/neowx-material/year.html.tmpl
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> **** Reason: [Errno 2] Datei oder Verzeichnis nicht gefunden:
> '/etc/weewx/skins/Ftp/head.inc'
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****  Traceback (most recent call last):
> Jan 30 20:11:37 raspberrypi weewxd[425]: ERROR weewx.cheetahgenerator:
> ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 334, in
> generate
>
> --
> 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/11c89ab7-e2c0-4692-83a0-90cf74fe69d1n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/11c89ab7-e2c0-4692-83a0-90cf74fe69d1n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAPq0zEA87M12WpvhCox8XyC3FqmTr8VqYOS-HAW56mcnwpHz1Q%40mail.gmail.com.

Reply via email to