|
Author |
Topic: image nonexistant (Read 295 times) |
|
benelek
|
image nonexistant
« on: Feb 21st, 2003, 12:46pm » |
|
i don't know if anyone's pointed this out yet... it seems like the kind of thing that would be picked out in the first week. try compiling a sketch that is told to open an image that doesn't exist. p5 will freeze. -jacob
|
|
|
|
benelek
|
Re: image nonexistant
« Reply #2 on: Feb 21st, 2003, 2:41pm » |
|
also, is it just me or does the export to web function ignore the exporting (copying from the data folder) of images?
|
|
|
|
fry
|
Re: image nonexistant
« Reply #3 on: Feb 22nd, 2003, 4:08pm » |
|
it shouldn't.. if it's ignoring those files then that would be a bug. however, it doesn't copy the 'data' folder directly, it slurps up its contents and puts it all in the .jar file that's built. you can try opening the .jar file with a zip program (it's just a zip file) to see if it all worked.
|
|
|
|
benelek
|
Re: image nonexistant
« Reply #4 on: Feb 23rd, 2003, 12:51am » |
|
hm.. the image is indeed in the exported JAR file, but unless i place the uncompressed image in the applet folder, the applet still won't run. on my home computer, without the uncompressed img, the applet places a little red "x" in the top left corner of the applet, and once uploaded to my web site, it calls "Exception:java.lang.NullPointerException". once i place the image back into the applet folder, it works fine. in any case... most people probably experience a slight pause when loading a java applet. would this be caused by either the server or your computer having to uncompress the class files? -jacob
|
|
|
|
fry
|
Re: image nonexistant
« Reply #5 on: Feb 24th, 2003, 6:24am » |
|
i think these problems are related.. it's trying to find the image and then can't recover after its initial failure. the little hiccup would normally be a pause while the image is slurped down. at any rate, i've hopefully just completed the fix, which means it'll be in 52.
|
|
|
|
fry
|
Re: image nonexistant
« Reply #6 on: Mar 5th, 2003, 10:31pm » |
|
fixed in 0052, which will be available within the next few hours from the download location. let us know if it's still broken.
|
|
|
|
|