On Friday, December 9, 2016 at 10:33:56 AM UTC-8, mwall wrote:
>
> On Friday, December 9, 2016 at 11:59:36 AM UTC-5, vince wrote:
>>
>> How do you get the first screenshot to happen ?
>> (the 'simple display of one week forecast')
>>
>
> the screenshots on the wiki are png images, but the forecast extension 
> emits html.
>
>
sure - I was asking how did you make that output happen (the bars) but you 
answered below....
 

> include the file forecast_iconic.inc in one of your weewx template files.  
> for example:
>
> #include "forecast_iconic.inc"
>
> will do a 7 day forecast using WU data.
>
> #set global $forecast_iconic_settings = dict()
> #set global $forecast_iconic_settings['source'] = 'UKMO'
> #set global $forecast_iconic_settings['num_days'] = 10
> #include "forecast_iconic.inc"
>
>
yeah - it's been so many years since I installed it, I had forgotten. 
 Thanks.

With a vanilla installation of forecast, I'm seeing a missing hilo.inc file 
in my logs (none is in the .tgz ball):


Dec  9 12:31:19 debian weewx[11249]: reportengine: copied 0 files to 
/home/weewx/public_html/forecast
Dec  9 12:31:20 debian weewx[11249]: ****  Traceback (most recent call 
last):
Dec  9 12:31:20 debian weewx[11249]: ****    File 
"/home/weewx/bin/weewx/cheetahgenerator.py", line 315, in generate
Dec  9 12:31:20 debian weewx[11249]: ****      print >> _file, text
Dec  9 12:31:20 debian weewx[11249]: ****    File 
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in 
__str__
Dec  9 12:31:21 debian weewx[11249]: ****      rc = getattr(self, 
mainMethName)()
Dec  9 12:31:21 debian weewx[11249]: ****    File 
"_home_weewx_skins_Standard_index_html_tmpl.py", line 251, in respond
Dec  9 12:31:21 debian weewx[11249]: ****    File 
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1597, in 
_handleCheetahInclude
Dec  9 12:31:21 debian weewx[11249]: ****      nestedTemplateClass = 
compiler.compile(source=source, file=file)
Dec  9 12:31:21 debian weewx[11249]: ****    File 
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 706, in compile
Dec  9 12:31:21 debian weewx[11249]: ****      fileHash += 
str(os.path.getmtime(file))
Dec  9 12:31:21 debian weewx[11249]: ****    File 
"/usr/lib/python2.7/genericpath.py", line 54, in getmtime
Dec  9 12:31:21 debian weewx[11249]: ****      return 
os.stat(filename).st_mtime
Dec  9 12:31:21 debian weewx[11249]: ****  OSError: [Errno 2] No such file 
or directory: '/home/weewx/skins/forecast/hilo.inc'


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