How did you start weewx? From a command line? There are many ways of getting an Errno 5 error, but one way is to start a process, then close the terminal.
-tk On Sat, Dec 2, 2017 at 2:36 PM, Matthew Quigley <[email protected]> wrote: > Hello, > > I have a cables vantage vue pro station with weatherlinkIP. When I run > weewx I can see the data coming in through the command line every 2s. But > when I check the database, there are only 98 rows. I have rebooted and re > reun weewx, but still only 98 rows in the database while data is coming > through the command line. I checked the logs and this is what was there: > > I did (sudo tail -f /var/log/syslog) that and this is the result: > Dec 2 12:14:42 weather weewx[1973]: vantage: Retrieving 0 page(s); > starting index= 0 > Dec 2 12:14:42 weather weewx[1973]: engine: Starting main packet loop. > Dec 2 12:14:42 weather weewx[1973]: vantage: Gentle wake up of console > successful > Dec 2 12:14:43 weather weewx[1973]: vantage: Requesting 200 LOOP packets. > Dec 2 12:14:44 weather weewx[1973]: vantage: Gentle wake up of console > successful > Dec 2 12:15:21 weather systemd[1]: Started Session 4 of user mquigley. > Dec 2 12:17:01 weather CRON[2032]: (root) CMD ( cd / && run-parts --report > /etc/cron.hourly) > Dec 2 12:18:35 weather systemd[1]: Starting Cleanup of Temporary > Directories... > Dec 2 12:18:35 weather systemd-tmpfiles[2053]: > [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", > ignoring. > Dec 2 12:18:35 weather systemd[1]: Started Cleanup of Temporary > Directories. > Dec 2 12:27:57 weather weewx[1973]: vantage: Requesting 200 LOOP packets. > Dec 2 12:27:57 weather weewx[1973]: vantage: Gentle wake up of console > successful > Dec 2 12:30:15 weather weewx[1973]: vantage: Getting archive packets since > 2017-12-02 12:00:00 EST (1512234000) > Dec 2 12:30:16 weather weewx[1973]: vantage: Gentle wake up of console > successful > Dec 2 12:30:17 weather weewx[1973]: vantage: Retrieving 1 page(s); > starting index= 2 > Dec 2 12:30:18 weather weewx[1973]: manager: Added record 2017-12-02 > 12:30:00 EST (1512235800) to database 'weewx' > Dec 2 12:30:18 weather weewx[1973]: manager: Added record 2017-12-02 > 12:30:00 EST (1512235800) to daily summary in 'weewx' > Dec 2 12:30:18 weather weewx[1973]: engine: Main loop exiting. Shutting > engine down. > Dec 2 12:30:18 weather weewx[1973]: engine: Caught unrecoverable exception > in engine: > Dec 2 12:30:18 weather weewx[1973]: **** [Errno 5] Input/output error > Dec 2 12:30:18 weather weewx[1973]: **** Traceback (most recent call last): > Dec 2 12:30:18 weather weewx[1973]: **** File > "/home/weewx/bin/weewx/engine.py", line 871, in main > Dec 2 12:30:18 weather weewx[1973]: **** engine.run() > Dec 2 12:30:18 weather weewx[1973]: **** File > "/home/weewx/bin/weewx/engine.py", line 201, in run > Dec 2 12:30:18 weather weewx[1973]: **** self.dispatchEvent(weewx. > Event(weewx.POST_LOOP)) > Dec 2 12:30:18 weather weewx[1973]: **** File > "/home/weewx/bin/weewx/engine.py", line 223, in dispatchEvent > Dec 2 12:30:18 weather weewx[1973]: **** callback(event) > Dec 2 12:30:18 weather weewx[1973]: **** File > "/home/weewx/bin/weewx/engine.py", line 567, in post_loop > Dec 2 12:30:18 weather weewx[1973]: **** self._catchup(self.engine. > console.genArchiveRecords) > Dec 2 12:30:18 weather weewx[1973]: **** File > "/home/weewx/bin/weewx/engine.py", line 622, in _catchup > Dec 2 12:30:18 weather weewx[1973]: **** origin='hardware')) > Dec 2 12:30:18 weather weewx[1973]: **** File > "/home/weewx/bin/weewx/engine.py", line 223, in dispatchEvent > Dec 2 12:30:18 weather weewx[1973]: **** callback(event) Dec 2 12:30:18 > weather weewx[1973]: **** File "/home/weewx/bin/weewx/engine.py", line > 714, in new_archive_record > Dec 2 12:30:18 weather weewx[1973]: **** print "REC: ", > weeutil.weeutil.timestamp_to_string(event.record['dateTime']), > to_sorted_string(event.record) > Dec 2 12:30:18 weather weewx[1973]: **** IOError: [Errno 5] Input/output > error Dec 2 12:30:18 weather weewx[1973]: **** 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]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
