-
Notifications
You must be signed in to change notification settings - Fork 6
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
"Solver loading..." endless #1
Comments
Strange, does the public link work in your browser? Eg https://dangarfield.github.io/sokoban-solver/ My gut instinct is that your apache server is not configured to respond with the correct mime format for wasm. There is no config in this code relating to the hosting, and github.io as well as https://www.npmjs.com/package/serve works well. Apache does tend to be a bit more difficult to configure in general. Give me a few days and I'll have a look with apache, but try with a little more 'modern' static web server for the time being |
Paste your browser console log too please |
Your demo server is accessible for me. I tried to configure the level, where I am stuck, but the "Solve" on your demo website does not end. Maybe the calculation is too complex? Your pre-configured examples work. I did add the line "AddType application/wasm .wasm" to the apache config. That didn't help (yet). (I am not a developer ;-) ;-) ;-)) Console Errors: The console log in ugly text format is attached. |
Thanks, I'll look in a few days |
Apologies for the delay.
|
Thank you very much, I just updated the sources and are running the program. Where can I see the iterations? |
I added some debugging my the development version, it isn't available in the public one. I'll add this at some point in the next week or so. I might re-engineer the whole lot |
Hi Dan,
I just found your code. When I upload it to my Apache web server, the browser shows a loading status for the 'Solve' button as 'Solver loading'. On your demo website, however, it just shows 'Solve'. Locally on my computer, I experience the same behavior, also with Apache. I suspect there might be something else I need to configure. Is it ensured that the website automatically detects Python or via the loaded scripts, or do I need to set something up?
I'm just curious to get it up and running.
Merry Christmas, Tino. 😊
The text was updated successfully, but these errors were encountered: