{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/ptvsd/issues/470","repository_url":"https://api.github.com/repos/Microsoft/ptvsd","labels_url":"https://api.github.com/repos/Microsoft/ptvsd/issues/470/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/ptvsd/issues/470/comments","events_url":"https://api.github.com/repos/Microsoft/ptvsd/issues/470/events","html_url":"https://github.com/Microsoft/ptvsd/issues/470","id":330843937,"node_id":"MDU6SXNzdWUzMzA4NDM5Mzc=","number":470,"title":"Inappropriate ioctl for device when remote debug with fabric","user":{"login":"bingkxu","id":40077975,"node_id":"MDQ6VXNlcjQwMDc3OTc1","avatar_url":"https://avatars0.githubusercontent.com/u/40077975?v=4","gravatar_id":"","url":"https://api.github.com/users/bingkxu","html_url":"https://github.com/bingkxu","followers_url":"https://api.github.com/users/bingkxu/followers","following_url":"https://api.github.com/users/bingkxu/following{/other_user}","gists_url":"https://api.github.com/users/bingkxu/gists{/gist_id}","starred_url":"https://api.github.com/users/bingkxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bingkxu/subscriptions","organizations_url":"https://api.github.com/users/bingkxu/orgs","repos_url":"https://api.github.com/users/bingkxu/repos","events_url":"https://api.github.com/users/bingkxu/events{/privacy}","received_events_url":"https://api.github.com/users/bingkxu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-09T02:03:11Z","updated_at":"2018-06-19T14:46:07Z","closed_at":null,"author_association":"NONE","body":"python version: 2.7.13\r\nptvsd version: 3.0.0\r\nvscode version: 1.23.1\r\nfabric version: 1.14\r\n\r\nwhen using remote debug, call fabric function run('find / -name xx.sh 2>/dev/null'), an error occurs:\r\n    out = run('find / -name xx.sh 2>/dev/null')\r\n  File \"./fabric/network.py\", line 687, in host_prompting_wrapper\r\n  File \"./fabric/operations.py\", line 1090, in run\r\n  File \"./fabric/operations.py\", line 933, in _run_command\r\n  File \"./fabric/operations.py\", line 770, in _execute\r\n  File \"./fabric/utils.py\", line 306, in _pty_size\r\nIOError: [Errno 25] Inappropriate ioctl for device\r\n\r\nthen delete debug code below, everything goes fine:\r\nimport ptvsd\r\nptvsd.enable_attach(\"my_secret\", address=('0.0.0.0', 3000))\r\n\r\nptvsd.wait_for_attach()\r\nptvsd.break_into_debugger()\r\n\r\nit seems that fabric and ptvsd have conflicts"},"comment":{"url":"https://api.github.com/repos/Microsoft/ptvsd/issues/comments/398425767","html_url":"https://github.com/Microsoft/ptvsd/issues/470#issuecomment-398425767","issue_url":"https://api.github.com/repos/Microsoft/ptvsd/issues/470","id":398425767,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODQyNTc2Nw==","user":{"login":"bingkxu","id":40077975,"node_id":"MDQ6VXNlcjQwMDc3OTc1","avatar_url":"https://avatars0.githubusercontent.com/u/40077975?v=4","gravatar_id":"","url":"https://api.github.com/users/bingkxu","html_url":"https://github.com/bingkxu","followers_url":"https://api.github.com/users/bingkxu/followers","following_url":"https://api.github.com/users/bingkxu/following{/other_user}","gists_url":"https://api.github.com/users/bingkxu/gists{/gist_id}","starred_url":"https://api.github.com/users/bingkxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bingkxu/subscriptions","organizations_url":"https://api.github.com/users/bingkxu/orgs","repos_url":"https://api.github.com/users/bingkxu/repos","events_url":"https://api.github.com/users/bingkxu/events{/privacy}","received_events_url":"https://api.github.com/users/bingkxu/received_events","type":"User","site_admin":false},"created_at":"2018-06-19T14:46:07Z","updated_at":"2018-06-19T14:46:07Z","author_association":"NONE","body":"version above 4.0+ most use with python3 and windows\r\nis there any version is compatible with python 2.7.12 and linux?"}}
{"actor":{"display_login":"bingkxu"}}