-
Trying a discussion before a bug report because it is very likely a problem with my config. I have not had problems with Belchertown (thanks, Pat!!) so I am not well-versed on troubleshooting. Just looking for some direction based on the error message. Minimized config file changes to those pertaining to HTML_ROOT, etc. No changes to function. On report generation, I am seeing this multiple times: 2024-10-18 14:23:11,265 weewxd[8] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'belchertown_root_url' Here is a chunk of my config:
Happy to provide anything else! Just looking for some direction in terms of troubleshooting this. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 5 replies
-
Your document root is incorrect. Try Neal Pond, Lunenburg, VT Weather Conditionsvtwx.tom.orgWithout the /belchertown sub-folder. That is where I found your web page.https://claydonsweather.org.ukOn 18 Oct 2024, at 19:30, Tom Mitchell ***@***.***> wrote:
Trying a discussion before a bug report because it is very likely a problem with my config.
I have not had problems with Belchertown (thanks, Pat!!) so I am not well-versed on troubleshooting. Just looking for some direction based on the error message.
Minimized config file changes to those pertaining to HTML_ROOT, etc. No changes to function. On report generation, I am seeing this multiple times:
2024-10-18 14:23:11,265 weewxd[8] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'belchertown_root_url'
Here is a chunk of my config:
[[Belchertown]]
HTML_ROOT = data/public_html/belchertown
skin = Belchertown
[[[Extras]]]
station_observations = "dewpoint", "barometer", "radiation", "maxSolarRad", "rainWithRainRate", "visibility", "cloudbase", "soilTemp4", "soilTemp3", "soilTemp2", "soilTemp1", "inTemp"
belchertown_debug = 1
belchertown_root_url = "http://vtwx.tom.org/belchertown"
Happy to provide anything else! Just looking for some direction in terms of troubleshooting this. Thanks!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Sorry for the garbled reply above, replying directly to the notification e-mail is not a good idea it would seem! Try belchertown_root_url = "http://vtwx.tom.org" instead. That is where your Belchertown home page is found in a browser. |
Beta Was this translation helpful? Give feedback.
-
Thanks. I tried this, but got the same error
|
Beta Was this translation helpful? Give feedback.
-
Yup, I removed the line completely since the changelog suggests it is not used and I couldn't see it anywhere in the code (albeit I am likely missing something). The errors persist, yet it seems like it is running ok: http://vtwx.tom.org - I am going to let it run for a bit and see, but it seems to be running well. |
Beta Was this translation helpful? Give feedback.
-
Turns out it is not all correct. The About and Records pages are not current. So the report does bail out partway through; it's a real error! |
Beta Was this translation helpful? Give feedback.
-
I think I got it. I had a footer.html.tmpl in my skins/Belchertown directory.
|
Beta Was this translation helpful? Give feedback.
I think I got it. I had a footer.html.tmpl in my skins/Belchertown directory.