-
-
Notifications
You must be signed in to change notification settings - Fork 784
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
numpy not working in iframe context #54
Comments
Is this on Chrome? If so, I think it's an instance of #28, and should be resolved by emscripten-core/emscripten#6663. If not Chrome, this is a new one for Firefox and must be |
Another data point: @hamilton sent me this simple notebook that does nothing but load another notebook in an iframe, and it does seem to work in that context: |
ah! yes, tremendous -- i forgot we still had that chrome bug. Works in the iframe on FF. woot! |
@mdboom -- this is probably a no-op for now; i will supply additional details when the iframe branch is a bit further along
but for reference (and also for @hamilton) in the
iframe-2
branch, when i loadhttp://localhost:8888/dev/iodide.editor.dev.html?url=https://iodide.io/pyodide-demo/data-club-demo-2018-05-29.html
and execute cell-by-cell, all the base python demo stuff works as expected, and when i run
pyodide.loadPackage('numpy')
i ge the expected "loaded numpy" message; but when i try to run the numpy sine wave cell, i get:no need to worry about this just yet, when i have a sharable link to that branch i'll update this thread (of course, you're always welcome to check out
iframe-2
and poke around if you're curious, but it's still in rough shape for now)The text was updated successfully, but these errors were encountered: