{"action":"closed","issue":{"url":"https://api.github.com/repos/weewx/weewx/issues/34","labels_url":"https://api.github.com/repos/weewx/weewx/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/weewx/weewx/issues/34/comments","events_url":"https://api.github.com/repos/weewx/weewx/issues/34/events","html_url":"https://github.com/weewx/weewx/issues/34","id":76929065,"number":34,"title":"vantage driver crash","user":{"login":"matthewwall","id":6115213,"avatar_url":"https://avatars.githubusercontent.com/u/6115213?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewwall","html_url":"https://github.com/matthewwall","followers_url":"https://api.github.com/users/matthewwall/followers","following_url":"https://api.github.com/users/matthewwall/following{/other_user}","gists_url":"https://api.github.com/users/matthewwall/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewwall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewwall/subscriptions","organizations_url":"https://api.github.com/users/matthewwall/orgs","repos_url":"https://api.github.com/users/matthewwall/repos","events_url":"https://api.github.com/users/matthewwall/events{/privacy}","received_events_url":"https://api.github.com/users/matthewwall/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-16T03:04:56Z","updated_at":"2015-06-28T16:43:49Z","closed_at":"2015-06-28T16:43:49Z","body":"weewx crashed yesterday with an input/output error.  i thought the designed behavior was to retry a few times then reload the driver.\r\n\r\nweewx: 3.1.0\r\ndriver: vantage\r\nweather station: vantage pro 2 model 6152C w/weatherlink data logger\r\nos: Ubuntu 12.04.5 LTS\r\nuname: Linux sailing 3.2.0-69-generic #103-Ubuntu SMP Tue Sep 2 05:02:14 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux\r\nuptime:  22:58:15 up 203 days,  4:59,  1 user,  load average: 1.95, 1.73, 1.56\r\n\r\nstack trace:\r\n\r\nMay 14 16:40:26 sailing weewx[30353]: engine: Caught unrecoverable exception in engine:\r\nMay 14 16:40:26 sailing weewx[30353]:     ****  (5, 'Input/output error')\r\nMay 14 16:40:26 sailing weewx[30353]:     ****  Traceback (most recent call last):\r\nMay 14 16:40:26 sailing weewx[30353]:     ****    File \"/opt/weewx-3.1.0/bin/weewx/engine.py\", line 837, in main\r\nMay 14 16:40:26 sailing weewx[30353]:     ****      engine.run()\r\nMay 14 16:40:26 sailing weewx[30353]:     ****    File \"/opt/weewx-3.1.0/bin/weewx/engine.py\", line 187, in run\r\nMay 14 16:40:26 sailing weewx[30353]:     ****      for packet in self.console.genLoopPackets():\r\nMay 14 16:40:26 sailing weewx[30353]:     ****    File \"/opt/weewx-3.1.0/bin/weewx/drivers/vantage.py\", line 431, in genLoopPackets\r\nMay 14 16:40:26 sailing weewx[30353]:     ****      for _loop_packet in self.genDavisLoopPackets(200):\r\nMay 14 16:40:26 sailing weewx[30353]:     ****    File \"/opt/weewx-3.1.0/bin/weewx/drivers/vantage.py\", line 445, in genDavisLoopPackets\r\nMay 14 16:40:26 sailing weewx[30353]:     ****      self.port.wakeup_console(self.max_tries, self.wait_before_retry)\r\nMay 14 16:40:26 sailing weewx[30353]:     ****    File \"/opt/weewx-3.1.0/bin/weewx/drivers/vantage.py\", line 66, in wakeup_console\r\nMay 14 16:40:26 sailing weewx[30353]:     ****      self.flush_input()\r\nMay 14 16:40:26 sailing weewx[30353]:     ****    File \"/opt/weewx-3.1.0/bin/weewx/drivers/vantage.py\", line 200, in flush_input\r\nMay 14 16:40:26 sailing weewx[30353]:     ****      self.serial_port.flushInput()\r\nMay 14 16:40:26 sailing weewx[30353]:     ****    File \"/usr/lib/python2.7/dist-packages/serial/serialposix.py\", line 497, in flushInput\r\nMay 14 16:40:26 sailing weewx[30353]:     ****      termios.tcflush(self.fd, TERMIOS.TCIFLUSH)\r\nMay 14 16:40:26 sailing weewx[30353]:     ****  error: (5, 'Input/output error')\r\nMay 14 16:40:26 sailing weewx[30353]:     ****  Exiting.\r\n"}}