Ok, thinking some more the error could also occur if the current day has a
one hour period (from the top of the hour) where there is no rain data (as
distinct from  rain data that is zero). The issue is definitely tied to the
current days rain data, that is confirmed by your modifications. Give it a
day of continuous operation and return the template to normal and see if
the error has gone. Meantime I will try to harden the template today.

Gary

On Mon, 6 Apr 2020 at 01:34, Phil Owers <[email protected]> wrote:

> If I take out the rainrate in ss/skin.conf that gets rid of the rainrate
> error in the log
> If I ## all the lines with rain in them in gauge.date.txt file in SS then
> all the other errors in the log then go and the gauge.data.txt is formed
> correctly(all be it without the rain info)
>
> Phil
>
> On Saturday, April 4, 2020 at 10:40:41 AM UTC+1, Phil Owers wrote:
>
>> Hi Guys
>>
>> First of all I hope everybody is staying safe and well
>>
>> Before I go into to many details  should weewx v4.0.0b18 work on its own.
>>
>> Followed the Installation using setup.py, loaded all the prerequisites
>> for Debian 10(Buster)
>> Installed using python3 ./setup.py build  , sudo python3 ./setup.py
>> install
>>
>> Entered the name, vantage (6), serial , metric, ttyusb0  etc.
>>
>> Then started weewx using sudo ./bin/weewx
>> It downloaded all the data from my test console (This works fine plug
>> into another rasp pi v 3.9.2) then failed continuously overnight with no
>> graphs being generated.
>> The weewx.sdb was generated.
>>
>> Apr  4 10:22:20 raspberrypi weewx[1030] INFO weewx.manager: Starting
>> backfill of daily summaries
>> Apr  4 10:22:22 raspberrypi weewx[1030] INFO weewx.engine: Starting main
>> packet loop.
>> Apr  4 10:22:26 raspberrypi weewx[1030] INFO weewx.engine: Main loop
>> exiting. Shutting engine down.
>> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__: Caught
>> OSError: [Errno 5] Input/output error
>> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****
>> Traceback (most recent call last):
>> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****
>> File "./bin/weewxd", line 154, in main
>> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****
>> engine.run()
>> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****
>> File "/home/weewx/bin/weewx/engine.py", line 191, in run
>> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****
>> self.dispatchEvent(weewx.Event(weewx.NEW_LOOP_PACKET, packet=packet))
>> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****
>> File "/home/weewx/bin/weewx/engine.py", line 224, in dispatchEvent
>> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****
>> callback(event)
>> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****
>> File "/home/weewx/bin/weewx/engine.py", line 740, in new_loop_packet
>> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****
>> to_sorted_string(event.packet))
>> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****
>> OSError: [Errno 5] Input/output error
>> Apr  4 10:22:26 raspberrypi weewx[1030] CRITICAL __main__:     ****
>> Waiting 10 seconds then retrying...
>> Apr  4 10:22:28 raspberrypi kernel: [38075.324656] usb 1-1.3: new
>> high-speed USB device number 6 using xhci_hcd
>>
>> No extensions have been added . Apologies if Ive jumped the gun and this
>> doesn't work yet as a standalone
>> Phil
>>
> --
> 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/34f4fc85-6725-4b27-8871-0f1623f7cf37%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/34f4fc85-6725-4b27-8871-0f1623f7cf37%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 

Gary

-- 
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/CAOJRuzz-jFUQ9XnMZ6Ou5UuyGbHVj8gaP-W-E77BkmZF%3Dvro7Q%40mail.gmail.com.

Reply via email to