On Friday, May 1, 2020 at 9:53:00 AM UTC-7, Manfred Maier wrote:
>
>   File "/usr/share/weewx/user/sftp.py", line 158, in get_last_upload
>
>     timestamp = cPickle.load(f)
>
> TypeError: a bytes-like object is required, not 'str'
>


This is another known python3 thing, which tells me your extension isn't 
fully updated to support python3 quite yet.

Looking in google for the exact words on your 'TypeError' output above 
points me to:
    
 
https://stackoverflow.com/questions/33054527/typeerror-a-bytes-like-object-is-required-not-str-when-writing-to-a-file-in
and
  
  
https://stackoverflow.com/questions/51940081/string-python-3-5-write-a-bytes-like-object-is-required-not-str



-- 
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/411c1c4f-4713-485e-a623-b4f45101c4da%40googlegroups.com.

Reply via email to