{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/e5e6cde63342249932ebe25e112c900b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e5e6cde63342249932ebe25e112c900b","url":"https://api.github.com/users/dclaude","login":"dclaude","id":1166977},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-11-03T14:52:48Z","comments":2,"closed_at":"2011-11-03T14:51:07Z","url":"https://api.github.com/repos/ervandew/eclim/issues/100","body":"Hi\r\n\r\nI ran into trouble when I used \"pyclewn vim plugin\" after eclim installation.\r\n(Pyclewn allows using vim as a frontend to gdb)\r\n\r\nBoth eclim and pyclewn plugin use \"Vim NetBeans Protocol\".\r\n\r\nTo reproduce the problem you can do the following sequence in vim when eclim is enabled:\r\n:Pyclewn\r\n:Cfile <path to any C/C++ binary>\r\n\r\nIt opens a buffer named \"(clewn)_console\". This buffer shows gdb output.\r\nWhen this buffer appears is displayed vim enters an infinite loop where eclim keeps sending \"invalid bufferEnter commands\" to gdb.\r\nThe following error message is displayed in gdb output: 'Undefined command: \"bufferEnter\"'\r\n(A similar problem occurs when a buffer is saved: 'Undefined command: \"unmodified\"').\r\n\r\nI only started to use vim very recently so I don't know how to fix that in a clean way but to workaround this issue I added a:\r\n'if !bufexists(\"(clewn)_console\")' \r\nin /.vim/eclim/autoload/eclim/vimplugin.vim \r\nin functions:\r\neclim#vimplugin#BufferWritten()\r\nand \r\neclim#vimplugin#BufferEnter()\r\n\r\nIf needed you can find below how I installed pyclewn:\r\ndownload pyclewn-1.7.py2.tar.gz from http://pyclewn.sourceforge.net/\r\ncd ~/tmp \r\ntar xvfz ~/Downloads/vim/pyclewn-1.7.py2.tar.gz\r\ncd pyclewn-1.7.py2\r\nsudo mkdir /opt/pyclewn-1.7\r\nsudo chown -R <user> /opt/pyclewn-1.7\r\nsudo chgrp -R <user> /opt/pyclewn-1.7\r\nvimdir=~/.vim python setup.py install --force --home=/opt/pyclewn-1.7\r\nsudo ln -s /opt/pyclewn-1.7/bin/pyclewn /usr/local/bin/pyclewn\r\n\r\nI would be really great if you could provide us with a fix for this one.\r\nThanks a lot !","html_url":"https://github.com/ervandew/eclim/issues/100","number":100,"title":"eclim with pyclewn","id":2130753,"created_at":"2011-11-03T09:57:28Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/f1335f1c623294902c4dd32906cfff41?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f1335f1c623294902c4dd32906cfff41","url":"https://api.github.com/users/ervandew","login":"ervandew","id":74602},"updated_at":"2011-11-03T14:52:48Z","url":"https://api.github.com/repos/ervandew/eclim/issues/comments/2617879","body":"I just checked in a change that should solve this issue. If you can, please try out the latest code and make sure it resolves the problem for you as well.","id":2617879,"created_at":"2011-11-03T14:52:48Z"}}