{"action":"created","issue":{"url":"https://api.github.com/repos/vlachoudis/bCNC/issues/610","repository_url":"https://api.github.com/repos/vlachoudis/bCNC","labels_url":"https://api.github.com/repos/vlachoudis/bCNC/issues/610/labels{/name}","comments_url":"https://api.github.com/repos/vlachoudis/bCNC/issues/610/comments","events_url":"https://api.github.com/repos/vlachoudis/bCNC/issues/610/events","html_url":"https://github.com/vlachoudis/bCNC/issues/610","id":238712764,"number":610,"title":"Freezing during streaming with stacktrace","user":{"login":"twforeman","id":3134850,"avatar_url":"https://avatars0.githubusercontent.com/u/3134850?v=3","gravatar_id":"","url":"https://api.github.com/users/twforeman","html_url":"https://github.com/twforeman","followers_url":"https://api.github.com/users/twforeman/followers","following_url":"https://api.github.com/users/twforeman/following{/other_user}","gists_url":"https://api.github.com/users/twforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/twforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twforeman/subscriptions","organizations_url":"https://api.github.com/users/twforeman/orgs","repos_url":"https://api.github.com/users/twforeman/repos","events_url":"https://api.github.com/users/twforeman/events{/privacy}","received_events_url":"https://api.github.com/users/twforeman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-06-27T01:25:14Z","updated_at":"2017-06-27T12:13:39Z","closed_at":null,"body":"Running on Windows 10\r\nbCNC v0.9.9\r\nPython version 2.7.13\r\n\r\nThis is a new laptop for me. bCNC was running fine yesterday then last night Windows did it's update dance and now bCNC starts streaming the file and gets about 14% done and then freezes with a stacktrace in the python window.\r\n\r\n```\r\nException in thread Thread-2:\r\nTraceback (most recent call last):\r\n  File \"C:\\Python27\\lib\\threading.py\", line 801, in __bootstrap_inner\r\n    self.run()\r\n  File \"C:\\Python27\\lib\\threading.py\", line 754, in run\r\n    self.__target(*self.__args, **self.__kwargs)\r\n  File \"C:\\Users\\timf\\bCNC-0.9.9\\Sender.py\", line 986, in serialIO\r\n    if self.serial.inWaiting() or tosend is None:\r\n  File \"build\\bdist.win-amd64\\egg\\serial\\serialutil.py\", line 588, in inWaiting\r\n    return self.in_waiting\r\n  File \"build\\bdist.win-amd64\\egg\\serial\\serialwin32.py\", line 257, in in_waiting\r\n    raise SerialException(\"ClearCommError failed ({!r})\".format(ctypes.WinError()))\r\nSerialException: ClearCommError failed (WindowsError(995, 'The I/O operation has been aborted because of either a thread exit or an application request.'))\r\n```\r\nThe time counter at the bottom of the window is still running. I suppose it's possible that my Grbl board is freezing up, since the spindle is stopping, but this would be new behaviour.\r\n\r\nI'll try reinstalling python just to see if that makes a difference."},"comment":{"url":"https://api.github.com/repos/vlachoudis/bCNC/issues/comments/311339801","html_url":"https://github.com/vlachoudis/bCNC/issues/610#issuecomment-311339801","issue_url":"https://api.github.com/repos/vlachoudis/bCNC/issues/610","id":311339801,"user":{"login":"electrokean","id":2536210,"avatar_url":"https://avatars3.githubusercontent.com/u/2536210?v=3","gravatar_id":"","url":"https://api.github.com/users/electrokean","html_url":"https://github.com/electrokean","followers_url":"https://api.github.com/users/electrokean/followers","following_url":"https://api.github.com/users/electrokean/following{/other_user}","gists_url":"https://api.github.com/users/electrokean/gists{/gist_id}","starred_url":"https://api.github.com/users/electrokean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electrokean/subscriptions","organizations_url":"https://api.github.com/users/electrokean/orgs","repos_url":"https://api.github.com/users/electrokean/repos","events_url":"https://api.github.com/users/electrokean/events{/privacy}","received_events_url":"https://api.github.com/users/electrokean/received_events","type":"User","site_admin":false},"created_at":"2017-06-27T12:13:39Z","updated_at":"2017-06-27T12:13:39Z","body":"This sounds a lot like electrical noise causing a USB reset/disconnect.  I suggest you try a different USB cable.  Preferably use one with a ferrite \"lump\" on it, or at least one that isn't too long (bigger antenna) or too thin (too little copper/shielding)."}}
{"actor":{"display_login":"electrokean"}}