Closed Brezentrager closed 4 years ago
I've tried some fixes and ended up with a version that seems to work. (Disclaimer: I don't know much about python coding)
1) Replaced "cPickle" by "pickle" 2) line 157 changed to: with open(tsfile, "rb") as f: 3) line 173 changed to: with open(tsfile, "wb") as f:
As mentioned, I'm not at all into python. So there will be a much better fix. And in fact I'm not even sure whether my issue with the current version is a general one, since you mention in your commit messages that the extension will work with weewx 4.0 and Python 3.
thank you for pointing this out, and your fix is correct.
please try sftp 0.7 (commit 0d02ecd)
Hi Matthew, after updating weewx to version 4.0 (python 3), the SFTP extension crashes with the following error:
This error has to do with the '#sftp.last' file in usr/www/html/weewx.
I've then deleted the #sftp.last file. The weewx reporting engine then doesn't crash anymore, but produces the following warning:
Please note: Since my workaround at least fixed the crash, this issue is not priority 1
Best regards, Manfred