NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
July 01, 2016, 04:32:08 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Last chance is the best chance. ...Wisdom
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

Pages: [1]   Go Down
Author Topic: 2 Bugs: Spam Code on wiki and Image not found in Description page  (Read 3429 times)
0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
Offline Offline

Posts: 1

Embed this message
on: June 28, 2011, 09:22:38 pm »


I tried to report this bug on the wiki page. But it seems the page had a bug of itself: Despite entering the right CAPTCHA-Code I couldn't get past the anti-spam code.

However the real bug I tried to report was this: I added an Image to a description page in EJS. The image is displayed properly but when I try to package or run the simulation I get a few "file not found" error dialogue.

The image below shows the problem:-*-

Glad for any help or a quick bugfix! Thx in advance

* ejsbug.png (565.28 KB, 563x640 - viewed 269 times.)
Fu-Kwun Hwang
Hero Member
Offline Offline

Posts: 3074

Embed this message
Reply #1 on: June 30, 2011, 08:53:55 am »

You need to copy resource files (sound,image,....) under workspace (your working directory or sub-directory).

For example:
My ejs source code is always saved at ejsworkspace/source/users/ntnu/fkh/
I created a sub-directory ejsworkspace/source/users/ntnu/fkh/_data/
and all my resource files are under ejsworkspace/source/users/ntnu/fkh/_data/

EJS can find resource file for you if it is under workspace.
Your resource file was under desktop, EJS was not able to add it to the jar file.
(other users usually would not have the same file structure as your desktop, so it would not work! )
Pages: [1]   Go Up
Last chance is the best chance. ...Wisdom
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Shadow/Image and Color
Fu-Kwun Hwang 6 168422 Last post September 29, 2012, 12:49:16 pm
by tookkatababi
will the image remain there
anmolbuber 1 8440 Last post March 17, 2007, 09:07:53 pm
by vvelemir
using fiber optics for light path to an image to an area array image sensor
jackspar 0 5509 Last post February 17, 2009, 04:32:03 pm
by jackspar
how to model intensity and blurring of image in Ejs ?
Questions related to EJS
lookang 5 8345 Last post January 26, 2010, 02:58:10 pm
by lookang
Image formed by plane mirror
ahmedelshfie 4 6339 Last post October 02, 2010, 12:18:35 am
by ahmedelshfie
Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 6.29 seconds with 23 queries.since 2011/06/15