Strange fails of weewx

427 views
Skip to first unread message

pterodaktil

unread,
Jan 28, 2013, 12:50:48 PM1/28/13
to weewx...@googlegroups.com
Weewx fail   with strange messeges in log 

Jan 28 21:42:34 meteo weewx[14498]: restful: Published record 2013-01-28 21:26:00 MSK (1359393960) to CWOP station DW3940
Jan 28 21:42:34 meteo weewx[14498]: wxengine: Caught unrecoverable exception in wxengine:
Jan 28 21:42:34 meteo weewx[14498]:     ****  Unknown archive type = 0x80
Jan 28 21:42:34 meteo weewx[14498]:     ****  Traceback (most recent call last):
Jan 28 21:42:34 meteo weewx[14498]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 839, in main
Jan 28 21:42:34 meteo weewx[14498]:     ****      engine.run()
Jan 28 21:42:34 meteo weewx[14498]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 139, in run
Jan 28 21:42:34 meteo weewx[14498]:     ****      self.dispatchEvent(weewx.Event(weewx.STARTUP))
Jan 28 21:42:34 meteo weewx[14498]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 189, in dispatchEvent
Jan 28 21:42:34 meteo weewx[14498]:     ****      callback(event)
Jan 28 21:42:34 meteo weewx[14498]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 430, in startup
Jan 28 21:42:34 meteo weewx[14498]:     ****      self._catchup()
Jan 28 21:42:34 meteo weewx[14498]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 540, in _catchup
Jan 28 21:42:34 meteo weewx[14498]:     ****      for record in self.engine.console.genArchiveRecords(lastgood_ts):
Jan 28 21:42:34 meteo weewx[14498]:     ****    File "/home/weewx/bin/weewx/VantagePro.py", line 505, in genArchiveRecords
Jan 28 21:42:34 meteo weewx[14498]:     ****      _packet = unpackArchivePacket(_page[1+52*_index:53+52*_index])
Jan 28 21:42:34 meteo weewx[14498]:     ****    File "/home/weewx/bin/weewx/VantagePro.py", line 1018, in unpackArchivePacket
Jan 28 21:42:34 meteo weewx[14498]:     ****      raise weewx.UnknownArchiveType("Unknown archive type = 0x%x" % (packet_type,))
Jan 28 21:42:34 meteo weewx[14498]:     ****  UnknownArchiveType: Unknown archive type = 0x80
Jan 28 21:42:34 meteo weewx[14498]:     ****  Exiting.
^[[A^[[A^[[A^C
root@meteo:/home/weewx# tail -f /var/log/syslog |grep weewx
Jan 28 21:42:34 meteo weewx[14498]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 430, in startup
Jan 28 21:42:34 meteo weewx[14498]:     ****      self._catchup()
Jan 28 21:42:34 meteo weewx[14498]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 540, in _catchup
Jan 28 21:42:34 meteo weewx[14498]:     ****      for record in self.engine.console.genArchiveRecords(lastgood_ts):
Jan 28 21:42:34 meteo weewx[14498]:     ****    File "/home/weewx/bin/weewx/VantagePro.py", line 505, in genArchiveRecords
Jan 28 21:42:34 meteo weewx[14498]:     ****      _packet = unpackArchivePacket(_page[1+52*_index:53+52*_index])
Jan 28 21:42:34 meteo weewx[14498]:     ****    File "/home/weewx/bin/weewx/VantagePro.py", line 1018, in unpackArchivePacket
Jan 28 21:42:34 meteo weewx[14498]:     ****      raise weewx.UnknownArchiveType("Unknown archive type = 0x%x" % (packet_type,))
Jan 28 21:42:34 meteo weewx[14498]:     ****  UnknownArchiveType: Unknown archive type = 0x80
Jan 28 21:42:34 meteo weewx[14498]:     ****  Exiting.

pterodaktil

unread,
Jan 28, 2013, 12:55:55 PM1/28/13
to weewx...@googlegroups.com


I roll back for last backup and it's seems work

Thomas Keffer

unread,
Jan 29, 2013, 4:50:08 PM1/29/13
to weewx...@googlegroups.com
I've seen this error before and it is usually caused by corruption of the internal memory.

Clearing the memory usually works.

$> cd /home/weewx
$> bin/config_vp.py weewx.conf --clear

Occasionally you have to completely reset the device by removing power and taking out the batteries.

-tk

On Mon, Jan 28, 2013 at 9:55 AM, pterodaktil <pterod...@mail.ru> wrote:


I roll back for last backup and it's seems work

--
You received this message because you are subscribed to the Google Groups "Weewx Weather Station Discussion" group.
To unsubscribe from this group, send email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Tom Keffer
kef...@threefools.org
+1 541-386-8891 (h)
+1 541-490-9507 (c)
Skype: tkeffer

pterodaktil

unread,
Jan 30, 2013, 11:19:27 AM1/30/13
to weewx...@googlegroups.com
It seems that  weewx fail then station give  otdate data. In my  fail's it's give data from future (may 2015).

Maybe add watchdog module that  check data and if  ther is error  clear data. or/and send email sms to station owner.


среда, 30 января 2013 г., 1:50:08 UTC+4 пользователь Tom Keffer написал:

Thomas Keffer

unread,
Jan 30, 2013, 11:24:37 AM1/30/13
to weewx...@googlegroups.com
I think we are having a language problem. :-)

I do not know what you mean by the "station give otdate data."

Also, data from the future? How do you know this? 

-tk

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/groups/opt_out.
 
 

pterodaktil

unread,
Jan 30, 2013, 11:48:53 AM1/30/13
to weewx...@googlegroups.com
Yes, my english is very bad. Sorry. My native languige is russian. 

For example, station give report  with date "15 may 2015".

Few times i open  page ther   date was  from, future.Mabe it's  specific error of my hardware.



 But it's good idia to report to owner  when something wrong  to email/jabber or other ways.
среда, 30 января 2013 г., 20:24:37 UTC+4 пользователь Tom Keffer написал:

Thomas Keffer

unread,
Jan 30, 2013, 11:50:55 AM1/30/13
to weewx...@googlegroups.com
OK, I think I understand. Where are you seeing this date? In the log? Or, on the generated web page? Or, some other place?

-tk

pterodaktil

unread,
Jan 30, 2013, 12:17:11 PM1/30/13
to weewx...@googlegroups.com
I see wrong date in sometimes in logs  and sometimes in webpage.

some times help:

1. stop weewx
2. clear  hardware log 
3.  return to last good backup  (i think we can only clear  wrong data from database)
4. start weewx

but sometimes  i need to unplug hardware logger  and plugin it again.



среда, 30 января 2013 г., 20:50:55 UTC+4 пользователь Tom Keffer написал:

Thomas Keffer

unread,
Jan 30, 2013, 12:25:20 PM1/30/13
to weewx...@googlegroups.com
Please run with debug=1.

Then, the next time it happens, send me the log.

-tk

--
You received this message because you are subscribed to the Google Groups "Weewx Weather Station Discussion" 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/groups/opt_out.
 
 

pterodaktil

unread,
Jan 30, 2013, 12:28:00 PM1/30/13
to weewx...@googlegroups.com
it can take months to  get error again.

среда, 30 января 2013 г., 21:25:20 UTC+4 пользователь Tom Keffer написал:

pterodaktil

unread,
Jan 30, 2013, 12:39:11 PM1/30/13
to weewx...@googlegroups.com
i set logs to debug mode


понедельник, 28 января 2013 г., 21:50:48 UTC+4 пользователь pterodaktil написал:

pterodaktil

unread,
Feb 3, 2013, 4:51:00 AM2/3/13
to weewx...@googlegroups.com
Last good report
Feb  2 21:04:02 meteo CRON[8671]: (root) CMD (/etc/webmin/sysstats/sysstats.pl)
Feb  2 21:04:05 meteo weewx[11935]: VantagePro: Getting archive packets since 2013-02-02 21:03:00 MSK (1359824580)
Feb  2 21:04:06 meteo weewx[11935]: VantagePro: successfully woke up console
Feb  2 21:04:06 meteo weewx[11935]: VantagePro: Retrieving 1 page(s); starting index= 0
Feb  2 21:04:06 meteo weewx[11935]: Archive: added archive record 2013-02-02 21:04:00 MSK (1359824640)
Feb  2 21:04:06 meteo weewx[11935]: VantagePro: DMPAFT complete: page timestamp 2013-02-01 02:25:00 MSK (1359671100) less than final timestamp 2013-02-02 21:04:00 MSK (1359824640)
Feb  2 21:04:06 meteo weewx[11935]: VantagePro: Catch up complete.
Feb  2 21:04:06 meteo weewx[11935]: reportengine: Running reports for latest time in the database.
Feb  2 21:04:06 meteo weewx[11935]: reportengine: Running report StandardReport
Feb  2 21:04:06 meteo weewx[11935]: reportengine: Found configuration file /home/weewx/skins/Standard/skin.conf for report StandardReport
Feb  2 21:04:07 meteo weewx[11935]: filegenerator: generated 1 'SummaryByMonth' files in 0.12 seconds
Feb  2 21:04:07 meteo weewx[11935]: restful: Published record 2013-02-02 21:04:00 MSK (1359824640) to Wunderground station IU041CU02
Feb  2 21:04:07 meteo weewx[11935]: VantagePro: successfully woke up console
Feb  2 21:04:07 meteo weewx[11935]: VantagePro: Requesting 200 LOOP packets.
Feb  2 21:04:07 meteo weewx[11935]: restful: Connection attempt #1 failed to CWOP server cwop.aprs.net:14580
Feb  2 21:04:07 meteo weewx[11935]:    ****  Reason: [Errno 111] Connection refused
Feb  2 21:04:07 meteo weewx[11935]: filegenerator: generated 1 'SummaryByYear' files in 0.66 seconds
Feb  2 21:04:07 meteo weewx[11935]: restful: Connection attempt #2 failed to CWOP server cwop.aprs.net:14580
Feb  2 21:04:07 meteo weewx[11935]:    ****  Reason: [Errno 111] Connection refused
Feb  2 21:04:07 meteo weewx[11935]: VantagePro: successfully woke up console
Feb  2 21:04:08 meteo weewx[11935]: filegenerator: generated 6 'toDate' files in 0.63 seconds
Feb  2 21:04:09 meteo weewx[11935]: restful: Connection attempt #3 failed to CWOP server cwop.aprs.net:14580
Feb  2 21:04:09 meteo weewx[11935]:    ****  Reason: [Errno 111] Connection refused
Feb  2 21:04:09 meteo weewx[11935]: restful: Unable to connect to CWOP server cwop.aprs.net:14580
Feb  2 21:04:09 meteo weewx[11935]: restful: Connection attempt #1 failed to CWOP server cwop.aprs.net:23
Feb  2 21:04:09 meteo weewx[11935]:    ****  Reason: [Errno 111] Connection refused
Feb  2 21:04:09 meteo weewx[11935]: restful: Connection attempt #2 failed to CWOP server cwop.aprs.net:23
Feb  2 21:04:09 meteo weewx[11935]:    ****  Reason: [Errno 111] Connection refused
Feb  2 21:04:09 meteo weewx[11935]: restful: Connection attempt #3 failed to CWOP server cwop.aprs.net:23
Feb  2 21:04:09 meteo weewx[11935]:    ****  Reason: [Errno 111] Connection refused
Feb  2 21:04:09 meteo weewx[11935]: restful: Unable to connect to CWOP server cwop.aprs.net:23
Feb  2 21:04:09 meteo weewx[11935]: restful: Unable to publish record 2013-02-02 21:04:00 MSK (1359824640) to CWOP station DW3940
Feb  2 21:04:09 meteo weewx[11935]:    ****  Unable to obtain a socket connection to CWOP
Feb  2 21:04:10 meteo weewx[11935]: genimages: Generated 13 images in 2.06 seconds
Feb  2 21:04:10 meteo weewx[11935]: reportengine: copied 0 files to /home/weewx/weather
Feb  2 21:04:10 meteo weewx[11935]: reportengine: Running report FTP
Feb  2 21:04:10 meteo weewx[11935]: reportengine: Found configuration file /home/weewx/skins/Ftp/skin.conf for report FTP
Feb  2 21:04:10 meteo weewx[11935]: reportengine: FTP upload not requested. Skipped.
Feb  2 21:04:10 meteo weewx[11935]: reportengine: Running report RSYNC
Feb  2 21:04:10 meteo weewx[11935]: reportengine: No skin configuration file for report RSYNC
Feb  2 21:04:10 meteo weewx[11935]:         ****  Tried path /home/weewx/skins/Rsync/skin.conf
Feb  2 21:04:10 meteo weewx[11935]:         ****  Report ignored...

Fail

Feb  2 21:05:05 meteo weewx[11935]: VantagePro: Getting archive packets since 2013-02-02 21:04:00 MSK (1359824640)
Feb  2 21:05:06 meteo weewx[11935]: VantagePro: successfully woke up console
Feb  2 21:05:08 meteo weewx[11935]: VantagePro: Retrieving 513 page(s); starting index= 2
Feb  2 21:05:08 meteo weewx[11935]: Archive: added archive record 2013-02-13 18:34:00 MSK (1360766040)
Feb  2 21:05:09 meteo weewx[11935]: restful: Published record 2013-02-13 18:34:00 MSK (1360766040) to Wunderground station IU041CU02
Feb  2 21:05:09 meteo weewx[11935]: restful: Connected to CWOP server cwop.aprs.net:14580
Feb  2 21:05:10 meteo weewx[11935]: restful: Published record 2013-02-13 18:34:00 MSK (1360766040) to CWOP station DW3940
Feb  2 21:05:10 meteo weewx[11935]: wxengine: Shut down StdRESTful thread.
Feb  2 21:05:10 meteo weewx[11935]: wxengine: Shut down StdReport thread.
Feb  2 21:05:10 meteo weewx[11935]: VantagePro: successfully woke up console
Feb  2 21:05:10 meteo weewx[11935]: wxengine: Caught unrecoverable exception in wxengine:
Feb  2 21:05:10 meteo weewx[11935]:     ****  Unknown archive type = 0x84
Feb  2 21:05:10 meteo weewx[11935]:     ****  Traceback (most recent call last):
Feb  2 21:05:10 meteo weewx[11935]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 839, in main
Feb  2 21:05:10 meteo weewx[11935]:     ****      engine.run()
Feb  2 21:05:10 meteo weewx[11935]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 168, in run
Feb  2 21:05:10 meteo weewx[11935]:     ****      self.dispatchEvent(weewx.Event(weewx.POST_LOOP))
Feb  2 21:05:10 meteo weewx[11935]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 189, in dispatchEvent
Feb  2 21:05:10 meteo weewx[11935]:     ****      callback(event)
Feb  2 21:05:10 meteo weewx[11935]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 487, in post_loop
Feb  2 21:05:10 meteo weewx[11935]:     ****      self._catchup()
Feb  2 21:05:10 meteo weewx[11935]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 540, in _catchup
Feb  2 21:05:10 meteo weewx[11935]:     ****      for record in self.engine.console.genArchiveRecords(lastgood_ts):
Feb  2 21:05:10 meteo weewx[11935]:     ****    File "/home/weewx/bin/weewx/VantagePro.py", line 513, in genArchiveRecords
Feb  2 21:05:10 meteo weewx[11935]:     ****      _packet = unpackArchivePacket(_page[1+52*_index:53+52*_index])
Feb  2 21:05:10 meteo weewx[11935]:     ****    File "/home/weewx/bin/weewx/VantagePro.py", line 1031, in unpackArchivePacket
Feb  2 21:05:10 meteo weewx[11935]:     ****      raise weewx.UnknownArchiveType("Unknown archive type = 0x%x" % (packet_type,))
Feb  2 21:05:10 meteo weewx[11935]:     ****  UnknownArchiveType: Unknown archive type = 0x84
Feb  2 21:05:10 meteo weewx[11935]:     ****  Exiting.

pterodaktil

unread,
Feb 3, 2013, 4:58:54 AM2/3/13
to weewx...@googlegroups.com
for restart weewx i need
1.stop weewx 
2. clear console
3.  restore weewx from backup (i make backup every hour now)
3.  run weewx again


понедельник, 28 января 2013 г., 21:50:48 UTC+4 пользователь pterodaktil написал:
Weewx fail   with strange messeges in log 

pterodaktil

unread,
Feb 17, 2013, 10:43:43 PM2/17/13
to weewx...@googlegroups.com
It fails again


Feb 18 07:41:07 meteo weewx[7672]: wxengine: Using configuration file /home/weewx/weewx.conf.
Feb 18 07:41:07 meteo weewx[7672]: VantagePro: Opened up serial port /dev/ttyUSB0, baudrate 19200
Feb 18 07:41:07 meteo weewx[7672]: VantagePro: successfully woke up console
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Loading service weewx.wxengine.StdConvert
Feb 18 07:41:07 meteo weewx[7672]: wxengine: StdConvert target unit is 0x10
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Finished loading service weewx.wxengine.StdConvert
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Loading service weewx.wxengine.StdCalibrate
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Finished loading service weewx.wxengine.StdCalibrate
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Loading service weewx.wxengine.StdQC
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Finished loading service weewx.wxengine.StdQC
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Loading service weewx.wxengine.StdArchive
Feb 18 07:41:07 meteo weewx[7672]: wxengine: The archive interval in the configuration file (300) does not match the station hardware interval (60).
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Using station hardware archive interval of 60
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Record generation will be attempted in 'hardware'
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Using archive database: archive_sqlite
Feb 18 07:41:07 meteo weewx[7672]: stats: Backfilling stats database.
Feb 18 07:41:07 meteo weewx[7672]: stats: stats database up to date.
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Using stats database: stats_sqlite
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Finished loading service weewx.wxengine.StdArchive
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Loading service weewx.wxengine.StdTimeSynch
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Finished loading service weewx.wxengine.StdTimeSynch
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Loading service weewx.wxengine.StdPrint
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Finished loading service weewx.wxengine.StdPrint
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Loading service weewx.wxengine.StdRESTful
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Data will be posted to Wunderground
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Data will not be posted to PWSweather
Feb 18 07:41:07 meteo weewx[7672]:     ****  'station'
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Data will be posted to CWOP
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Started thread for RESTful upload sites.
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Finished loading service weewx.wxengine.StdRESTful
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Loading service weewx.wxengine.StdReport
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Finished loading service weewx.wxengine.StdReport
Feb 18 07:41:07 meteo weewx[7672]: wxengine: Starting up weewx version 2.1.1.
Feb 18 07:41:07 meteo weewx[7672]: VantagePro: Getting archive packets since 2013-02-17 21:00:00 MSK (1361120400)
Feb 18 07:41:08 meteo weewx[7672]: VantagePro: successfully woke up console
Feb 18 07:41:08 meteo weewx[7672]: VantagePro: Retrieving 129 page(s); starting index= 3
Feb 18 07:41:09 meteo weewx[7672]: Archive: added archive record 2013-02-17 21:01:00 MSK (1361120460)
Feb 18 07:41:10 meteo weewx[7672]: Archive: added archive record 2013-02-17 21:02:00 MSK (1361120520)
Feb 18 07:41:10 meteo weewx[7672]: Archive: added archive record 2013-02-17 21:03:00 MSK (1361120580)
Feb 18 07:41:10 meteo weewx[7672]: restful: Published record 2013-02-17 21:01:00 MSK (1361120460) to Wunderground station IU041CU02
Feb 18 07:41:10 meteo weewx[7672]: restful: Skipped record 2013-02-17 21:01:00 MSK (1361120460) to CWOP station DW3940
Feb 18 07:41:10 meteo weewx[7672]:    ****  CWOP: Record 2013-02-17 21:01:00 MSK (1361120460) is not last record
Feb 18 07:41:11 meteo weewx[7672]: Archive: added archive record 2013-02-17 21:04:00 MSK (1361120640)
Feb 18 07:41:11 meteo weewx[7672]: restful: Published record 2013-02-17 21:02:00 MSK (1361120520) to Wunderground station IU041CU02
Feb 18 07:41:11 meteo weewx[7672]: restful: Skipped record 2013-02-17 21:02:00 MSK (1361120520) to CWOP station DW3940
Feb 18 07:41:11 meteo weewx[7672]:    ****  CWOP: Record 2013-02-17 21:02:00 MSK (1361120520) is not last record
Feb 18 07:41:11 meteo weewx[7672]: Archive: added archive record 2013-02-17 21:05:00 MSK (1361120700)
Feb 18 07:41:11 meteo weewx[7672]: restful: Published record 2013-02-17 21:03:00 MSK (1361120580) to Wunderground station IU041CU02
Feb 18 07:41:11 meteo weewx[7672]: restful: Skipped record 2013-02-17 21:03:00 MSK (1361120580) to CWOP station DW3940
Feb 18 07:41:11 meteo weewx[7672]:    ****  CWOP: Record 2013-02-17 21:03:00 MSK (1361120580) is not last record
Feb 18 07:41:11 meteo weewx[7672]: Archive: added archive record 2013-02-17 21:06:00 MSK (1361120760)
Feb 18 07:41:12 meteo weewx[7672]: restful: Published record 2013-02-17 21:04:00 MSK (1361120640) to Wunderground station IU041CU02
Feb 18 07:41:12 meteo weewx[7672]: restful: Skipped record 2013-02-17 21:04:00 MSK (1361120640) to CWOP station DW3940
Feb 18 07:41:12 meteo weewx[7672]:    ****  CWOP: Record 2013-02-17 21:04:00 MSK (1361120640) is not last record
Feb 18 07:41:12 meteo weewx[7672]: Archive: added archive record 2013-02-17 21:07:00 MSK (1361120820)
Feb 18 07:41:12 meteo weewx[7672]: restful: Published record 2013-02-17 21:05:00 MSK (1361120700) to Wunderground station IU041CU02
Feb 18 07:41:12 meteo weewx[7672]: restful: Skipped record 2013-02-17 21:05:00 MSK (1361120700) to CWOP station DW3940
Feb 18 07:41:12 meteo weewx[7672]:    ****  CWOP: Record 2013-02-17 21:05:00 MSK (1361120700) is not last record
Feb 18 07:41:12 meteo weewx[7672]: Archive: added archive record 2013-02-17 21:08:00 MSK (1361120880)
Feb 18 07:41:13 meteo weewx[7672]: restful: Published record 2013-02-17 21:06:00 MSK (1361120760) to Wunderground station IU041CU02
Feb 18 07:41:13 meteo weewx[7672]: restful: Skipped record 2013-02-17 21:06:00 MSK (1361120760) to CWOP station DW3940
Feb 18 07:41:13 meteo weewx[7672]:    ****  CWOP: Record 2013-02-17 21:06:00 MSK (1361120760) is not last record
Feb 18 07:41:13 meteo weewx[7672]: Archive: added archive record 2013-02-17 21:09:00 MSK (1361120940)
Feb 18 07:41:13 meteo weewx[7672]: Archive: added archive record 2013-02-17 21:10:00 MSK (1361121000)
Feb 18 07:41:13 meteo weewx[7672]: restful: Published record 2013-02-17 21:07:00 MSK (1361120820) to Wunderground station IU041CU02
Feb 18 07:41:13 meteo weewx[7672]: restful: Skipped record 2013-02-17 21:07:00 MSK (1361120820) to CWOP station DW3940
Feb 18 07:41:13 meteo weewx[7672]:    ****  CWOP: Record 2013-02-17 21:07:00 MSK (1361120820) is not last record
Feb 18 07:41:13 meteo weewx[7672]: Archive: added archive record 2013-02-17 21:11:00 MSK (1361121060)
Feb 18 07:41:14 meteo weewx[7672]: restful: Published record 2013-02-17 21:08:00 MSK (1361120880) to Wunderground station IU041CU02
Feb 18 07:41:14 meteo weewx[7672]: restful: Skipped record 2013-02-17 21:08:00 MSK (1361120880) to CWOP station DW3940
Feb 18 07:41:14 meteo weewx[7672]:    ****  CWOP: Record 2013-02-17 21:08:00 MSK (1361120880) is not last record
Feb 18 07:41:14 meteo weewx[7672]: Archive: added archive record 2013-02-17 21:12:00 MSK (1361121120)
Feb 18 07:41:14 meteo weewx[7672]: restful: Published record 2013-02-17 21:09:00 MSK (1361120940) to Wunderground station IU041CU02
Feb 18 07:41:14 meteo weewx[7672]: restful: Skipped record 2013-02-17 21:09:00 MSK (1361120940) to CWOP station DW3940
Feb 18 07:41:14 meteo weewx[7672]:    ****  CWOP: Record 2013-02-17 21:09:00 MSK (1361120940) is not last record
Feb 18 07:41:15 meteo weewx[7672]: restful: Published record 2013-02-17 21:10:00 MSK (1361121000) to Wunderground station IU041CU02
Feb 18 07:41:15 meteo weewx[7672]: restful: Skipped record 2013-02-17 21:10:00 MSK (1361121000) to CWOP station DW3940
Feb 18 07:41:15 meteo weewx[7672]:    ****  CWOP: Record 2013-02-17 21:10:00 MSK (1361121000) is not last record
Feb 18 07:41:15 meteo weewx[7672]: restful: Published record 2013-02-17 21:11:00 MSK (1361121060) to Wunderground station IU041CU02
Feb 18 07:41:15 meteo weewx[7672]: restful: Skipped record 2013-02-17 21:11:00 MSK (1361121060) to CWOP station DW3940
Feb 18 07:41:15 meteo weewx[7672]:    ****  CWOP: Record 2013-02-17 21:11:00 MSK (1361121060) is not last record
Feb 18 07:41:16 meteo weewx[7672]: restful: Published record 2013-02-17 21:12:00 MSK (1361121120) to Wunderground station IU041CU02
Feb 18 07:41:16 meteo weewx[7672]: restful: Skipped record 2013-02-17 21:12:00 MSK (1361121120) to CWOP station DW3940
Feb 18 07:41:16 meteo weewx[7672]:    ****  CWOP: Record 2013-02-17 21:12:00 MSK (1361121120) is stale (37756 > 1800).
Feb 18 07:41:16 meteo weewx[7672]: wxengine: Shut down StdRESTful thread.
Feb 18 07:41:16 meteo weewx[7672]: VantagePro: successfully woke up console
Feb 18 07:41:16 meteo weewx[7672]: wxengine: Caught unrecoverable exception in wxengine:
Feb 18 07:41:16 meteo weewx[7672]:     ****  Unknown archive type = 0x10
Feb 18 07:41:16 meteo weewx[7672]:     ****  Traceback (most recent call last):
Feb 18 07:41:16 meteo weewx[7672]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 839, in main
Feb 18 07:41:16 meteo weewx[7672]:     ****      engine.run()
Feb 18 07:41:16 meteo weewx[7672]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 139, in run
Feb 18 07:41:16 meteo weewx[7672]:     ****      self.dispatchEvent(weewx.Event(weewx.STARTUP))
Feb 18 07:41:16 meteo weewx[7672]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 189, in dispatchEvent
Feb 18 07:41:16 meteo weewx[7672]:     ****      callback(event)
Feb 18 07:41:16 meteo weewx[7672]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 430, in startup
Feb 18 07:41:16 meteo weewx[7672]:     ****      self._catchup()
Feb 18 07:41:16 meteo weewx[7672]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 540, in _catchup
Feb 18 07:41:16 meteo weewx[7672]:     ****      for record in self.engine.console.genArchiveRecords(lastgood_ts):
Feb 18 07:41:16 meteo weewx[7672]:     ****    File "/home/weewx/bin/weewx/VantagePro.py", line 513, in genArchiveRecords
Feb 18 07:41:16 meteo weewx[7672]:     ****      _packet = unpackArchivePacket(_page[1+52*_index:53+52*_index])
Feb 18 07:41:16 meteo weewx[7672]:     ****    File "/home/weewx/bin/weewx/VantagePro.py", line 1031, in unpackArchivePacket
Feb 18 07:41:16 meteo weewx[7672]:     ****      raise weewx.UnknownArchiveType("Unknown archive type = 0x%x" % (packet_type,))
Feb 18 07:41:16 meteo weewx[7672]:     ****  UnknownArchiveType: Unknown archive type = 0x10
Feb 18 07:41:16 meteo weewx[7672]:     ****  Exiting



Thomas Keffer

unread,
Feb 18, 2013, 8:42:00 AM2/18/13
to weewx...@googlegroups.com
What can I say? Your VantagePro is generating records with a bad archive record type.

What we can do is have weewx keep going, despite bad archive records. I will work on that.

-tk

--
You received this message because you are subscribed to the Google Groups "Weewx Weather Station Discussion" 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/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages