{"action":"created","issue":{"url":"https://api.github.com/repos/solettaproject/soletta/issues/1949","repository_url":"https://api.github.com/repos/solettaproject/soletta","labels_url":"https://api.github.com/repos/solettaproject/soletta/issues/1949/labels{/name}","comments_url":"https://api.github.com/repos/solettaproject/soletta/issues/1949/comments","events_url":"https://api.github.com/repos/solettaproject/soletta/issues/1949/events","html_url":"https://github.com/solettaproject/soletta/issues/1949","id":151554669,"number":1949,"title":"Failed to run example in the spec for GPIO on Ostro image#435","user":{"login":"wanghongjuan","id":5309217,"avatar_url":"https://avatars.githubusercontent.com/u/5309217?v=3","gravatar_id":"","url":"https://api.github.com/users/wanghongjuan","html_url":"https://github.com/wanghongjuan","followers_url":"https://api.github.com/users/wanghongjuan/followers","following_url":"https://api.github.com/users/wanghongjuan/following{/other_user}","gists_url":"https://api.github.com/users/wanghongjuan/gists{/gist_id}","starred_url":"https://api.github.com/users/wanghongjuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wanghongjuan/subscriptions","organizations_url":"https://api.github.com/users/wanghongjuan/orgs","repos_url":"https://api.github.com/users/wanghongjuan/repos","events_url":"https://api.github.com/users/wanghongjuan/events{/privacy}","received_events_url":"https://api.github.com/users/wanghongjuan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-28T05:48:18Z","updated_at":"2016-04-28T08:33:00Z","closed_at":null,"body":"#### Steps to reproduce\r\n\r\n 1. Copy the example code to a file, named as gpio-example.js, then copy it to test device.\r\n 2. Update the code and run the example file:\r\n```\r\nvar gpio = require(\"gpio\");\r\n```\r\nchange the require content \"gpio\" to the path of lib gpio.js and update\r\n```\r\nconsole.log(\"GPIO pin \" + pin.pin \" value changed to \" + event.value);\r\n```\r\nto \r\n```\r\nconsole.log(\"GPIO pin \" + pin.pin \" + value changed to \" + event.value);\r\n```\r\nThen run:\r\n```\r\nnode gpio.js\r\n```\r\n\r\n#### Board information\r\n\r\nTarget OS and platform: Ostro image#435(https://download.ostroproject.org/builds/ostro-os/2016-04-26_13-41-09-build-435/) and Edison\r\n\r\n#### Logs\r\n\r\n<!-- You should share logs on tools like pastebin.com or gist.github.com and add links here. Logs are required depending on type of issue. Check https://github.com/solettaproject/soletta/wiki/How-to-report-an-issue -->\r\n\r\n * Soletta version (top commit hash): tag(v1_beta19), commit id(6a7bc32)\r\nOnly show below message:\r\n```\r\nGPIO pin undefined open for writing\r\n```\r\nI think it should show all console log messages.\r\nThe other specifications(e.g. I2C, PWM, SPI,UART) have the similar situation as GPIO, the example in the specification can not access the test fluky."},"comment":{"url":"https://api.github.com/repos/solettaproject/soletta/issues/comments/215352057","html_url":"https://github.com/solettaproject/soletta/issues/1949#issuecomment-215352057","issue_url":"https://api.github.com/repos/solettaproject/soletta/issues/1949","id":215352057,"user":{"login":"nagineni","id":1140096,"avatar_url":"https://avatars.githubusercontent.com/u/1140096?v=3","gravatar_id":"","url":"https://api.github.com/users/nagineni","html_url":"https://github.com/nagineni","followers_url":"https://api.github.com/users/nagineni/followers","following_url":"https://api.github.com/users/nagineni/following{/other_user}","gists_url":"https://api.github.com/users/nagineni/gists{/gist_id}","starred_url":"https://api.github.com/users/nagineni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nagineni/subscriptions","organizations_url":"https://api.github.com/users/nagineni/orgs","repos_url":"https://api.github.com/users/nagineni/repos","events_url":"https://api.github.com/users/nagineni/events{/privacy}","received_events_url":"https://api.github.com/users/nagineni/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T08:32:59Z","updated_at":"2016-04-28T08:32:59Z","body":"The example in the spec is incorrect, so please use the samples in this commit https://github.com/solettaproject/soletta/pull/1950/commits/06305496"}}