The error message is cryptic, but what it means is that the pickle contents are corrupted. What kind of storage are you using? The problem may be a failing SD card.
-tk On Sun, Nov 27, 2016 at 12:19 PM, Rob Cranfill <[email protected]> wrote: > This is similar to some issues posted previously, but a) is not exactly > the same, and b) continues to bedevil me. So I humbly ask for any > assistance dealing with this issue. Which is, to post the log (with > debug=1), thus: > > > pi@x10pi /etc/weewx $ tail -f /var/log/syslog | grep weewx > > Nov 27 12:08:02 x10pi weewx[7951]: engine: Loading service > weewx.engine.StdReport > Nov 27 12:08:02 x10pi weewx[7951]: engine: Finished loading service > weewx.engine.StdReport > Nov 27 12:08:02 x10pi weewx[7951]: engine: Starting up weewx version 3.6.2 > Nov 27 12:08:02 x10pi weewx[7951]: vantage: gentle wake up of console > successful > Nov 27 12:08:02 x10pi weewx[7951]: engine: Clock error is -3.46 seconds > (positive is fast) > Nov 27 12:08:02 x10pi weewx[7951]: vantage: Getting archive packets since > 2016-11-27 12:07:00 PST (1480277220) > Nov 27 12:08:02 x10pi weewx[7951]: vantage: gentle wake up of console > successful > Nov 27 12:08:03 x10pi weewx[7951]: vantage: Retrieving 1 page(s); starting > index= 4 > Nov 27 12:08:03 x10pi weewx[7951]: manager: added record 2016-11-27 > 12:08:00 PST (1480277280) to database 'weewx.sdb' > Nov 27 12:08:04 x10pi weewx[7951]: manager: added record 2016-11-27 > 12:08:00 PST (1480277280) to daily summary in 'weewx.sdb' > Nov 27 12:08:08 x10pi weewx[7951]: engine: Starting main packet loop. > Nov 27 12:08:08 x10pi weewx[7951]: vantage: gentle wake up of console > successful > Nov 27 12:08:08 x10pi weewx[7951]: vantage: Requesting 200 LOOP packets. > Nov 27 12:08:08 x10pi weewx[7951]: vantage: gentle wake up of console > successful > Nov 27 12:08:08 x10pi weewx[7951]: restx: Wunderground-PWS: Published > record 2016-11-27 12:08:00 PST (1480277280) > Nov 27 12:08:14 x10pi weewx[7951]: cheetahgenerator: Generated 14 files > for report StandardReport in 38.19 seconds > Nov 27 12:08:22 x10pi weewx[7951]: genimages: Generated 18 images for > Amphibian in 27.96 seconds > Nov 27 12:08:22 x10pi weewx[7951]: reportengine: copied 0 files to > /var/www/weewx/amphibian > Nov 27 12:08:22 x10pi weewx[7951]: reportengine: Running report FTP > Nov 27 12:08:22 x10pi weewx[7951]: reportengine: Found configuration file > /etc/weewx/skins/Ftp/skin.conf for report FTP > Nov 27 12:08:22 x10pi weewx[7951]: reportengine: Caught unrecoverable > exception in generator weewx.reportengine.FtpGenerator > Nov 27 12:08:22 x10pi weewx[7951]: **** insecure string pickle > Nov 27 12:08:22 x10pi weewx[7951]: **** Traceback (most recent > call last): > Nov 27 12:08:22 x10pi weewx[7951]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 238, in run > Nov 27 12:08:22 x10pi weewx[7951]: **** obj.start() > Nov 27 12:08:22 x10pi weewx[7951]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 271, in start > Nov 27 12:08:22 x10pi weewx[7951]: **** self.run() > Nov 27 12:08:22 x10pi weewx[7951]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 322, in run > Nov 27 12:08:22 x10pi weewx[7951]: **** n = ftp_data.run() > Nov 27 12:08:22 x10pi weewx[7951]: **** File > "/usr/share/weewx/weeutil/ftpupload.py", line 94, in run > Nov 27 12:08:22 x10pi weewx[7951]: **** (timestamp, fileset) > = self.getLastUpload() > Nov 27 12:08:22 x10pi weewx[7951]: **** File > "/usr/share/weewx/weeutil/ftpupload.py", line 241, in getLastUpload > Nov 27 12:08:22 x10pi weewx[7951]: **** fileset = > cPickle.load(f) > Nov 27 12:08:22 x10pi weewx[7951]: **** ValueError: insecure > string pickle > Nov 27 12:08:22 x10pi weewx[7951]: **** Generator terminated > > I started this log capture shortly after reloading the service; I hope I > got all relevant info. > > I have, many times, deleted the /var/www/#FTP.last file, but this > continues to happen within hours of doing so. > > I note that other similar issues have had something, perhaps, to do with > the real time clock, but mine is being set correctly, as indicated above. > > Suggestions? Thanks for any help! > > /rob > > http://robcranfill.net/weather (where, until I fix this bug, you will > see stale info) > > > > -- > 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]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.
