APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

bug in webEJS when exporting? post and replies

Return to the bug in webEJS when exporting? thread
Login to post to this thread

bug in webEJS when exporting? found a different bug.
lookang Avatar
lookang
245 Posts

Dear Paco,

Error creating ZIP simulation file!

Server message : [Errno 2] No such file or directory: '/code/workspace/static/sessions/lookang/output/./lookangtemplateSLS/Screenshot 2019-04-05 at 2.02.01 PM.png'

the file is here
https://iwant2study.org/ospsg/index.php/translations/1196-lookangtemplatesls

is it because the folder is not added as

perhaps to solve, make webEJS not strict in locating the files like images.

for your consideration please.


OSP@SG blog
OSP@SG Digital Library

Replies to bug in webEJS when exporting? found a different bug.

Re: bug in webEJS when exporting? found a different bug. -
Wolfgang
192 Posts

The template file on the Singapore site works perfectly in Web EJS.  Download the src zip archive to your local computer and then load the model into Web EJS.

https://macmath.inf.um.es/

Attached File: ejss_src_lookangtemplateSLS.zip



Re: bug in webEJS when exporting? found a different bug. -
Wolfgang
192 Posts

An ejss_model_XXXX.zip archive can include the EJS source code and Web EJS will open and read that source code correctly if the model's zip archive is loaded from a local directory into Web EJS.

Web EJS will not load the source code if you append the models's archive location to the Web EJS URL as we have done in ComPADRE.  We may add that feature to Web EJS, but currently, Web EJS will only load source code using the URL parameter option if the source code is packaged in an ejss_src_XXXX.zip archive.



OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book