I’m running Debian 10 on a MacBook Pro. I uninstalled Belchertown and did a deep cleaning of /var/www/html. Also double checked weewx.conf for any remnants.
I installed Belchertown using wget https://github.com/poblabs/weewx-belchertown/releases/download/weewx-belchertown-1.1/weewx-belchertown-release-1.1.tar.gz <https://github.com/poblabs/weewx-belchertown/releases/download/weewx-belchertown-1.1/weewx-belchertown-release-1.1.tar.gz> and sudo wee_extension --install weewx-belchertown-release-1.1.tar.gz. wee_reports ran without error. I could access in my browser at http://localhost/weewx/belechertown <http://localhost/weewx/belechertown>. It worked through couple iterations, then quit. The HTML_ROOT =/var/www/weewx/belchertown showed the last run before it died. I’ve removed Belchertown again and the generic weewx seems to work fine. It seems that I have an issue with pitting the results of the report generation in the right place. Mike > On Sep 11, 2020, at 6:09 AM, Michael McClane <mrmc...@gmail.com> wrote: > > I was having trouble with Belchertown. Some of it can be attributed that I > didn't read all of the documentation more than once and I think I may have > mixed versions. So I uninstalled Belchertown using sudo weewx_extension > --uninstall Belchertown. I reviewed my weewx.conf and the Belchertown skin > and they appeared to be normal. > > I proceeded to install Belchertown following the instructions on the > README.md for Aeris Weather replacement. I downloaded the file and ran sudo > wee_extension --weewx-belchertown-1.1.tar.gz. Edited weewx.conf and here's > the current Belchertown section: > > [[Belchertown]] > 242 skin = Belchertown > 243 HTML_ROOT = /var/www/html/weewx/belchertown > 244 # enable = true > 245 > 246 [[[Extras]]] > 247 belchertown_root = http://localhost/weewx/belchertown > 248 #logo_image = > 249 site_title = "Amelia Island" > 250 foot_copyright_text = "BelchertownWeather.com" > 251 forecast_enabled = 1 > 252 forecast_provider = "aeris" > 253 forecast_api_id = 123456789 > 254 forecast_api_secret = 987654321 > 255 forecast_lang = en > 256 forecast_units = us > 257 forecast_stale = 3540 > 258 forecast_alert_enabled = 0 > 259 #twitter_enabled = 1 > 260 > I've attached the debug results of my weewx.conf file. I'm not a python > expert. The first errors are http related in request.py Lines 569 and 649 > > Then it gets weird. It's a darksky forecast error in belchertown.py Line > 597. Finally permission denied /belchertown/favicon.ico and > /json/homepage.json. > > My HTML_ROOT at /var/www/html/Belchertown has the Belchertown report from > Sep 7 which I believe was ran under this installation as I total wiped out > HTML_ROOT before the new install per Pat's suggestion. > > I'm having fun, learning new things, but at a loss here. Any insight is > appreciated. > > Mike > > -- > 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+unsubscr...@googlegroups.com > <mailto:weewx-user+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/09ccb05c-7d89-4cdc-94a6-ef4c0f37001do%40googlegroups.com > > <https://groups.google.com/d/msgid/weewx-user/09ccb05c-7d89-4cdc-94a6-ef4c0f37001do%40googlegroups.com?utm_medium=email&utm_source=footer>. > <WeeWX Debug> -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/D47C1530-6E63-4FCB-B3D5-9A0F1EB80BFD%40gmail.com.