{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/931","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/931/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/931/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/931/events","html_url":"https://github.com/spyder-ide/spyder/issues/931","id":57870484,"number":931,"title":"Internal console displays error when running or debugging faulty code","user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/2%E2%80%935%20stars","name":"2–5 stars","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/duplicate","name":"duplicate","color":"cccccc"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/imported","name":"imported","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-17T00:57:11Z","updated_at":"2015-02-17T00:57:13Z","closed_at":"2015-02-17T00:57:13Z","body":"_From [anatoliy...@gmail.com](https://code.google.com/u/101136359641652000647/) on 2012-02-07T15:58:30Z_\n\n\n\nWhat steps will reproduce the problem?\n\n 1.  Input code that has a syntax error into the editor, and press 'debug' or 'run'\r\n2. Internal console will produce the following traceback (not every time):  \r\n\r\n\\>>> Exception in thread Thread-2:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/threading.py\", line 552, in __bootstrap_inner\r\n    self.run()\r\n  File \"/usr/local/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/introspection.py\", line 65, in run\r\n    self.send_socket(shell_id, conn)\r\n  File \"/usr/local/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/introspection.py\", line 49, in send_socket\r\n    shell.set_introspection_socket(sock)\r\n  File \"/usr/local/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/pythonshell.py\", line 248, in set_introspection_socket\r\n    'set_remote_view_settings()', settings=[settings])\r\n  File \"/usr/local/lib/python2.7/dist-packages/spyderlib/utils/bsdsocket.py\", line 67, in communicate\r\n    return read_packet(sock)\r\n  File \"/usr/local/lib/python2.7/dist-packages/spyderlib/utils/bsdsocket.py\", line 36, in read_packet\r\n    dlen, = struct.unpack(\"l\", datalen)\r\nerror: unpack requires a string argument of length 8\r\n\r\n3. Spyder continues to run normally and the program executes after the syntax error is corrected. What version of the product are you using? On what operating system? 2.1.7 oneiric\n\n_Original issue: http://code.google.com/p/spyderlib/issues/detail?id=931_"},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/74600755","html_url":"https://github.com/spyder-ide/spyder/issues/931#issuecomment-74600755","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/931","id":74600755,"user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T00:57:13Z","updated_at":"2015-02-17T00:57:13Z","body":"_From [pierre.raybaut](https://code.google.com/u/pierre.raybaut/) on 2012-03-11T07:09:47Z_\n\n**Status:** Duplicate  \n  **Mergedinto:** 113  \n"}}