{"action":"created","issue":{"url":"https://api.github.com/repos/lordmauve/chopsticks/issues/13","repository_url":"https://api.github.com/repos/lordmauve/chopsticks","labels_url":"https://api.github.com/repos/lordmauve/chopsticks/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/lordmauve/chopsticks/issues/13/comments","events_url":"https://api.github.com/repos/lordmauve/chopsticks/issues/13/events","html_url":"https://github.com/lordmauve/chopsticks/issues/13","id":183266588,"number":13,"title":"chopsticks.tunnel.RemoteException in basic usage on Mac OS X","user":{"login":"petmakris","id":5685156,"avatar_url":"https://avatars.githubusercontent.com/u/5685156?v=3","gravatar_id":"","url":"https://api.github.com/users/petmakris","html_url":"https://github.com/petmakris","followers_url":"https://api.github.com/users/petmakris/followers","following_url":"https://api.github.com/users/petmakris/following{/other_user}","gists_url":"https://api.github.com/users/petmakris/gists{/gist_id}","starred_url":"https://api.github.com/users/petmakris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petmakris/subscriptions","organizations_url":"https://api.github.com/users/petmakris/orgs","repos_url":"https://api.github.com/users/petmakris/repos","events_url":"https://api.github.com/users/petmakris/events{/privacy}","received_events_url":"https://api.github.com/users/petmakris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-16T13:18:45Z","updated_at":"2016-10-17T20:40:20Z","closed_at":null,"body":"Executing in  Macosx box with cpython 2.7:\r\n\r\n```\r\n#!/usr/bin/env python\r\nfrom chopsticks.tunnel import Tunnel\r\ntun = Tunnel('localhost')\r\nimport time\r\nprint('Time on %s:' % tun.host, tun.call(time.time))\r\n```\r\n\r\nResults to \r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"./py0.py\", line 11, in <module>\r\n    print('Time on %s:' % tun.host, tun.call(time.time))\r\n  File \"/Users/username/example/.chopsticks/lib/python2.7/site-packages/chopsticks/tunnel.py\", line 179, in call\r\n    raise RemoteException(ret.msg)\r\nchopsticks.tunnel.RemoteException: Unexpected EOF on stream\r\n```\r\nAnd the same if not executing from a virtualenv\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"./py0.py\", line 11, in <module>\r\n    print('Time on %s:' % tun.host, tun.call(time.time))\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/chopsticks/tunnel.py\", line 179, in call\r\n    raise RemoteException(ret.msg)\r\nchopsticks.tunnel.RemoteException: Unexpected EOF on stream\r\n```\r\n\r\nSame scripts works when executed against a linux box.\r\n```\r\n('Time on localhost:', 1476624529.645448)\r\n```"},"comment":{"url":"https://api.github.com/repos/lordmauve/chopsticks/issues/comments/254327069","html_url":"https://github.com/lordmauve/chopsticks/issues/13#issuecomment-254327069","issue_url":"https://api.github.com/repos/lordmauve/chopsticks/issues/13","id":254327069,"user":{"login":"lordmauve","id":617224,"avatar_url":"https://avatars.githubusercontent.com/u/617224?v=3","gravatar_id":"","url":"https://api.github.com/users/lordmauve","html_url":"https://github.com/lordmauve","followers_url":"https://api.github.com/users/lordmauve/followers","following_url":"https://api.github.com/users/lordmauve/following{/other_user}","gists_url":"https://api.github.com/users/lordmauve/gists{/gist_id}","starred_url":"https://api.github.com/users/lordmauve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordmauve/subscriptions","organizations_url":"https://api.github.com/users/lordmauve/orgs","repos_url":"https://api.github.com/users/lordmauve/repos","events_url":"https://api.github.com/users/lordmauve/events{/privacy}","received_events_url":"https://api.github.com/users/lordmauve/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T20:40:20Z","updated_at":"2016-10-17T20:40:20Z","body":"Did you get the error message line\r\n\r\n    [localhost] bash: /usr/bin/python2: No such file or directory\r\n\r\n? If this is the problem, it's relatively easy to fix; just add (before connection):\r\n\r\n    Tunnel.python2 = 'python'"}}
{"actor":{"display_login":"lordmauve"}}