NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
August 27, 2014, 08:04:54 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
The most important medicine is tender love and care. ..."Mother Teresa(1910-1997, Roman Catholic Missionary, 1979 Nobel Peace Prize)"
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

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

Posts: 1

«
Embed this message
on: June 28, 2011, 09:22:38 pm » posted from:Innsbruck,Tirol,Austria

Hi,

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
Christoph


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

Posts: 3053



WWW
«
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! )
Logged
Pages: [1]   Go Up
  Print  
The most important medicine is tender love and care. ..."Mother Teresa(1910-1997, Roman Catholic Missionary, 1979 Nobel Peace Prize)"
 
Jump to:  


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