There's a permissions error or a folder missing error there somewhere. You may also need to specify your HTML_ROOT as shown in this example <https://github.com/poblabs/weewx-belchertown#belchertown-skin-options>.
On Tuesday, August 28, 2018 at 11:50:09 AM UTC-4, G Hammer wrote: > > Same for earthquake.json directory. > I created both as root but still get the same error. > > On Tuesday, August 28, 2018 at 11:47:47 AM UTC-4, G Hammer wrote: >> >> I just installed 0.5 using the method shown on the releases page. >> >> When weewx archive period was up and the skin should be generated, I get >> these errors instead: >> >> Aug 28 11:10:36 PlexSrv weewx[12107]: reportengine: Caught unrecoverable >> exception in generator weewx.cheetahgenerator.CheetahGenerator >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** Error writing >> forecast info to public_html/belchertown/json/darksky_forecast.json. >> Reason: [Errno 2] No such file or directory: >> 'public_html/belchertown/json/darksky_forecast.json' >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** Traceback (most >> recent call last): >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** File >> "/home/weewx/bin/weewx/reportengine.py", line 239, in run >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** obj.start() >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** File >> "/home/weewx/bin/weewx/reportengine.py", line 273, in start >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** self.run() >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** File >> "/home/weewx/bin/weewx/cheetahgenerator.py", line 158, in run >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** ngen = self. >> generate(gen_dict[section_name], self.gen_ts) >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** File >> "/home/weewx/bin/weewx/cheetahgenerator.py", line 232, in generate >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** ngen += self. >> generate(section[subsection], gen_ts) >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** File >> "/home/weewx/bin/weewx/cheetahgenerator.py", line 232, in generate >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** ngen += self. >> generate(section[subsection], gen_ts) >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** File >> "/home/weewx/bin/weewx/cheetahgenerator.py", line 320, in generate >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** default_binding) >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** File >> "/home/weewx/bin/weewx/cheetahgenerator.py", line 372, in _getSearchList >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** searchList += obj >> .get_extension_list(timespan, db_lookup) >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** File >> "/home/weewx/bin/user/belchertown.py", line 316, in get_extension_list >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** raise ValueError( >> "Error >> writing forecast info to %s. Reason: %s" % ( forecast_file, e) ) >> Aug 28 11:10:36 PlexSrv weewx[12107]: **** ValueError: Error >> writing forecast info to public_html/belchertown/json/darksky_forecast. >> json. Reason: [Errno 2] No such file or directory: >> 'public_html/belchertown/json/darksky_forecast.json' >> Aug 28 11<span style="color: #660;" class= >> > -- 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.
