{"action":"closed","issue":{"url":"https://api.github.com/repos/ajfisher/node-pixel/issues/71","repository_url":"https://api.github.com/repos/ajfisher/node-pixel","labels_url":"https://api.github.com/repos/ajfisher/node-pixel/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/ajfisher/node-pixel/issues/71/comments","events_url":"https://api.github.com/repos/ajfisher/node-pixel/issues/71/events","html_url":"https://github.com/ajfisher/node-pixel/issues/71","id":173673832,"number":71,"title":"Error: EIO: i/o error, write","user":{"login":"nkolban","id":3421732,"avatar_url":"https://avatars.githubusercontent.com/u/3421732?v=3","gravatar_id":"","url":"https://api.github.com/users/nkolban","html_url":"https://github.com/nkolban","followers_url":"https://api.github.com/users/nkolban/followers","following_url":"https://api.github.com/users/nkolban/following{/other_user}","gists_url":"https://api.github.com/users/nkolban/gists{/gist_id}","starred_url":"https://api.github.com/users/nkolban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkolban/subscriptions","organizations_url":"https://api.github.com/users/nkolban/orgs","repos_url":"https://api.github.com/users/nkolban/repos","events_url":"https://api.github.com/users/nkolban/events{/privacy}","received_events_url":"https://api.github.com/users/nkolban/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ajfisher/node-pixel/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ajfisher/node-pixel/labels/Hardware","name":"Hardware","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"ajfisher","id":119203,"avatar_url":"https://avatars.githubusercontent.com/u/119203?v=3","gravatar_id":"","url":"https://api.github.com/users/ajfisher","html_url":"https://github.com/ajfisher","followers_url":"https://api.github.com/users/ajfisher/followers","following_url":"https://api.github.com/users/ajfisher/following{/other_user}","gists_url":"https://api.github.com/users/ajfisher/gists{/gist_id}","starred_url":"https://api.github.com/users/ajfisher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajfisher/subscriptions","organizations_url":"https://api.github.com/users/ajfisher/orgs","repos_url":"https://api.github.com/users/ajfisher/repos","events_url":"https://api.github.com/users/ajfisher/events{/privacy}","received_events_url":"https://api.github.com/users/ajfisher/received_events","type":"User","site_admin":false},"assignees":[{"login":"ajfisher","id":119203,"avatar_url":"https://avatars.githubusercontent.com/u/119203?v=3","gravatar_id":"","url":"https://api.github.com/users/ajfisher","html_url":"https://github.com/ajfisher","followers_url":"https://api.github.com/users/ajfisher/followers","following_url":"https://api.github.com/users/ajfisher/following{/other_user}","gists_url":"https://api.github.com/users/ajfisher/gists{/gist_id}","starred_url":"https://api.github.com/users/ajfisher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajfisher/subscriptions","organizations_url":"https://api.github.com/users/ajfisher/orgs","repos_url":"https://api.github.com/users/ajfisher/repos","events_url":"https://api.github.com/users/ajfisher/events{/privacy}","received_events_url":"https://api.github.com/users/ajfisher/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-08-28T23:21:20Z","updated_at":"2016-09-15T07:15:12Z","closed_at":"2016-09-15T07:15:12Z","body":"Running a backpack on an Arduino Nano, all works fine for a period of time and then eventually an exception is thrown as follows:\r\n\r\n```\r\nfs.js:658\r\n    return binding.writeBuffer(fd, buffer, offset, length, position);\r\n                   ^\r\n\r\nError: EIO: i/o error, write\r\n    at Error (native)\r\n    at Object.fs.writeSync (fs.js:658:20)\r\n    at Bus.i2cWriteSync (/mnt/cloud/projects/j5/node_modules/raspi-io/node_modules/raspi-i2c/node_modules/i2c-bus/i2c-bus.js:340:13)\r\n    at I2C.writeSync (/mnt/cloud/projects/j5/node_modules/raspi-io/node_modules/raspi-i2c/lib/index.js:332:34)\r\n    at Raspi.i2cWrite (/mnt/cloud/projects/j5/node_modules/raspi-io/lib/index.js:559:19)\r\n    at Strip.Controllers.I2CBACKPACK.strip_color.value (/mnt/cloud/projects/j5/node_modules/node-pixel/lib/pixel.js:295:26)\r\n    at Strip.colour.Strip.color (/mnt/cloud/projects/j5/node_modules/node-pixel/lib/pixel.js:375:14)\r\n    at null._repeat (/mnt/cloud/projects/j5/test.js:22:9)\r\n    at wrapper [as _onTimeout] (timers.js:275:11)\r\n    at Timer.listOnTimeout (timers.js:92:15)\r\n\r\n```\r\nRestarting the app, all continues.  It seems that this is a transient error.  Can the module handle such errors gracefully?  Perhaps simply retry some number of times?\r\n\r\nMy environment is:\r\n\r\n* Raspberry Pi 3\r\n* Node: v4.5.0\r\n* Backpack: Arduino Nano"}}
{"actor":{"display_login":"ajfisher"}}