I'm trying to use minim.js like is suggested on Pomax's
examples and tutorials. But, despite being successful on
Safari, I'm not getting good results from Chrome or Firefox.
As I'm developing a big project, I put together a small hacky
piece of code to ask for some help.
I developed a data visualization applet that is supposed to run on a browser. I exported the applet, I signed the jars, I created the JNLP file and the applet still won't start. Curiosly, the first time that I exported the applet, using a previous version of Processing, things, seemingly, went quite well. But then I noticed that the applet would only start in computers with OSX Tiger. Now, when I check the Java Console for errors I get this perfect log: Applet.init Applet.start I am using opengl, toxiclibs and gicentre utils as libraries. And here is the JNLP file that I wrote:
My name is Diogo Tudela and currently, I am developing a data visualization projecto for an ID center, so, I am not allowed to share any code regarding this project. I hope I'll be able to make it up to you in the near future.
The alpha version of the application is finished, and the last two weeks were spent in repetitive attempts to get the application to work in a web browser. The behaviour/errors that I have been getting are quite different in every case… and I am starting to loose it!
I tested the three libraries in simple sketches, and they all worked fine; except for the well documented problems regarding OpenGL. But actually, the previous version of the application, which also used OpenGL, was able to run in OSX Lion without getting the "Error: Init failed : Unsupported os / arch (Mac OS X / x86_64)" * notification… and the differences between the previous code and the latest one are related to improvements of interface and usability; nothing that could change the architecture of the program dramatically.
When I export the sketch using the latest version of Processing(1.5), the applet doesn't run anywhere; I just get that blank frozen stage and that's it. So, I'm using Processing(1.0.3) instead… and, in that case,
the applet is running in:
Windows XP (Firefox, Explorer);
Windows 7 (Firefox, Explorer);
OSX Tiger (Firefox, Safari);
OSX Leopard (Firefox);
But I get the same "Error: Init failed : Unsupported os / arch (Mac OS X / x86_64)" in Leopard's Safari,
and I am also having problems while trying to put the application on a web server…
At this point, I tried to upload my sketch to OpenProcessing, just to see how would it go; and nothing. The sketch doesn't run, just stares at me with his blank stage…
Here's what the Java console prints
So…
I've been developing a data visualization project
for the past few months, and now that the first version
is finished, I would like to have an smooth applet to
get the whole application on-line.
Before I proceed with my question, I must say that for legal
reasons I cannot reveal the code that is behind the application.
I know that this makes everything much harder too understand,
and maybe trying to solve, but I am quite tied up.
Hope, you all understand.
If you want to see some of my code, you can check it ou at
diogotudela[dot]com; but in what refers to this particular project,
I'm afraid I cannot help much.
With that being said, here we go…
I have a rather small experience in the Web field. She doesn´t like me,
I don´t like her… However, in this case, I really need to get the whole
programm to work on-line and I am getting different results in every browser,
and every OS.
In addition, the behaviour of the applet is not correct. The GICentre Utils Library
is giving me some problems with the zooming and panning functions.
In some browsers it doesn't work, and in others they have some flaws.
Here is the Java log error from Safari, Mac OSX
2011-08-12 19:34:36.138 SyndicationAgent[19046] WARNING: SQLite error 11: database disk image is malformed
2011-08-12 19:34:36.138 SyndicationAgent[19046] WARNING: SQLite error 11: database disk image is malformed
2011-08-12 19:34:36.138 SyndicationAgent[19046] WARNING: SQL query failed:COMMIT
2011-08-12 19:34:36.139 SyndicationAgent[19046] WARNING: ArticlesStore: Fatal database error: exiting!