Issue with publishing to web
Issue with publishing to web
I have followed the steps outlined in the documentation, however when I publish to web I get an error stating that "Compilation to WASM appears to have failed". It produces some of the web files but not mdl.js or mdl.wasm.
Is anyone aware of what could be causing this? (I don't have admin rights for my computer so would need to be able to explain clearly what the fix needs to be to IT)
Is anyone aware of what could be causing this? (I don't have admin rights for my computer so would need to be able to explain clearly what the fix needs to be to IT)
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Issue with publishing to web
What versions of GIT, Python and Emscripten do you have installed?
And are you on MacOS or Windows?
And are you on MacOS or Windows?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: Issue with publishing to web
I am using windows and have the versions:
Git version 2.30.1
Python version 3.9.2
Git version 2.30.1
Python version 3.9.2
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Issue with publishing to web
What version of Emscripten?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: Issue with publishing to web
Emscripten version 2.0.15
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Issue with publishing to web
ok. If you edit
C:\Users\Public\Vensim\COMP\wasm\wasm_compile.bat
and make sure the last line is "pause". Run the compile to web again and the compile window should pause so that you can see the errors. Can you paste the output here?
C:\Users\Public\Vensim\COMP\wasm\wasm_compile.bat
and make sure the last line is "pause". Run the compile to web again and the compile window should pause so that you can see the errors. Can you paste the output here?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: Issue with publishing to web
Also, be sure you're running the latest Vensim - one of the 8.1.x versions was mismatched with an emscripten update as I recall.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Re: Issue with publishing to web
I have edited the file to have pause however it is still closing. The error says that it is unable to find mdl.js and mdl.wasm.
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Issue with publishing to web
Can you upload a screen shot of these errors please?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: Issue with publishing to web
Of course, here you go
- Attachments
-
- Vensim Error for Forum (4).png (115.67 KiB) Viewed 22079 times
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Issue with publishing to web
It looks like it's not getting to the line where is calls the emscripten compiler.
The batch file to compile has the following lines,
Which are executed (the "could not find" and "a subdirectory or file." show this).
Does the compile process just stop at this point?
The batch file to compile has the following lines,
Code: Select all
del web\mdl.js
del web\mdl.wasm
mkdir web
Does the compile process just stop at this point?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: Issue with publishing to web
Yes it just stops and throws "Compilation to WASM appears to have failed" error
Re: Issue with publishing to web
Any updated on this? I am facing the same issue
Windows 10
Python 3.9
Vensim 8.1.X
Windows 10
Python 3.9
Vensim 8.1.X
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Issue with publishing to web
Can you start a new thread please and provide some output so we can try and help?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559