voila-embed icon indicating copy to clipboard operation
voila-embed copied to clipboard

Does the project be relation to voila version?

Open chenxiang567 opened this issue 3 years ago • 6 comments

Excuse me: I tried to start the project according to the file 'readme.md', but failed. It always like this picture image what caused it ?voila version?

chenxiang567 avatar Apr 20 '21 10:04 chenxiang567

Can you check for any errors displayed in your browser developer console, and if any, post them here?

havok2063 avatar Apr 22 '21 16:04 havok2063

I'm using voila==0.2.7. I've had issues with voila==0.2.8. By voila-embed might be installing the latest voila. Maybe try downgrading your voila version to 0.2.7?

havok2063 avatar Apr 22 '21 16:04 havok2063

@image I installed voila==0.2.7 too,the detail of bugs show above,but the serve of voila has already started in http://localhost:8000

I'm using voila==0.2.7. I've had issues with voila==0.2.8. By voila-embed might be installing the latest voila. Maybe try downgrading your voila version to 0.2.7?

chenxiang567 avatar Apr 23 '21 02:04 chenxiang567

Did you set up the command exactly in the readme conda create -n ve -c conda-forge -y python voila ipyvuetify=1.0.4 bqplot=0.11 nodejs? If so, the ipyvuetify and bqplot packages might be out of date. Try updating to more recent versions, e.g. ipyvuetify==1.6.1 and bqplot==0.12.21.

havok2063 avatar Apr 23 '21 13:04 havok2063

image @havok2063 I have tried to update ipyvuetify and bqplot ,but the same bug appeared. I tried to print the result read from voila, the first sentence was "",the bug shows "Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0" , Might it be the reason?

chenxiang567 avatar Apr 25 '21 02:04 chenxiang567

If you're on MacOS, Voila runs into "Too many open files" errors. You can prevent this by running ulimit -n 10000 in the same terminal you start Voila in. This is the only way I could reproduce the error after pinning Voila on 0.2.7 as @havok2063 noted.

mariobuikhuizen avatar Apr 26 '21 09:04 mariobuikhuizen