NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
November 27, 2015, 01:01:32 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  
Wisdom is to bring the best out of our students. ...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 3229 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 » posted from:Innsbruck,Tirol,Austria


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 217 times.)
Fu-Kwun Hwang
Hero Member
Offline Offline

Posts: 3068

Embed this message
Reply #1 on: June 30, 2011, 08:53:55 am » posted from:Taipei,T'ai-pei,Taiwan

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
Wisdom is to bring the best out of our students. ...Wisdom
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Shadow/Image and Color
Fu-Kwun Hwang 6 165339 Last post September 29, 2012, 12:49:16 pm
by tookkatababi
will the image remain there
anmolbuber 1 8270 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 5356 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 8023 Last post January 26, 2010, 02:58:10 pm
by lookang
Image formed by plane mirror
ahmedelshfie 4 5902 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 0.046 seconds with 23 queries.since 2011/06/15