vim-ipython
vim-ipython copied to clipboard
Cannot start iPython monitor
I don't know exactly what is wrong because I've installed ipython and vim-ipython on other machines before and they seem to work fine. I'm on a linux VM right now though and can't get the monitor hooked up with the console. I can start the monitor just fine but as soon as I start the jupyter console, I get the error "io.UnsupportedOperation: File or stream is not seekable."
It's trying to access /dev/pts/3. Is this a permission issue on my part?
Are you using Python3 or Python2? The monitor currently works only using Python2 as far as I know.
Can you try the update-monitor branch? I don't think I've tested it with Python 2 yet but it definitely works with Python 3. The change that should fix it is adding buffering=0 to the open() call.
Ah yes. I remember doing this before now. Thanks for the memory refresher. Is there any reason this isn't in master?
@DerWeh Can you do me a favor and check if that branch works with Python 2? Not having tested it is the only reason it's not in master.
@wilywampa Sorry for the long delay. Was very occupied and forgot about it...
I can run the monitor neither with python3 nor python2. What is from highlighter import highlight? I cannot find any package highlighter.
I updated the update-monitor branch and tested it with Python 2. Can you please give it a try before I merge it into master?
Sorry this took so long. Yes it looks good with python 2. Merge away! Thanks