-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Crashes on Pandas with Macbook M1 #57
Comments
Hey vermaat, Does Safari crash as well? What is the error on safari? What happens if you add I do think you're right about it probably being a pyodide issue. |
When adding a single 'df' it also crashes in Chrome (gray square over the div of the notebook). The notebook only loads in Safari in Private mode (I see otherwise only the refresh icon button and the View Source button), but is probably also due to cache/ extensions. So the same cell runs in Safari private mode but the table output is messed up when ending the cell with 'df'. When using 'print(df)' it prints correctly to the console. In Firefox it works all normal, including the layout of the table when ending the cell with 'df'. All browsers give the following warning, but I guess that might be normal?
Chrome: Version 90.0.4430.212 (Official Build) (arm64) |
Yes, that warning is normal for the current build of pyodide. |
We now register a service worker to add headers that enable us to use Atomics and SharedArrayBuffer, both are not enabled in the current Safari version regardless of these headers being present, so the service worker would always get registered. Perhaps it's problematic in Safari. I can give Safari a run-through later today or tomorrow. As for the error 13 - no clue, let's try to figure out if it's a Pyodide problem. A new pyodide version 0.18.0 just got released - maybe that's worth trying. |
I got myself some Apple Silicon too now. I tried Safari too, and perhaps unsurprisingly it doesn't work :(. Safari really disappoints me with their web compatibility. It looks like we'll have to hack a special exclusion for Safari in starboard-wrap:
Finally the ServiceWorker is beyond problematic :(, it shouldn't even be required because of how Starboard.gg hosts its notebooks. Apple's devices are nice, but I wish their browser would just disappear. |
This might be a Pyodide issue, but it seems that Starboard works incorrectly on my new Macbook Pro M1 (Apple ARM sillcon).
In Chrome I get an Error 11 (Crash).
It happens for the normal Python pandas matplotlib demo.
I asked a friend on a non-M1 and it worked all fine (except giving warnings).
Notebook:
https://starboard.gg/#python
It runs until:
# x = df.loc[:, ['mpg']]
Then the object turns gray and crashes the Chrome tab.
Tested with Safari, Chrome, and version 12.3
The text was updated successfully, but these errors were encountered: