I set debug=2 and restarted weewx. I looked through the log file and didn't 
see where the ftp report was running. Would the Ftp process how up in the 
log as started?

Grasping at straws I added the ftpgenerator to the skins.conf file. That 
didn't do anything productive.

I ran weectl report list and weectl report run. Logs are attached.

Thanks for your efforts.

-- 
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/df1a3b62-ac01-470a-bc84-f1f52d05eb58n%40googlegroups.com.
Using configuration file /etc/weewx/weewx.conf

              Report  Skin         Enabled   Units   Language
       SeasonsReport  Seasons         Y        US       en   
    SmartphoneReport  Smartphone      N        US       en   
        MobileReport  Mobile          N        US       en   
      StandardReport  Standard        N        US       en   
       AirLinkReport  airlink         Y        US       en   
                 FTP  Ftp             Y        US       en   
               RSYNC  Rsync           N        US       en   
weectl report run
Using configuration file /etc/weewx/weewx.conf
All enabled reports will be run.
Generating as of last timestamp in the database.
Traceback (most recent call last):
  File "/usr/share/weewx/weewx/reportengine.py", line 220, in run
    obj.start()
  File "/usr/share/weewx/weewx/reportengine.py", line 409, in start
    self.run()
  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 166, in run
    ngen = self.generate(gen_dict[section_name], section_name, self.gen_ts)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 226, in generate
    ngen += self.generate(section[subsection], subsection, gen_ts)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 226, in generate
    ngen += self.generate(section[subsection], subsection, gen_ts)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 371, in generate
    with open(tmpname, mode='wb') as fd:
         ^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: 
'/var/www/html/weewx/NOAA/NOAA-2024-05.txt.tmp'
Traceback (most recent call last):
  File "/usr/share/weewx/weewx/reportengine.py", line 220, in run
    obj.start()
  File "/usr/share/weewx/weewx/reportengine.py", line 409, in start
    self.run()
  File "/usr/share/weewx/weewx/reportengine.py", line 560, in run
    ncopy += weeutil.weeutil.deep_copy_path(path, html_dest_dir)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/weewx/weeutil/weeutil.py", line 1811, in deep_copy_path
    shutil.copy(path, d)
  File "/usr/lib/python3.11/shutil.py", line 420, in copy
    copymode(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.11/shutil.py", line 309, in copymode
    chmod_func(dst, stat.S_IMODE(st.st_mode))
PermissionError: [Errno 1] Operation not permitted: 
'/var/www/html/weewx/seasons.css'
Traceback (most recent call last):
  File "/usr/share/weewx/weectl.py", line 74, in <module>
    main()
  File "/usr/share/weewx/weectl.py", line 66, in main
    namespace.func(namespace)
  File "/usr/share/weewx/weectllib/__init__.py", line 121, in dispatch
    namespace.action_func(config_dict, namespace)
  File "/usr/share/weewx/weectllib/report_cmd.py", line 91, in run_reports
    weectllib.report_actions.run_reports(config_dict,
  File "/usr/share/weewx/weectllib/report_actions.py", line 104, in run_reports
    t.run(reports)
  File "/usr/share/weewx/weewx/reportengine.py", line 192, in run
    with set_cwd(os.path.join(self.config_dict['WEEWX_ROOT'],
  File "/usr/lib/python3.11/contextlib.py", line 137, in __enter__
    return next(self.gen)
           ^^^^^^^^^^^^^^
  File "/usr/share/weewx/weewx/reportengine.py", line 73, in set_cwd
    os.chdir(new_cwd)
FileNotFoundError: [Errno 2] No such file or directory: 
'/etc/weewx/skins/airlink'

Reply via email to