Well, unless your archive interval is longer than 1991 seconds, you're going to run into problems. The next archive record is coming due before the last one has been processed, leading to thrashing and reports that are ever more behind.
Your machine is being asked to do too much. Even on my 10 year old Fit-PC with its antique 500 MHz Geode processor, it only takes 3 seconds or so. How long since you restarted weewx? Let's try an experiment: set debug=1, then restart weewx. Let it run through your first archive report (5 minutes? 10 minutes?). Send the log from the restart. -tk On Wed, Nov 30, 2016 at 1:03 PM, wep11 <[email protected]> wrote: > Yes, the file /home/weewx/skins/Standard/NOAA/NOAA-YYYY.txt.tmpl > definitely exists with no special hidden characters in its name. > > This is Weewx V.3.6.2 , I just upgraded today from 3.4.0 but the problem > has existed for a while now. The error is very consistent, I think it is > occurring each time. I haven't seen the yearly report this year at all, and > this month's report only stopped working a few weeks ago. > > Yeah, the machine we're proudly running on is a Xeon dual core machine > with about 2 GB of RAM. I suspect the reason for such a long generation > time is that the computer is pretty much the flagship for our website > weather.uncc.edu (albeit an old steamer compared to a speed boat). > > Thanks > > On Wednesday, November 30, 2016 at 3:49:07 PM UTC-5, Tom Keffer wrote: >> >> Just to confirm: you are saying that the file >> /home/weewx/skins/Standard/NOAA/NOAA-YYYY.txt.tmpl exists? >> >> What version of weewx? >> >> Does it give this error every time? Or, just occasionally? >> >> I should also note that your time to generate 12 images, 1991 seconds, or >> over half an hour, is exceptionally long. This may be a sign of a failing >> disk. What is this being run on? Does it use an SD card, or a hard disk? >> >> -tk >> >> On Wed, Nov 30, 2016 at 12:27 PM, wep11 <[email protected]> wrote: >> >>> Hi Everyone, >>> >>> I am having trouble getting this month's report and yearly report >>> written. The following is coming out: >>> >>> Nov 30 15:24:32 WxDisPC-3 weewx[1774]: genimages: Generated 12 images >>> for StandardReport in 1991.13 seconds >>> Nov 30 15:24:32 WxDisPC-3 weewx[1774]: reportengine: copied 0 files to >>> /home/weewx/public_html >>> Nov 30 15:24:36 WxDisPC-3 weewx[1774]: cheetahgenerator: Generate failed >>> with exception '<type 'exceptions.OSError'>' >>> Nov 30 15:24:36 WxDisPC-3 weewx[1774]: cheetahgenerator: **** Ignoring >>> template /home/weewx/skins/Standard/NOAA/NOAA-YYYY.txt.tmpl >>> Nov 30 15:24:36 WxDisPC-3 weewx[1774]: cheetahgenerator: **** Reason: >>> [Errno 2] No such file or directory >>> Nov 30 15:24:36 WxDisPC-3 weewx[1774]: **** Traceback (most recent call >>> last): >>> Nov 30 15:24:36 WxDisPC-3 weewx[1774]: **** File >>> "/home/weewx/bin/weewx/cheetahgenerator.py", line 301, in generate >>> Nov 30 15:24:36 WxDisPC-3 weewx[1774]: **** except os.error: >>> Nov 30 15:24:36 WxDisPC-3 weewx[1774]: **** OSError: [Errno 2] No such >>> file or directory >>> >>> Nov 30 15:24:27 WxDisPC-3 weewx[1774]: cheetahgenerator: Generate failed >>> with exception '<type 'exceptions.OSError'>' >>> Nov 30 15:24:27 WxDisPC-3 weewx[1774]: cheetahgenerator: **** Ignoring >>> template /home/weewx/skins/Standard/NOAA/NOAA-YYYY-MM.txt.tmpl >>> Nov 30 15:24:27 WxDisPC-3 weewx[1774]: cheetahgenerator: **** Reason: >>> [Errno 2] No such file or directory >>> Nov 30 15:24:27 WxDisPC-3 weewx[1774]: **** Traceback (most recent call >>> last): >>> Nov 30 15:24:27 WxDisPC-3 weewx[1774]: **** File >>> "/home/weewx/bin/weewx/cheetahgenerator.py", line 301, in generate >>> Nov 30 15:24:27 WxDisPC-3 weewx[1774]: **** except os.error: >>> Nov 30 15:24:27 WxDisPC-3 weewx[1774]: **** OSError: [Errno 2] No such >>> file or directory >>> >>> Any ideas why the file is being reported as not existing? I can confirm >>> that it does indeed exist. Permissions error perhaps? >>> >>> Thanks! >>> >>> -- >>> 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. > -- 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.
