{"action":"opened","issue":{"url":"https://api.github.com/repos/pycom/pymakr-atom/issues/88","repository_url":"https://api.github.com/repos/pycom/pymakr-atom","labels_url":"https://api.github.com/repos/pycom/pymakr-atom/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/pycom/pymakr-atom/issues/88/comments","events_url":"https://api.github.com/repos/pycom/pymakr-atom/issues/88/events","html_url":"https://github.com/pycom/pymakr-atom/issues/88","id":337336337,"node_id":"MDU6SXNzdWUzMzczMzYzMzc=","number":88,"title":"Run button drops comms to Pycom devices on second use","user":{"login":"prawnhead","id":951005,"node_id":"MDQ6VXNlcjk1MTAwNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/951005?v=4","gravatar_id":"","url":"https://api.github.com/users/prawnhead","html_url":"https://github.com/prawnhead","followers_url":"https://api.github.com/users/prawnhead/followers","following_url":"https://api.github.com/users/prawnhead/following{/other_user}","gists_url":"https://api.github.com/users/prawnhead/gists{/gist_id}","starred_url":"https://api.github.com/users/prawnhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prawnhead/subscriptions","organizations_url":"https://api.github.com/users/prawnhead/orgs","repos_url":"https://api.github.com/users/prawnhead/repos","events_url":"https://api.github.com/users/prawnhead/events{/privacy}","received_events_url":"https://api.github.com/users/prawnhead/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-02T00:28:31Z","updated_at":"2018-07-02T00:28:31Z","closed_at":null,"author_association":"NONE","body":"Issue:\r\nWhen stopping running code on a device using the Run button, communications to the device are lost. This is not intermittent, it occurs every time the Run button is used to stop running code.\r\n\r\nSteps to reproduce:\r\n1. When the Pymakr Run button is used for the first time, the name of the code file run is printed to the REPL and the code is run on the device.\r\n2. **On second press** of the Run button, REPL ceases printing output from the device as expected **but the REPL prompt does not return**\r\n3. A third press of the Run button prints the name of the code file to REPL but no output from the device.\r\n4. Subsequent presses of the Run button appear to have no effect.\r\n5. Pressing reset on the device does not return the REPL prompt\r\n6. Clicking Disconnect produces the message \"> Failed to connect (Error: Port is not open). Click here to try again.\" and buttons Upload, Download and Run disappear.\r\n7. Clicking Connect returns to the REPL prompt, but Upload, Download and Run do not appear.\r\n8. Closing and reopening of Atom IDE is required to make Upload, Download and Run buttons reappear.\r\n\r\nVersions:\r\n- Atom 1.28.0 x64 with pymakr 1.3.5 on Win10 x64\r\n- LoPy 1.0: (sysname='LoPy', nodename='LoPy', release='1.18.0', version='v1.8.6-849-046b350 on 2018-06-01', machine='LoPy with ESP32', lorawan='1.0.2')\r\n- LoPy4: (sysname='LoPy4', nodename='LoPy4', release='1.18.0', version='v1.8.6-849-046b350 on 2018-06-01', machine='LoPy4 with ESP32', lorawan='1.0.2', sigfox='1.0.1')\r\n\r\nCode to reproduce (any code will show fault)\r\n```\r\nimport time\r\n\r\nwhile(True):\r\n    print(\"Test\")\r\n    time.sleep(1)\r\n```"}}
{"actor":{"display_login":"prawnhead"}}