Re: [weewx-user] Re: Daylight Saving and Primary Key error

2016-11-11 Thread Thomas Keffer
Looks like you have an older version of weewx.

You can get the same functionality using wee_config_device, except the
option is --clear (instead of --clear-memory).

See your User's Guide.

-tk

On Fri, Nov 11, 2016 at 5:40 AM, Matt  wrote:

> TK,
> Thanks.  Am I missing something.  I don't see wee_device in
> home/weewx/bin/
>
> I only see  wee_config_device and  wee_config_database and wee_reports
>
> On Friday, November 11, 2016 at 5:11:29 AM UTC-8, Tom Keffer wrote:
>>
>> Hi, Matt
>>
>> Looks like a clear case of memory corruption. See the section *Corrupt
>> station memory
>> * in
>> the User's Guide. This may have been caused by a clock skew problem (see
>> the same User's Guide section).
>>
>> But, before you clear the memory, perhaps we could do a bit of forensics?
>> Please run the following command and then post the results:
>>
>> wee_device --logger-summary=/var/tmp/logger.txt
>>
>>
>> This will give us a summary of the timestamps in the logger memory.
>>
>> Then go ahead and clear the logger memory.
>>
>> -tk
>>
>> On Thu, Nov 10, 2016 at 7:52 PM, Matt  wrote:
>>
>>> missed a piece of the syslog
>>>
>>> Nov 10 19:49:53 weatherstation weewx[2795]: restx: Wunderground-PWS:
>>> Published record 2016-11-06 01:05:00 PDT (1478419500)
>>> Nov 10 19:50:00 weatherstation weewx[2795]: restx: CWOP: record
>>> 2016-11-06 01:10:00 PDT (1478419800) is stale (416400 > 1800).
>>> Nov 10 19:50:00 weatherstation weewx[2795]: restx: Wunderground-PWS:
>>> Published record 2016-11-06 01:10:00 PDT (1478419800)
>>> Nov 10 19:50:20 weatherstation weewx[2795]: vantage: Unable to pass
>>> CRC16 check while getting data
>>> Nov 10 19:50:20 weatherstation weewx[2795]: restx: Shut down CWOP thread.
>>> Nov 10 19:50:20 weatherstation weewx[2795]: restx: Shut down
>>> Wunderground-PWS thread.
>>> Nov 10 19:50:20 weatherstation weewx[2795]: vantage: successfully woke
>>> up console
>>> Nov 10 19:50:20 weatherstation weewx[2795]: engine: Caught WeeWxIOError:
>>> Unable to pass CRC16 check while getting data
>>> Nov 10 19:50:20 weatherstation weewx[2795]:   Waiting 60 seconds
>>> then retrying...
>>> Nov 10 19:51:21 weatherstation weewx[2795]: engine: retrying...
>>>
>>> --
>>> 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+...@googlegroups.com.
>>> 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 weewx-user+unsubscr...@googlegroups.com.
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Daylight Saving and Primary Key error

2016-11-11 Thread Matt
TK,
Thanks.  Am I missing something.  I don't see wee_device in home/weewx/bin/ 
  

I only see  wee_config_device and  wee_config_database and wee_reports

On Friday, November 11, 2016 at 5:11:29 AM UTC-8, Tom Keffer wrote:
>
> Hi, Matt
>
> Looks like a clear case of memory corruption. See the section *Corrupt 
> station memory 
> * in 
> the User's Guide. This may have been caused by a clock skew problem (see 
> the same User's Guide section).
>
> But, before you clear the memory, perhaps we could do a bit of forensics? 
> Please run the following command and then post the results:
>
> wee_device --logger-summary=/var/tmp/logger.txt
>
>
> This will give us a summary of the timestamps in the logger memory.
>
> Then go ahead and clear the logger memory.
>
> -tk
>
> On Thu, Nov 10, 2016 at 7:52 PM, Matt > 
> wrote:
>
>> missed a piece of the syslog
>>
>> Nov 10 19:49:53 weatherstation weewx[2795]: restx: Wunderground-PWS: 
>> Published record 2016-11-06 01:05:00 PDT (1478419500)
>> Nov 10 19:50:00 weatherstation weewx[2795]: restx: CWOP: record 
>> 2016-11-06 01:10:00 PDT (1478419800) is stale (416400 > 1800).
>> Nov 10 19:50:00 weatherstation weewx[2795]: restx: Wunderground-PWS: 
>> Published record 2016-11-06 01:10:00 PDT (1478419800)
>> Nov 10 19:50:20 weatherstation weewx[2795]: vantage: Unable to pass CRC16 
>> check while getting data
>> Nov 10 19:50:20 weatherstation weewx[2795]: restx: Shut down CWOP thread.
>> Nov 10 19:50:20 weatherstation weewx[2795]: restx: Shut down 
>> Wunderground-PWS thread.
>> Nov 10 19:50:20 weatherstation weewx[2795]: vantage: successfully woke up 
>> console
>> Nov 10 19:50:20 weatherstation weewx[2795]: engine: Caught WeeWxIOError: 
>> Unable to pass CRC16 check while getting data
>> Nov 10 19:50:20 weatherstation weewx[2795]:   Waiting 60 seconds 
>> then retrying...
>> Nov 10 19:51:21 weatherstation weewx[2795]: engine: retrying...
>>
>> -- 
>> 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+...@googlegroups.com .
>> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Daylight Saving and Primary Key error

2016-11-11 Thread Thomas Keffer
Hi, Matt

Looks like a clear case of memory corruption. See the section *Corrupt
station memory
* in
the User's Guide. This may have been caused by a clock skew problem (see
the same User's Guide section).

But, before you clear the memory, perhaps we could do a bit of forensics?
Please run the following command and then post the results:

wee_device --logger-summary=/var/tmp/logger.txt


This will give us a summary of the timestamps in the logger memory.

Then go ahead and clear the logger memory.

-tk

On Thu, Nov 10, 2016 at 7:52 PM, Matt  wrote:

> missed a piece of the syslog
>
> Nov 10 19:49:53 weatherstation weewx[2795]: restx: Wunderground-PWS:
> Published record 2016-11-06 01:05:00 PDT (1478419500)
> Nov 10 19:50:00 weatherstation weewx[2795]: restx: CWOP: record 2016-11-06
> 01:10:00 PDT (1478419800) is stale (416400 > 1800).
> Nov 10 19:50:00 weatherstation weewx[2795]: restx: Wunderground-PWS:
> Published record 2016-11-06 01:10:00 PDT (1478419800)
> Nov 10 19:50:20 weatherstation weewx[2795]: vantage: Unable to pass CRC16
> check while getting data
> Nov 10 19:50:20 weatherstation weewx[2795]: restx: Shut down CWOP thread.
> Nov 10 19:50:20 weatherstation weewx[2795]: restx: Shut down
> Wunderground-PWS thread.
> Nov 10 19:50:20 weatherstation weewx[2795]: vantage: successfully woke up
> console
> Nov 10 19:50:20 weatherstation weewx[2795]: engine: Caught WeeWxIOError:
> Unable to pass CRC16 check while getting data
> Nov 10 19:50:20 weatherstation weewx[2795]:   Waiting 60 seconds
> then retrying...
> Nov 10 19:51:21 weatherstation weewx[2795]: engine: retrying...
>
> --
> 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.
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.