Thanks.  The files are being uploaded by FTP - examples from FTP part of
syslog are:

Uploaded file /httpdocs/weather/belchertown/js/highcharts-dayplots.js

and

Uploaded file  /httpdocs/weather/belchertown/json/day.json

and

Uploaded file  /httpdocs/weather/js/highcharts-dayplots.js

And I have checked the server containing the files and they are there, so
it seems the json files are being uploaded by FTP to
/httpdocs/weather/belchertown/json/ rather than /httpdocs/weather/json/.
Is this the problem perhaps?

On Sun, 30 Sep 2018 at 15:42, Pat O'Brien <[email protected]> wrote:

> Getting a 404 file not found on this file which would explain why the
> graphs aren’t being generated.
> http://www.djhindley.com/weather/json/day.json
>
>
>
> So there may be an error in syslog or the file isn’t being copied if
> you’re using the FTP skin to upload it? This file is generated by the
> Highcharts_Belchertown skin.
>
>
>
> The file should be in /var/www/html/weewx/Belchertown/json according to
> your configs.
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *David Hindley
> *Sent:* Sunday, September 30, 2018 10:36 AM
> *To:* [email protected]
> *Subject:* Re: [weewx-user] Re: Belchertown skin for weewx now available!
>
>
>
> Site is at www.djhindley.com/weather
>
>
>
> I will check syslog.
>
>
>
> Yes, the json directory has index.html and some .json files.
>
>
>
> On Sun, 30 Sep 2018 at 15:30, Pat O'Brien <[email protected]> wrote:
>
> No I don’t think so. Those sections look good, too. Does your system log
> show anything in error? Usually it’s at /var/log/syslog
>
>
>
> Also does /var/www/html/weewx/Belchertown/json have any files in it?
>
>
>
> Is this site public?
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *David Hindley
> *Sent:* Sunday, September 30, 2018 10:28 AM
> *To:* [email protected]
> *Subject:* Re: [weewx-user] Re: Belchertown skin for weewx now available!
>
>
>
>
> Sure.  It is below.  Thanks for looking at this.  Could it be due to
> inclusion of forecast and cmon skins?  Maybe I should delete those?
>
>
>
>
>
> [StdReport]
>
>
>
>     # Where the skins reside, relative to WEEWX_ROOT
>
>     SKIN_ROOT = /etc/weewx/skins
>
>
>
>     # Where the generated reports should go, relative to WEEWX_ROOT
>
>     HTML_ROOT = /var/www/html/weewx
>
>
>
>     # The database binding indicates which data should be used in reports.
>
>     data_binding = wx_binding
>
>
>
>     # Each of the following subsections defines a report that will be run.
>
>
>
>     [[StandardReport]]
>
>         # 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.
>
>
>
>         # The StandardReport uses the 'Standard' skin, which contains the
>
>         # images, templates and plots for the report.
>
>         skin = Belchertown
>
>         [[[Units]]]
>
>             [[[[Groups]]]]
>
>                 group_altitude = meter
>
>                 group_speed2 = meter_per_second2
>
>                 group_pressure = mbar
>
>                 group_rain = mm
>
>                 group_rainrate = mm_per_hour
>
>                 group_temperature = degree_C
>
>                 group_degree_day = degree_C_day
>
>                 group_speed = meter_per_second
>
>     [[forecast]]
>
>         HTML_ROOT = /var/www/html/weewx/forecast
>
>         skin = forecast
>
>     # [[exfoliation]]
>
>     #    HTML_ROOT = /var/www/html/weewx/exfoliation
>
>     #   skin = exfoliation
>
>     [[cmon]]
>
>         HTML_ROOT = /var/www/html/weewx/cmon
>
>         skin = cmon
>
>     [[Highcharts_Belchertown]]
>
>         HTML_ROOT = /var/www/html/weewx/belchertown
>
>         skin = Highcharts_Belchertown
>
>         [[[Units]]]
>
>             [[[[Groups]]]]
>
>                 group_altitude = meter
>
>                 group_degree_day = degree_C_day
>
>                 group_pressure = mbar
>
>                 group_rain = mm
>
>                 group_rainrate = mm_per_hour
>
>                 group_speed = meter_per_second
>
>                 group_speed2 = meter_per_second2
>
>                 group_temperature = degree_C
>
>     [[Belchertown]]
>
>         HTML_ROOT = /var/www/html/weewx/belchertown
>
>         skin = Belchertown
>
>         [[[Units]]]
>
>             [[[[Groups]]]]
>
>                 group_altitude = meter
>
>                 group_degree_day = degree_C_day
>
>                 group_pressure = hPa
>
>                 group_rain = mm
>
>                 group_rainrate = mm_per_hour
>
>                 group_speed = meter-per_second
>
>                 group_speed2 = meter_per_second2
>
>                 group_temperature = degree_C
>
>
>
>
>
> On Sun, 30 Sep 2018 at 15:22, Pat O'Brien <[email protected]> wrote:
>
> No shouldn't matter. Can you paste those two sections? Removing any kind
> of password or app key.
>
>
>
> The HTML_DIR needs to be the same, too
>
>
>
> On Sun, Sep 30, 2018, 10:02 AM David Hindley <[email protected]>
> wrote:
>
> Hi - yes to those questions, but curiously the Highcharts_Belchertown
> content in weewx.conf comes before the Belchertown content, but not sure if
> that will make any difference.
>
>
>
> David.
>
>
>
> On Sun, 30 Sep 2018 at 14:44, Pat O'Brien <[email protected]> wrote:
>
> I'm replying on mobile so hopefully this is helpful...
>
>
>
> How did you install the zip? Using wee_extension like in the GitHub readme?
>
>
>
> Do you have a [Belchertown] and a [Highcharts_Belchertown] in your
> weewx.conf?
>
> On Sun, Sep 30, 2018, 9:36 AM <[email protected]> wrote:
>
> ....however, none of the graphs seem to be displaying.  Is there an
> obvious reason why this is the case, please?
>
>
>
> Thanks.
>
> On Saturday, 29 September 2018 22:21:51 UTC+1, [email protected]
> wrote:
>
> Thanks.  I did that and managed to get the skin installed. Looking great.
> Thanks for your work in creating the skin. Much appreciated.
>
> On Saturday, 29 September 2018 12:13:06 UTC+1, Pat wrote:
>
> You can download the zip to your computer by using the http link in the
> wget command, then copy the zip to your Pi using FTP, SFTP or USB file
> copy. Whatever's easiest.
>
> On Saturday, September 29, 2018 at 4:05:10 AM UTC-4, [email protected]
> wrote:
>
> I like the look of this skin, but am failing at the first hurdle. When I
> try to download ver 0.7 tar file using wget, I get the following error:
>
>
>
> GnuTLS:A TLS fatal alert has been received.
>
> Unable to establish SSL connection.
>
>
>
> I am probably doing something dumb; any ideas on how to solve this would
> be much appreciated.  I am downloading it to my Raspberry pi.
>
>
>
> Thanks.
>
> On Tuesday, 21 August 2018 19:45:13 UTC+1, Pat wrote:
>
> The Belchertown skin for weewx is now available. This skin is modeled
> after
>
> ...
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/GSrKZEiPqsc/unsubscribe.
> To unsubscribe from this group and all its topics, 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 a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/GSrKZEiPqsc/unsubscribe.
> To unsubscribe from this group and all its topics, 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 a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/GSrKZEiPqsc/unsubscribe.
> To unsubscribe from this group and all its topics, 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 a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/GSrKZEiPqsc/unsubscribe.
> To unsubscribe from this group and all its topics, 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 a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/GSrKZEiPqsc/unsubscribe.
> To unsubscribe from this group and all its topics, 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 a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/GSrKZEiPqsc/unsubscribe.
> To unsubscribe from this group and all its topics, 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 a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/GSrKZEiPqsc/unsubscribe.
> To unsubscribe from this group and all its topics, 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 a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/GSrKZEiPqsc/unsubscribe.
> To unsubscribe from this group and all its topics, 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