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.

image2D input file produced an error post and replies

Return to the image2D input file produced an error thread
Login to post to this thread

help with image2d
Avi Golan
1 Posts

A simulation of a water rocket was written and works fine. However every time I open the simulation I get "input file produced an error" even though the images are at the root. After giving the simulation the same name and reassigning the image (same location) the simulation will run fine until the next time I open it ?
All help will be much appreciated
Avi


Replies to help with image2d

Re: help with image2d -
lookang Avatar
lookang
222 Posts

It is difficult to help when the source files are not available for inspection and debugging.

I have not encountered such errors.

I do have a copy of a rocket simulation here for your reference.
Enjoy.!

http://iwant2study.org/ospsg/index.php/interactive-resources/physics/02-newtonian-mechanics/02-dynamics/340-rockettemplatelookang04


OSP@SG blog
OSP@SG Digital Library


Re: help with image2d -
Francisco Esquembre
228 Posts

Avi,

Make sure the images are in the same directory of the .ejs file or in a subdirectory under it.

Paco



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