How are you starting weewxd? Are you using a systemd service file? Or, are you running it detached from a terminal, then logging out? If the latter, the tty goes away and you will get the error shown in your log.
On Sun, Jun 9, 2024 at 8:03 PM Sanjiv B <sanji...@gmail.com> wrote: > After EVERY record obtained from the station the following error is in the > log. The weewx process basically restarts after every record. > > The strange thing is that when I start weewxd without any parameters the > records get downloaded quickly. The data shows up on the screen which is > annoying but it does work properly. > > Here is the log > > Jun 9 20:56:58 kvm01 weewx[2472460] INFO __main__: Starting up weewx > version 4.10.2 > Jun 9 20:57:01 kvm01 weewx[2472460] DEBUG weewx.drivers.vantage: > Successfully woke up Vantage console > Jun 9 20:57:02 kvm01 weewx[2472460] INFO weewx.engine: Clock error is > -0.22 seconds (positive is fast) > Jun 9 20:57:02 kvm01 weewx[2472460] INFO weewx.engine: Using binding > 'wx_binding' to database 'weewx' > Jun 9 20:57:02 kvm01 weewx[2472460] INFO weewx.manager: Starting backfill > of daily summaries > Jun 9 20:57:02 kvm01 weewx[2472460] INFO weewx.manager: Daily summaries > up to date > Jun 9 20:57:02 kvm01 weewx[2472460] DEBUG weewx.drivers.vantage: Getting > archive packets since 2024-06-05 07:35:00 CDT (1717590900) > Jun 9 20:57:04 kvm01 weewx[2472460] DEBUG weewx.drivers.vantage: > Successfully woke up Vantage console > Jun 9 20:57:06 kvm01 weewx[2472460] DEBUG weewx.drivers.vantage: > Retrieving 262 page(s); starting index= 1 > Jun 9 20:57:07 kvm01 weewx[2472460] INFO weewx.manager: Added record > 2024-06-05 07:40:00 CDT (1717591200) to database 'weewx' > Jun 9 20:57:07 kvm01 weewx[2472460] INFO weewx.manager: Added record > 2024-06-05 07:40:00 CDT (1717591200) to daily summary in 'weewx' > Jun 9 20:57:07 kvm01 weewx[2472460] INFO weewx.engine: Main loop exiting. > Shutting engine down. > Jun 9 20:57:08 kvm01 weewx[2472460] CRITICAL __main__: Caught OSError: > [Errno 5] Input/output error > Jun 9 20:57:08 kvm01 weewx[2472460] CRITICAL __main__: **** > Traceback (most recent call last): > Jun 9 20:57:08 kvm01 weewx[2472460] CRITICAL __main__: **** File > "/usr/share/weewx/weewxd", line 154, in main > Jun 9 20:57:08 kvm01 weewx[2472460] CRITICAL __main__: **** > engine.run() > Jun 9 20:57:08 kvm01 weewx[2472460] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/engine.py", line 178, in run > Jun 9 20:57:08 kvm01 weewx[2472460] CRITICAL __main__: **** > self.dispatchEvent(weewx.Event(weewx.STARTUP)) > Jun 9 20:57:08 kvm01 weewx[2472460] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent > Jun 9 20:57:08 kvm01 weewx[2472460] CRITICAL __main__: **** > callback(event) > Jun 9 20:57:08 kvm01 weewx[2472460] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/engine.py", line 584, in startup > Jun 9 20:57:08 kvm01 weewx[2472460] CRITICAL __main__: **** > self._catchup(self.engine.console.genStartupRecords) > Jun 9 20:57:08 kvm01 weewx[2472460] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/engine.py", line 700, in _catchup > Jun 9 20:57:08 kvm01 weewx[2472460] CRITICAL __main__: **** > self.engine.dispatchEvent(weewx.Event(weewx.NEW_ARCHIVE_RECORD, > Jun 9 20:57:08 kvm01 weewx[2472460] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent > Jun 9 20:57:08 kvm01 weewx[2472460] CRITICAL __main__: **** > callback(event) > Jun 9 20:57:08 kvm01 weewx[2472460] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/engine.py", line 805, in new_archive_record > Jun 9 20:57:08 kvm01 weewx[2472460] CRITICAL __main__: **** > print("REC: ", > Jun 9 20:57:08 kvm01 weewx[2472460] CRITICAL __main__: **** OSError: > [Errno 5] Input/output error > Jun 9 20:57:08 kvm01 weewx[2472460] CRITICAL __main__: **** Waiting > 10 seconds then 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/6eba0f07-ac8d-411a-ae37-f43ddcebcc4fn%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/6eba0f07-ac8d-411a-ae37-f43ddcebcc4fn%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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEA7EZFi_vdnCfi5kmLwPAT06EabWLfZj7_63UKnBp4_MA%40mail.gmail.com.