-
Notifications
You must be signed in to change notification settings - Fork 39
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
WASM version in makefile 404s #2
Comments
I've updated the path to a file that is not auto-cleaned. Also I needed to force It looks like the |
Thanks! I'll poke around with this! |
Make issue seems to be resolved. Seems like the |
Hmm, good question. I'm not sure about the original intention. @ochafik what do you think? |
Sorry I've been.. absent :-D I've just removed (in #26) the public/openscad.{js,wasm} which were gitignored but erroneously checked in. |
Hmm, the snapshot folder is cleaned up automatically, so I guess we need to find some way of tagging the referenced version. |
@t-paul The easiest way to get the last version would be this Python snippet:
I think it's time to setup some github workflow (will try and take a stab at it in a few days), which could ultimately auto deploy the playground to https://github.com/openscad/openscad.github.com |
I started creating some base images on https://ci.openscad.org/ but that's currently a bit stuck. So a github action would be also a nice option. Hmm, good point, using always the latest version would work too. As that page is populated from But as the file is generated by a python script anyway, that could just symlink the latest version to a stable name. |
@t-paul Pretty slick! What's running this?
Yay, thanks! And actually my code above wasn't working, since the link is populated dynamically it needs selenium as follows: # pip install selenium
# brew install chromedriver
# # brew install --cask google-chrome
from selenium import webdriver
from selenium.webdriver.common.by import By
driver = webdriver.Chrome()
try:
driver.get("https://openscad.org/downloads.html")
print(driver.find_element(By.ID, "WASM_SNAPSHOT_URL").get_attribute("href"))
finally:
driver.quit() |
Wow, they really don't advertise the program name 😀. It's a https://concourse-ci.org/ instance running on our file server (pipelines in https://github.com/openscad/openscad-ci). |
When attempting to run
make public
the following error message is produced:I think make attempts to get
https://files.openscad.org/snapshots/OpenSCAD-2023.03.22.wasm14181-WebAssembly.zip
which is no longer available inhttps://files.openscad.org/snapshots/
.I was able to alter the make file to a newer similar file and get it to complete, but the web app doesn't function properly, so once I run down that they are not related, I'm glad to contribute a fix.
The text was updated successfully, but these errors were encountered: