The HTML page didn't change because the cheetah generator failed to run.

As for why the cheetah generator failed to run, it looks like something got
messed up in your install. Check the directory /usr/share/weewx/weewx and
make sure everything is in there. It should have

weewx/accum.py             weewx/engine.py          weewx/manager.py
 weewx/station.py   weewx/wxengine.py
weewx/almanac.py           weewx/filegenerator.py   weewx/qc.py
weewx/tags.py      weewx/wxformulas.py
weewx/cheetahgenerator.py  weewx/imagegenerator.py  weewx/reportengine.py
weewx/units.py     weewx/wxmanager.py
weewx/crc16.py             weewx/__init__.py        weewx/restx.py
 weewx/uwxutils.py  weewx/wxservices.py

How did you restore the source code? From a backup? Or, by reinstalling
weewx?

-tk

On Sat, Apr 21, 2018 at 12:47 PM, Jon Bartlett <[email protected]>
wrote:

> Hi Tom/All,
>
> I had to rebuild my weather station, after a corruption of the SD that is
> running on the Rasp-Pi Zero W host...
> I created a new OS image, and installed Weewx as per the Debian
> instructions.  I copied the config, db and HTML files (once installing
> Apache ...but after the Weewx install).
>
> Two things don't seem to work properly :
> - The html files (standard template) seem to populate only the graphs that
> have changed - not the main index file - I notice the following problems in
> the log ...
> Apr 21 20:44:00 PiZeroW weewx[349]: ****    File
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 328, in generate
> Apr 21 20:44:00 PiZeroW weewx[349]: ****
> filtersLib=weewx.cheetahgenerator)
> Apr 21 20:44:00 PiZeroW weewx[349]: ****  AttributeError: 'module' object
> has no attribute 'cheetahgenerator'
> Apr 21 20:44:00 PiZeroW weewx[349]: cheetahgenerator: Generate failed with
> exception '<type 'exceptions.AttributeError'>'
> Apr 21 20:44:00 PiZeroW weewx[349]: cheetahgenerator: **** Ignoring
> template /etc/weewx/skins/Standard/NOAA/NOAA-YYYY-MM.txt.tmpl
> - The FTP upload to my site appears to only copy some of the files, not
> all - probably a result of the latter problem ...
> Apr 21 20:44:04 PiZeroW weewx[349]: reportengine: Found configuration file
> /etc/weewx/skins/Ftp/skin.conf for report FTP
> Apr 21 20:44:04 PiZeroW weewx[349]: ftpupload: Attempting connection to
> myfiles.eclipse.co.uk
> Apr 21 20:44:04 PiZeroW weewx[349]: ftpupload: Connected to
> myfiles.eclipse.co.uk
> Apr 21 20:44:04 PiZeroW weewx[349]: ftpupload: Uploaded file
> www.thebartletts.org/weather/dayrain.png
> Apr 21 20:44:05 PiZeroW weewx[349]: ftpupload: Uploaded file
> www.thebartletts.org/weather/daywinddir.png
> Apr 21 20:44:05 PiZeroW weewx[349]: ftpupload: Uploaded file
> www.thebartletts.org/weather/dayrx.png
> Apr 21 20:44:05 PiZeroW weewx[349]: ftpupload: Uploaded file
> www.thebartletts.org/weather/dayradiation.png
> Apr 21 20:44:05 PiZeroW weewx[349]: ftpupload: Uploaded file
> www.thebartletts.org/weather/dayuv.png
> Apr 21 20:44:05 PiZeroW weewx[349]: ftpupload: Uploaded file
> www.thebartletts.org/weather/dayinside.png
> Apr 21 20:44:05 PiZeroW weewx[349]: ftpupload: Uploaded file
> www.thebartletts.org/weather/daybarometer.png
> Apr 21 20:44:05 PiZeroW weewx[349]: ftpupload: Uploaded file
> www.thebartletts.org/weather/daytempdew.png
> Apr 21 20:44:05 PiZeroW weewx[349]: ftpupload: Uploaded file
> www.thebartletts.org/weather/daywind.png
> Apr 21 20:44:06 PiZeroW weewx[349]: ftpupload: Uploaded file
> www.thebartletts.org/weather/dayhumidity.png
> Apr 21 20:44:06 PiZeroW weewx[349]: ftpupload: Uploaded file
> www.thebartletts.org/weather/daytempchill.png
> Apr 21 20:44:06 PiZeroW weewx[349]: ftpupload: Uploaded file
> www.thebartletts.org/weather/daywindvec.png
> Apr 21 20:44:06 PiZeroW weewx[349]: ftpgenerator: ftp'd 12 files in 1.79
> seconds
>
> Any ideas on why the cheetah isn't working and how to reset so that all
> HTML files (which are in the HTML directory) are FTPd ?
>
>
> --
> 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.
>

-- 
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.

Reply via email to