Using 4.0.0b18 with steel series but weewx isnt generating public_html/index.php

40 views
Skip to first unread message

Cat22

unread,
May 3, 2020, 8:31:48 AM5/3/20
to weewx-development
I thought this was working but it's not generating index.php
wee_reports seems to run fine and wee_debug doesnt show an error when i grep it (I haven't read it all)
I am using the steelseries gauges and SKIN_ROOT is set to ss in my weewx.conf file for both [[StandardReport]] and [[SteelSeries]]
Any ideas? I'm guessing something is mis-configured but I don't know what.
TIA

gjr80

unread,
May 3, 2020, 8:54:06 AM5/3/20
to weewx-development
I presume you mean index.html, the skin generates index.html not index.php. Going to need to see a debug=1 log extract covering at least a couple of archive intervals. Would also help to see your [StdReport] stanza from weewx.conf or a wee_debug report. In either case do check before you post for any sensitive info, user names, passwords keys etc.

Gary

Cat22

unread,
May 3, 2020, 9:41:09 AM5/3/20
to weewx-development
 
Ok, I just set debug to 1 and restarted weewx. When it gets a few cycles i wil post the results, but It looks like its not executing the steel series stuff
Here is my StdReport stanza:
[StdReport]

   
# Where the skins reside, relative to WEEWX_ROOT
    SKIN_ROOT
= ss

   
# Where the generated reports should go, relative to WEEWX_ROOT
    HTML_ROOT
= public_html

   
# The database binding indicates which data should be used in reports.
    data_binding
= wx_binding

   
# Whether to log a successful operation
    log_success
= True

   
# Whether to log an unsuccessful operation
    log_failure
= False

   
# Each of the following subsections defines a report that will be run.
   
# See the customizing guide to change the units, plot types and line
   
# colors, modify the fonts, display additional sensor data, and other
   
# customizations. Many of those changes can be made here by overriding
   
# parameters, or by modifying templates within the skin itself.

   
[[SeasonsReport]]
       
# The SeasonsReport uses the 'Seasons' skin, which contains the
       
# images, templates and plots for the report.
        skin
= Seasons
        enable
= false

   
[[SmartphoneReport]]
       
# The SmartphoneReport uses the 'Smartphone' skin, and the images and
       
# files are placed in a dedicated subdirectory.
        skin
= Smartphone
        enable
= false
        HTML_ROOT
= public_html/smartphone

   
[[MobileReport]]
       
# The MobileReport uses the 'Mobile' skin, and the images and files
       
# are placed in a dedicated subdirectory.
        skin
= Mobile
        enable
= false
        HTML_ROOT
= public_html/mobile

   
[[StandardReport]]
       
# This is the old "Standard" skin. By default, it is not enabled.
        skin
= ss
        enable
= false
   
[[SteelSeries]]
        skin
= ss
        HTML_ROOT
= public_html/ss
        enable
= true
       
[[[ImageGenerator]]]
            top_label_font_size
= 14
            bottom_label_path
= /usr/share/fonts/texlive-gnu-freefont/FreeSerif.ttf
            bottom_label_size
= 16
            axis_label_path
= /usr/share/fonts/texlive-gnu-freefont/FreeSerif.ttf
            axis_label_size
= 16


The rest is at defaults

Cat22

unread,
May 3, 2020, 9:49:18 AM5/3/20
to weewx-development
I found ne problem in the debug log:
 DEBUG weewx.reportengine: Cannot read skin configuration file /usr/local/bin/weewx/ss/ss/skin.conf for report 'SteelSeries': Config file not found: "/usr/local/bin/weewx/ss/ss/skin.conf".
And i see I had SKIN_ROOT set to ss instead of skins -  so that is fixed, but i still have an error, the steelseries isnt generating index.php so I will see what pops up in the log now that i have fixed the SKIN_ROOT

Cat22

unread,
May 3, 2020, 10:02:10 AM5/3/20
to weewx-development
I fixed it. It seems that if    [[StandardReport]] is not set to enabled=True and skin=ss then SteelSeries wont generate the index.php
It must depend on that somehow?
   [[StandardReport]]
       
# This is the old "Standard" skin. By default, it is not enabled.
        skin
=
ss
        enable
= true      


gjr80

unread,
May 3, 2020, 9:12:09 PM5/3/20
to weewx-development
No they are not related/dependent, more likely the issue is the too many 'ss' in your [StdReport] stanza. This also is not good:

DEBUG weewx.reportengine: Cannot read skin configuration file /usr/local/bin/weewx/ss/ss/skin.conf for report 'SteelSeries': Config file not found: "/usr/local/bin/weewx/ss/ss/skin.conf".

skins (and their config files) are normally under /etc/weewx/skins or /home/weewx/skins. Can you try the following changes to [StdReport]:

1. change SKIN_ROOT to be:

# Where the skins reside, relative to WEEWX_ROOT

SKIN_ROOT
= skins

2. change [[StandardReport]] to be:

   [[StandardReport]]
       
# This is the old "Standard" skin. By default, it is not enabled.

        skin
= Standard
        enable
= false

Restart WeeWX and if it is not working as expected post a log extract with debug = 1.

Gary
Reply all
Reply to author
Forward
0 new messages