-
-
Notifications
You must be signed in to change notification settings - Fork 21k
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
Custom Web Export "Unknown file open mode: wx+" error #45425
Comments
I get a feeling you've used an invalid File write mode which fails silently on some platforms and loudly on others (namely, HTML5).
You can also upload your entire project here. |
Another thing to note is that my program works fine with the default export templates. |
If it's a file write issue, I'm not sure how that would work since I don't actually write to a file in the program. I do use the Image.save_png() function but that is only called when it's not exported to HTML5. Instead, I download the image using this plugin. |
Emscripten broke compatibility removing those flags (breaking our preload script).
|
Not sure what you mean by remove flags. I changed the line to |
Not sure what errors your are getting, but that's how it's done upstream and it works: https://github.com/godotengine/godot/blob/master/platform/javascript/js/libs/library_godot_os.js#L206 |
Maybe I have other errors then. The compile process apparently finished at 51% for some reason and the errors in the dev console are stuff like
|
Yep, those seems unrelated project issues |
E.g. you might have disabled some modules or features custom build that you use in your project. |
I see. I went on the custom module website thing and just checked as many things as I could. I probably checked too many then. |
Godot version:
3.2.3 (I don't know what a commit hash is)
OS/device including version:
Windows 10
Issue description:
I followed this and this tutorial. I disabled a bunch of modules and then compiled Godot 3.2.3. It compiled, but when I put its path in for the debug export for HTML5, the web page gave me the error "Unknown file open mode: wx+".
I don't think the issue is with disabling modules or with my server since I did a compiled a version with nothing disabled and it still didn't work and I also uploaded my project to itch.io and it didn't work on their servers either.
Steps to reproduce:
Honestly, I have no clue how you would reproduce this error because I have no clue if it's my computer or something else.
Minimal reproduction project:
I'm not sure how I would even make a minimal reproduction project.
Edit: I don't think the project is the problem, it's my export template. I made a project with two control nodes and no scripts and it still gave me the same error with the custom templates.
The text was updated successfully, but these errors were encountered: