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:      
   ****  [Errno 13] Permission denied: '/var/www/html/weewx/json/week.json'
Sep 30 00:54:55 WeeWx-APRS270 wee_reports[18415] ERROR weewx.reportengine:      
   ****  Traceback (most recent call last):
Sep 30 00:54:55 WeeWx-APRS270 wee_reports[18415] ERROR weewx.reportengine:      
   ****    File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
Sep 30 00:54:55 WeeWx-APRS270 wee_reports[18415] ERROR weewx.reportengine:      
   ****      obj.start()
Sep 30 00:54:55 WeeWx-APRS270 wee_reports[18415] ERROR weewx.reportengine:      
   ****    File "/usr/share/weewx/weewx/reportengine.py", line 385, in start
Sep 30 00:54:55 WeeWx-APRS270 wee_reports[18415] ERROR weewx.reportengine:      
   ****      self.run()
Sep 30 00:54:55 WeeWx-APRS270 wee_reports[18415] ERROR weewx.reportengine:      
   ****    File "/usr/share/weewx/user/belchertown.py", line 2817, in run
Sep 30 00:54:55 WeeWx-APRS270 wee_reports[18415] ERROR weewx.reportengine:      
   ****      with open(json_filename, mode="w") as jf:
Sep 30 00:54:55 WeeWx-APRS270 wee_reports[18415] ERROR weewx.reportengine:      
   ****  PermissionError: [Errno 13] Permission denied: 
'/var/www/html/weewx/json/week.json'
Sep 30 00:54:55 WeeWx-APRS270 wee_reports[18415] ERROR weewx.reportengine:      
   ****  Generator terminated


What is the best way to correct this situation….


> On 29 Sep 23, at 22:50, vince <[email protected]> wrote:
> 
> Well, I always suggest the old sysadmin credo of "when in doubt, comment it 
> out" in working these kinds of things.  Start slowly and get 'one' chart 
> working....and look at your syslogs.  Do yours say anything indicating a 
> problem ?
> 
> You might also save your (not working) graphs.conf file someplace and 'copy' 
> the graphs.conf.example file into place as graphs.conf which should 
> definitely work.  At a minimum it'll take your edits out of the question at 
> least temporarily....
> 
> I don't remember for Belchertown if you should stop/restart weewx after 
> fiddling with graphs.conf but that might be wise in this case just in case....
> 
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/77309976-b444-4ade-9870-28d0690d8c44n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/77309976-b444-4ade-9870-28d0690d8c44n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/7C583C37-B759-4925-95DA-0323CF8B7CCE%40gmail.com.

Reply via email to