InstantRst icon indicating copy to clipboard operation
InstantRst copied to clipboard

Blank screen on vim 8.2

Open Enrico68 opened this issue 4 years ago • 4 comments

Hello,

Whenever I start the server, I got blank screen instead of the preview. Here is a screenshot Vim 8.2 on OSX + Edge (tried Safari, Google Chrome, same issue)

Enrico68 avatar Sep 26 '21 12:09 Enrico68

Same on nvim 0.6.

tiagovla avatar Oct 15 '21 03:10 tiagovla

Same here. Any solutions encountered? I will look at the code but I do not reall think I can get something useful

mflova avatar Jan 13 '22 16:01 mflova

@Enrico68 @tiagovla Using the web server separately was useful to first get some diagnostics on the error using shell. Then I could get it working in vim by solving some incompatibility issues by going back to compatible versions (be careful with this as other apps might be using more recent versions):

pip install python-engineio==3.13.2
pip install python-socketio==4.6.1

Source: https://github.com/miguelgrinberg/python-socketio/issues/578

And in my case it was not working in firefox (the default one but maybe outdated in my case), so I had to switch to the one I used with let g:instant_rst_browser = 'google-chrome' in the init.vim

With this setup it is working in nvim 0.7-dev. Therefore, the issue was not with the repo, but rather with incompatible versions that are used by this one.

mflova avatar Jan 13 '22 17:01 mflova

@mflova Any idea what (part) needs updating for this to work with newer version of engineio and socketio? (for example 4.3.1 and 5.5.2)

kaddkaka avatar Mar 16 '22 22:03 kaddkaka