New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not able to figure out why bqplot stops working, and how to make it work again quickly #46
Comments
@stonebig thanks for reporting. Can you please hit "Crtl+Shift+J" in your browser window if you are on Linux or Windows, and "Cmd+Alt+J" if you are on mac and tell me about the JavaScript console errors? My bet is that you would be missing the d3.js and topojson javascript dependencies. If you are running from source, please note that you need to run "bower install" in the bqplot top directory. |
|
That is it. I think that you are running from source. You need to run |
Does it mean I must have first |
Yes, node is required to run from source. We will actually soon drop |
ok. I can get a node.exe working, and a bqplot indirectly requires that you have vs201x installed (if you are on native Windows). (very sad, as mingwpy is now available as a wheel, and msys is neither an option, unless maybe you switch to a mingw-msys-made python nodejs/node-gyp#194 (comment)) |
@ssunkara1 has been using npm on windows. He might be able to look at it. |
maybe Windows cannot survive the nodejs shift of the Jupyter project |
Well, it works again with tonight new release, without nodejs. that's a bit strange to me. |
Let me know if it works with WinPython |
I placed a bqplot example in the winpython_checker.ipynb, seems ok on all versions I do prepare at the moment. |
Are you adding bqplot to winpython? |
Yes. |
🎂 🎉 🏆 🍹 ! |
Curious chain of actions:
|
so:
In any case, there should be a simple workaround (or procedure steps), as it seems I can unlock/repair without deleting/re-installing everything |
seems that |
maybe just a plt.clear() in the front page example https://github.com/bloomberg/bqplot ?
|
Hi @stonebig, The behavior with 1-2 curves and the
Regarding the issues that you have when updating the JavaScript side, one advice I can give you is to clean the cache of chrome. Chrome's cache is very annoying. To do so, you need to open the developer tools (Crtl + Shift + J), then right-click on the reload button and do "Clear cache and hard reload". |
by default I play in Firefox. trying to clear cash as 1rst rescue kit |
I'm still with this square-grey figure showing nothing... scratching my head |
@stonebig do you run the whole Pyplot example? There is a call to |
yes, in the mean time with your Ctrl+Shift+i then Ctrl+Shift+J , chrome showed the curve agained (but not firefox) ... and now going back to firefox it's ok. I'm lost in how to ink an auto-recover procedure there. Can't there be a way to poison the cache (for the bqplot graph) ? so that Chrome/firefox/edge would reload it clean ? could it be something else than the cache ? (if it was ony a browser cache matter, there should be no border-effect between Chrome and Firefox, shouldn't it ? if I unlock one by unlocking the other, the common factor may be on the server part, as they used the same localhost:8888 session) |
OK, there might be a firefox-specific issue here 😒 I will look into it. |
|
will the |
The two-step installation procedure is likely to remain until notebook 5.0 is released unless we find a temporary solution in the meantime. With 5.0, extensibility of the front-end is really being reworked and packaging of nbextensions is part it. Other IPython widget libraries like pythreejs have exactly the same problem as bqplot and the installation procedure is exactly the same. However, ipyywidgets 4.2 is probably going to bring changes. Especially with PR jupyter-widgets/ipywidgets#193 which should enable the use of IPython widgets (including bqplot) in other web applications than the notebook. |
@stonebig closing this one. There is another issue open for the firefox-specific problem |
hi,
After having removed bqplot, it seems it doesn't want to plot anymore, Ipython stalls and nothing happens.
I don't see any error message, kernerl doesn't want to interrupt itself (remains in non-empty circle mode). Have you a wild guess ? (using current trunk in this try)
The text was updated successfully, but these errors were encountered: