{"action":"created","issue":{"url":"https://api.github.com/repos/digego/extempore/issues/198","labels_url":"https://api.github.com/repos/digego/extempore/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/digego/extempore/issues/198/comments","events_url":"https://api.github.com/repos/digego/extempore/issues/198/events","html_url":"https://github.com/digego/extempore/issues/198","id":120640913,"number":198,"title":"vim plugin throws exception when sending code from Neovim","user":{"login":"lpil","id":6134406,"avatar_url":"https://avatars.githubusercontent.com/u/6134406?v=3","gravatar_id":"","url":"https://api.github.com/users/lpil","html_url":"https://github.com/lpil","followers_url":"https://api.github.com/users/lpil/followers","following_url":"https://api.github.com/users/lpil/following{/other_user}","gists_url":"https://api.github.com/users/lpil/gists{/gist_id}","starred_url":"https://api.github.com/users/lpil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpil/subscriptions","organizations_url":"https://api.github.com/users/lpil/orgs","repos_url":"https://api.github.com/users/lpil/repos","events_url":"https://api.github.com/users/lpil/events{/privacy}","received_events_url":"https://api.github.com/users/lpil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-06T15:33:06Z","updated_at":"2015-12-08T23:58:19Z","closed_at":null,"body":"Hey, I'm having some trouble using the vim plugin. Here's what I'm doing:\r\n\r\nI saved the vim plugin script in `~/.vim/ftplugins/scheme.vim` so that it is loaded when I open a scheme file.\r\n\r\nI open a new scheme file, such as `foo.ss`\r\n\r\nI hit `<leader>o` to connect to the extempore process, which prints `New Client Connection`. Neovim then immediately throws an exception (see below), and extempore prints `Close Client Socket`.\r\n\r\n```\r\nException in thread Thread-1:\r\nTraceback (most recent call last):\r\n  File \"/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/thr\r\neading.py\", line 810, in __bootstrap_inner\r\n    self.run()\r\n  File \"/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/thr\r\neading.py\", line 1082, in run\r\n    self.function(*self.args, **self.kwargs)\r\n  File \"<string>\", line 29, in output_poller\r\n  File \"/usr/local/Cellar/neovim/0.1.0/share/nvim/runtime/autoload/provider/script_host.py\", line 15\r\n9, in write\r\n    self.redirect_handler(data)\r\n  File \"/usr/local/Cellar/neovim/0.1.0/share/nvim/runtime/autoload/provider/script_host.py\", line 56\r\n, in <lambda>\r\n    sys.stdout = RedirectStream(lambda data: nvim.out_write(data))\r\n  File \"/usr/local/lib/python2.7/site-packages/neovim/api/nvim.py\", line 208, in out_write\r\n    return self._session.request('vim_out_write', msg)\r\n  File \"/usr/local/lib/python2.7/site-packages/neovim/api/common.py\", line 230, in request\r\n    return walk(self._in, self._session.request(name, *args, **kwargs),\r\n  File \"/usr/local/lib/python2.7/site-packages/neovim/msgpack_rpc/session.py\", line 81, in request\r\n    v = self._yielding_request(method, args)\r\n  File \"/usr/local/lib/python2.7/site-packages/neovim/msgpack_rpc/session.py\", line 146, in _yieldin\r\ng_request\r\n    return parent.switch()\r\nAttributeError: 'NoneType' object has no attribute 'switch'\r\n```\r\n\r\nI don't speak python, so I'm unsure if I should be reporting this here, or to the neovim team."},"comment":{"url":"https://api.github.com/repos/digego/extempore/issues/comments/163061085","html_url":"https://github.com/digego/extempore/issues/198#issuecomment-163061085","issue_url":"https://api.github.com/repos/digego/extempore/issues/198","id":163061085,"user":{"login":"benswift","id":380241,"avatar_url":"https://avatars.githubusercontent.com/u/380241?v=3","gravatar_id":"","url":"https://api.github.com/users/benswift","html_url":"https://github.com/benswift","followers_url":"https://api.github.com/users/benswift/followers","following_url":"https://api.github.com/users/benswift/following{/other_user}","gists_url":"https://api.github.com/users/benswift/gists{/gist_id}","starred_url":"https://api.github.com/users/benswift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benswift/subscriptions","organizations_url":"https://api.github.com/users/benswift/orgs","repos_url":"https://api.github.com/users/benswift/repos","events_url":"https://api.github.com/users/benswift/events{/privacy}","received_events_url":"https://api.github.com/users/benswift/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T23:58:18Z","updated_at":"2015-12-08T23:58:18Z","body":"I should add that Extempore is currently looking for a (Neo)Vim\nmaintainer. None of us are vim users, so we don't really have the\nexpertise in dealing with issues in the vim plugin.\n\nThanks for the heads up about the NeoVim issue, I don't know if anyone\nhas ever used it before.\n\nmrmagooey <notifications@github.com> writes:\n\n> Almost everything in that traceback looks internal to neovim ( except for  `File \"<string>\", line 29, in output_poller`), I would suggest it's a neovim problem.\n>\n> Certainly extempore doesn't use msgpack, which seems to be where the exception occurs. If the exception was a telnet related one then it would probably be an extempore.vim problem.\n>\n> ---\n> Reply to this email directly or view it on GitHub:\n> https://github.com/digego/extempore/issues/198#issuecomment-162422737\n\n"}}