I would also suggest posting to the HP1000 "Issues" list.
https://github.com/AussieSusan/HP1000/issues

On Thu, Nov 25, 2021 at 7:14 AM [email protected] <[email protected]>
wrote:

> Hello
> Unfortunately, weewx keeps crashing after a Linux update.
> I once attached the log from the syslog. Maybe someone can help.
> As hardware I have an HP1000 weather station with Hp driver and a virtual
> server (Linux Ubuntu) on a disk station DS 218+.
> The whole thing lasted a few months. Until I did abt-get updat and upgrade.
>
> Greetings André
>
>
> Nov 25 16:06:47 weewx weewx[86060] INFO weewx.engine: Main loop exiting.
> Shutting engine down.
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__: Caught unrecoverable
> exception:
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:     ****  unpack
> requires a buffer of 4 bytes
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:     ****  Traceback
> (most recent call last):
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:     ****    File
> "/usr/share/weewx/weewxd", line 157, in main
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:     ****
> engine.run()
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:     ****    File
> "/usr/share/weewx/weewx/engine.py", line 178, in run
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:     ****
> self.dispatchEvent(weewx.Event(weewx.STARTUP))
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:     ****    File
> "/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:     ****
> callback(event)
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:     ****    File
> "/usr/share/weewx/weewx/engine.py", line 574, in startup
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:     ****
> self._catchup(self.engine.console.genStartupRecords)
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:     ****    File
> "/usr/share/weewx/weewx/engine.py", line 687, in _catchup
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:     ****      for
> record in generator(lastgood_ts):
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:     ****    File
> "/usr/share/weewx/user/HP1000.py", line 904, in genStartupRecords
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:     ****
> rec_packet = self.getHistoryData(year, record_count, start_record)
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:     ****    File
> "/usr/share/weewx/user/HP1000.py", line 791, in getHistoryData
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:     ****
> pkt_length = struct.unpack('I', rx_data[32:36])[0]
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:     ****
> struct.error: unpack requires a buffer of 4 bytes
> Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:     ****  Exiting.
>
> --
> 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/0b1d6853-14de-451f-aa8b-ddfcc4120bfbn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/0b1d6853-14de-451f-aa8b-ddfcc4120bfbn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAPq0zECMV5vcX6fs8Y3kKjv0k4Cnn24twQEBtLSkxVL0fD%2BdQw%40mail.gmail.com.

Reply via email to