Ivan Campodall'orto
unread,Dec 26, 2021, 6:11:53 AM12/26/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to weewx-user
Hello, I have a problem with version 11 bullseye and weewx 4.5.1, with the upload in ftp it gives me the following error:
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.reportengine.FtpGenerator'
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** 'utf-8' codec can't decode byte 0xe8 in position 104: invalid continuation byte
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** Traceback (most recent call last):
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 196, in run
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** obj.start()
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 281, in start
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** self.run()
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 331, in run
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** n = ftp_data.run()
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** File "/usr/share/weewx/weeutil/ftpupload.py", line 133, in run
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** ftp_server.connect(self.server, self.port)
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** File "/usr/lib/python3.9/ftplib.py", line 160, in connect
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** self.welcome = self.getresp()
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** File "/usr/lib/python3.9/ftplib.py", line 242, in getresp
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** resp = self.getmultiline()
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** File "/usr/lib/python3.9/ftplib.py", line 228, in getmultiline
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** line = self.getline()
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** File "/usr/lib/python3.9/ftplib.py", line 210, in getline
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** line = self.file.readline(self.maxline + 1)
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** File "/usr/lib/python3.9/codecs.py", line 322, in decode
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** (result, consumed) = self._buffer_decode(data, self.errors, final)
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe8 in position 104: invalid continuation byte
Dec 26 12:05:50 raspberrypi weewx[1496] ERROR weewx.reportengine: **** Generator terminated
and it doesn't upload anything in ftp, how can I solve the problem?
thanks, sorry for the translation, but i'm not very good in english.
Ivan