See this thread:
https://groups.google.com/g/weewx-user/c/ViYnOISuLjM/m/bpPhUjMbAwAJ

The fix is in this message:
https://groups.google.com/g/weewx-user/c/ViYnOISuLjM/m/mpKgTMMNAwAJ

On Sun, Dec 26, 2021 at 3:11 AM Ivan Campodall'orto <[email protected]>
wrote:

> 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
>
> --
> 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/4a63593a-2928-42cc-ae14-b4453ee3de01n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/4a63593a-2928-42cc-ae14-b4453ee3de01n%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/CAPq0zEAvGAK499o6YL37sdQF%3DnAckknE_vvZ9kzZywFC3bxf1Q%40mail.gmail.com.

Reply via email to