why are you writing into files outside weewx’s area? weewx user is unlikely to 
have perms to do that
⊣GE⊢

> On 11 Feb 2024, at 1:59 am, Ton Karsten <[email protected]> wrote:
> 
> feb 10 15:10:15 raspberrypi weewxd[4548]: ERROR weewx.reportengine:         
> ****    File "/usr/lib/python3.11/shutil.py", line 258, in copyfile
> feb 10 15:10:15 raspberrypi weewxd[4548]: ERROR weewx.reportengine:         
> ****      with open(dst, 'wb') as fdst:
> feb 10 15:10:15 raspberrypi weewxd[4548]: ERROR weewx.reportengine:         
> ****           ^^^^^^^^^^^^^^^
> feb 10 15:10:15 raspberrypi weewxd[4548]: ERROR weewx.reportengine:         
> ****  PermissionError: [Errno 13] Toegang geweigerd: 
> '/var/www/html/favicon.ico’
...
> feb 10 15:10:16 raspberrypi weewxd[4548]: ERROR weewx.reportengine:         
> ****    File "/etc/weewx/bin/user/belchertown.py", line 2817, in run
> feb 10 15:10:16 raspberrypi weewxd[4548]: ERROR weewx.reportengine:         
> ****      with open(json_filename, mode="w") as jf:
> feb 10 15:10:16 raspberrypi weewxd[4548]: ERROR weewx.reportengine:         
> ****           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> feb 10 15:10:16 raspberrypi weewxd[4548]: ERROR weewx.reportengine:         
> ****  FileNotFoundError: [Errno 2] Bestand of map bestaat niet: 
> '/var/www/html/json/homepage.json'

-- 
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/74321F96-4821-463F-A133-4B8DFB18EB71%40geddy.au.

Reply via email to