Well I commented out in skin.conf of the highchart
# Highcharts week json data
#[[[WeekJSON]]]
#template = json/week.json.tmpl
# Highcharts year json data
#[[[YearJSON]]]
#template = json/year.json.tmpl
And my weekly now works!
Thanks
On Sunday, 1 October 2023 at 07:03:25 UTC+10 kidn...@gmail.com wrote:
Ok thanks for the insight, Highchart is overwriting my week.json, but not
my other, day.json, month.json or year.json…. Now the question is why?
Simple, the weewx-highcharts extensions produces two json files; week.json
and
Ok thanks for the insight, Highchart is overwriting my week.json, but not my other, day.json, month.json or year.json…. Now the question is why?On Sep 30, 2023, at 14:45, jterr...@gmail.com wrote:Lorin,According to your "week" configuration, Belchertown should normally create a json file named
Lorin,
According to your "week" configuration, Belchertown should normally create
a json file named week.json.
(http://www.gestionlgt.com/Chalet/json/week.json).
Your problem seems to be due to the fact that another template is
overwriting the week.json file, and that the format of this json
Found out that I was creating the issue by running it myself, but the weewx run
as root so that problem doesn't occurs when it runs by itself
So the problem is really specific to only the week graph, every other thing
work flawlessly other than the week repport.
The log file pretty clearly says which file it can't write to. So you need
to fix the permissions on that file. Pretty simple.
Without any details on your setup it's hard to say more than that, other
than if you're doing unusual things like writing across the network to a
filesystem mounted
Well that might be part of my problem
Sep 30 00:54:55 WeeWx-APRS270 wee_reports[18415] ERROR weewx.reportengine:
Caught unrecoverable exception in generator
'user.belchertown.HighchartsJsonGenerator'
Sep 30 00:54:55 WeeWx-APRS270 wee_reports[18415] ERROR weewx.reportengine:
Hi!
I’ve try to read on the graph documentation and having a hard time figuring out
why I have no graph whatsoever in my weekly tab….
I assume there is something to do with the setting in graph.conf
Here is my week conf….
[week]
# Chart Timespan Defaults
title = "This Week"