Hello, Joe

The user does not have the necessary permissions to write into the
subdirectory /var/www/html/weewx.

Either run as superuser, or change the permissions of the directory. For
example,

*sudo wee_reports*

-tk

On Tue, Feb 12, 2019 at 5:29 AM Joe Spears <[email protected]> wrote:

> I am getting the following error when running reports.  Any suggestions?
>
> pi@weewx:/etc/weewx $ wee_reports
> Using configuration file /etc/weewx/weewx.conf
> Generating for all time
> Traceback (most recent call last):
>   File "/usr/share/weewx/weewx/reportengine.py", line 204, in run
>     obj.start()
>   File "/usr/share/weewx/weewx/reportengine.py", line 300, in start
>     self.run()
>   File "/usr/share/weewx/weewx/reportengine.py", line 460, in run
>     shutil.copy(_file, dest_dir)
>   File "/usr/lib/python2.7/shutil.py", line 120, in copy
>     copymode(src, dst)
>   File "/usr/lib/python2.7/shutil.py", line 91, in copymode
>     os.chmod(dst, mode)
> OSError: [Errno 1] Operation not permitted:
> '/var/www/html/weewx/seasons.css'
>
>
> --
> 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.
>

-- 
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.

Reply via email to