Skip to content
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

After local building and npm start, nothing is rendered, facing EXCEPTION: 1016816 #60

Closed
CharlesCai7 opened this issue Dec 11, 2024 · 7 comments

Comments

@CharlesCai7
Copy link

image
@ochafik
Copy link
Collaborator

ochafik commented Dec 16, 2024

Hi @CharlesCai7 ,

Thanks for the report!
Could you copy the content of the JS console and report on the browser you're using & commands you've used?

@ochafik
Copy link
Collaborator

ochafik commented Dec 16, 2024

I was able to reproduce the issue, which should now be mitigated if you pull the change I've just pushed.

It seems the wasm builds of the past 6 weeks don't work in the playground.

@ochafik
Copy link
Collaborator

ochafik commented Dec 16, 2024

I was hoping that openscad/openscad#5235 would explain the issue (now need to pass --backend=manifold instead of --enable=manifold but this also explodes in the syntax check run, and passing the flag doesn't fix anything. Will need to dig more / do a debug build maybe (shivers).

@kintel
Copy link
Member

kintel commented Dec 16, 2024

Perhaps we need to set up WASM tests to guard against issues like this

@ochafik
Copy link
Collaborator

ochafik commented Dec 19, 2024

@kintel exploring some light testing in openscad/openscad#5210 (which also contains a couple of fixes: turns out the breakage was caused by filesystem functions and a stackLimit syscall that exploded on the web )

@kintel
Copy link
Member

kintel commented Dec 19, 2024

@kintel exploring some light testing in openscad/openscad#5210

Sounds great - let's keep discussing in that PR

@ochafik
Copy link
Collaborator

ochafik commented Dec 23, 2024

The build now fetches a prebuilt binary (https://files.openscad.org/snapshots/ haven't caught up with the necessary fixes), and it's also possible to build your own with make wasm before make public; npm start (see #67 )

Thanks again for the bug report!

@ochafik ochafik closed this as completed Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants