Hi, Unlikely to be an unmet dependency, you would likely see python screaming loudly if it was. Try finding and deleting the file FTP.last, should be sitting in your HTML_ROOT, most likely /var/www/html/weewx. Once deleted check the log to see what happens on the next report cycle.
Gary On Saturday, 9 November 2019 09:41:25 UTC+10, James Muirhead wrote: > > WeeWX FTP upload has suddenly stopped working since the latest system > update (I have it setup to run apt-get update; apt-get upgrade at 4am every > Sunday). Everything else works fine, just no FTP upload. I hadn't changed > the settings, everything was working fine before Sunday morning. > > - Orange Pi PC > - 1GB RAM > - 1.3GHz Quad Core > - Armbian > - FTP > - Lighttpd > - MQTT > - WoW > - Wunderground > > Nov 8 18:50:23 localhost weewx[807]: reportengine: Caught unrecoverable > exception in generator 'weewx.reportengine.FtpGenerator' > Nov 8 18:50:23 localhost weewx[807]: **** insecure string pickle > Nov 8 18:50:23 localhost weewx[807]: **** Traceback (most recent > call last): > Nov 8 18:50:23 localhost weewx[807]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 204, in run > Nov 8 18:50:23 localhost weewx[807]: **** obj.start() > Nov 8 18:50:23 localhost weewx[807]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 300, in start > Nov 8 18:50:23 localhost weewx[807]: **** self.run() > Nov 8 18:50:23 localhost weewx[807]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 347, in run > Nov 8 18:50:23 localhost weewx[807]: **** n = ftp_data.run() > Nov 8 18:50:23 localhost weewx[807]: **** File > "/usr/share/weewx/weeutil/ftpupload.py", line 89, in run > Nov 8 18:50:23 localhost weewx[807]: **** (timestamp, > fileset) = self.getLastUpload() > Nov 8 18:50:23 localhost weewx[807]: **** File > "/usr/share/weewx/weeutil/ftpupload.py", line 198, in getLastUpload > Nov 8 18:50:23 localhost weewx[807]: **** fileset = > cPickle.load(f) > Nov 8 18:50:23 localhost weewx[807]: **** ValueError: insecure > string pickle > Nov 8 18:50:23 localhost weewx[807]: **** Generator terminated > > I've been wondering if the update removed a dependency. I installed FTP, > but didn't fix the issue! > > Anyone got any bright ideas on this one? > > > -- 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/7b3d7385-d99e-4f86-b87a-33fd652bf797%40googlegroups.com.
