Belchertown - Charts suddenly disappeared

424 views
Skip to first unread message

Richard Whitcombe

unread,
Apr 26, 2023, 10:02:01 PM4/26/23
to weewx-user
Im running the latest WeeWx (  4.10.2) and Belchertown 1.3 skin.

This setup has been running perfectly for several months on an RaPi4.

As of last night it seems to have stopped displaying any charts at all despite me changing nothing in the setup.
They've just vanished off the home/daily screen and the graph screen.

The logs (set to debug) are showing no errors but nothing at all seems to be displayed any more - just they dont show at all (not frozen, vanished).

I don't see any log errors:-

Apr 27 02:50:32 pi4-logger weewx[9704] DEBUG weewx.reportengine: Running report 'Belchertown'
Apr 27 02:50:32 pi4-logger weewx[9704] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Belchertown/skin.conf for report 'Belchertown'
Apr 27 02:50:32 pi4-logger weewx[9704] DEBUG weewx.cheetahgenerator: Using search list ['user.belchertown.getData', 'weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo']
Apr 27 02:50:32 pi4-logger weewx[9704] DEBUG weewx.manager: Daily summary version is 4.0
Apr 27 02:50:33 pi4-logger weewx[9704] INFO weewx.restx: WOW: Published record 2023-04-27 02:50:00 BST (1682560200)
Apr 27 02:50:34 pi4-logger weewx[9704] INFO weewx.cheetahgenerator: Generated 12 files for report Belchertown in 2.12 seconds
Apr 27 02:50:34 pi4-logger weewx[9704] INFO weewx.reportengine: Copied 3 files to /var/www/html/weewx
Apr 27 02:50:34 pi4-logger weewx[9704] DEBUG weewx.manager: Daily summary version is 4.0
Apr 27 02:50:35 pi4-logger weewx[9704] DEBUG user.interceptor: empty queue

Only 3 files copied is suspicious though - from memory it was a lot more than that.

Live data is still coming in, reports and records are updated just no graphs.

Highcharts = 1 are still enabled in the skin and so on.  Ive manually checked the skin and weewx configs and ensured everything still works.

If it helps the site is public accessible at http://weather.whitcombe.org.uk .  The graphs should appear below the Windy embed.

Any help here appreciated - been tearing my hair out here and just cant see why charts have vanished.


Richard Whitcombe

unread,
Apr 26, 2023, 10:22:25 PM4/26/23
to weewx-user
Further to that, on the site itself my Console logs show this error:

Uncaught TypeError: Highcharts.chart is not a constructor
    showChart http://192.168.1.2/weewx/js/belchertown.js?1682562025:1198
    each jQuery
    showChart http://192.168.1.2/weewx/js/belchertown.js?1682562025:488
    jQuery 8
        c
        fireWith
        l
        o
        send
        ajax
        i
        getJSON
    showChart http://192.168.1.2/weewx/js/belchertown.js?1682562025:485
    <anonymous> http://192.168.1.2/weewx/:134
    jQuery 13
belchertown.js:1198:25
    showChart http://192.168.1.2/weewx/js/belchertown.js?1682562025:1198
    each jQuery
    showChart http://192.168.1.2/weewx/js/belchertown.js?1682562025:488
    jQuery 8
        c
        fireWith
        l
        o
        (Async: EventHandlerNonNull)
    send
        ajax
        i
        getJSON
    showChart http://192.168.1.2/weewx/js/belchertown.js?1682562025:485
    <anonymous> http://192.168.1.2/weewx/:134
    jQuery 13

ma...@erwinheger.de

unread,
Apr 26, 2023, 10:29:16 PM4/26/23
to weewx...@googlegroups.com
Have you seen this discussion?https://groups.google.com/g/weewx-user/c/yfG1JvCP3Us

Erwin

Am 27.04.2023 um 04:22 schrieb Richard Whitcombe <whitc...@gmail.com>:


--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/608d0add-6f0d-4050-a663-3d1a36a9c16en%40googlegroups.com.

Rick M0LEP

unread,
Apr 27, 2023, 3:31:26 AM4/27/23
to weewx...@googlegroups.com
On Thu 27 Apr ma...@erwinheger.de wrote:
> Have you seen this discussion?

The useful link from that "Belchertown graphs stopped working" thread is
probably this one:

https://github.com/poblabs/weewx-belchertown/issues/881

--
73, Rick, M0LEP

Richard Whitcombe

unread,
Apr 27, 2023, 4:07:07 AM4/27/23
to weewx...@googlegroups.com
Thanks to all that replied - my initial search was in the area of
"Charts not rendering" and "No graphs" so didn't find the posts.

Im using the workaround to specify 10.3 in the template and will keep
that until i suspect the best way is to just store everything locally.

Problem solved - thanks to all.
Reply all
Reply to author
Forward
0 new messages