It's possible you are getting hit by issue #284
<https://github.com/weewx/weewx/issues/284>. Try changing this

        # Set to True for an FTP over TLS (FTPS) connection. Not all servers
        # support this.
        secure_ftp = True
        secure_data = True

to this

        # Set to True for an FTP over TLS (FTPS) connection. Not all servers
        # support this.
        secure_ftp = True
        secure_data = False

See if that helps.

-tk

On Mon, May 11, 2020 at 3:21 PM Stephen <[email protected]> wrote:

> Just realised that because I'd added some of my own debug to ftpupload.py,
> the line numbers in the unrecoverable exception error messages will be
> misleading.  They should be as follows:
>
> May 11 17:15:13 localhost wee_reports[17945] ERROR
> weewx.reportengine:         ****  Traceback (most recent call last):
> May 11 17:15:13 localhost wee_reports[17945] ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weewx/reportengine.py", line 326, in run
> May 11 17:15:13 localhost wee_reports[17945] ERROR
> weewx.reportengine:         ****      n = ftp_data.run()
> May 11 17:15:13 localhost wee_reports[17945] ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weeutil/ftpupload.py", line 143, in run
> May 11 17:15:13 localhost wee_reports[17945] ERROR
> weewx.reportengine:         ****      self._make_remote_dir(ftp_server,
> remote_dir_path)
> May 11 17:15:13 localhost wee_reports[17945] ERROR
> weewx.reportengine:         ****    File
> "/usr/share/weewx/weeutil/ftpupload.py", line 240, in _make_remote_dir
> May 11 17:15:13 localhost wee_reports[17945] ERROR
> weewx.reportengine:         ****      raise IOError("Unable to create
> remote directory %s" % remote_dir_path)
> May 11 17:15:13 localhost wee_reports[17945] ERROR
> weewx.reportengine:         ****  OSError: Unable to create remote
> directory /font
>
> --
> 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/abb04feb-d199-4d15-a484-c0d04ec77087%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/abb04feb-d199-4d15-a484-c0d04ec77087%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/CAPq0zECK42_wVjpBLa%2BoPkUbgZ4%3DKpYR%2Be_Lwc7MXPCZQs-9gA%40mail.gmail.com.

Reply via email to