FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 714 : Applet export fails with OpenGL and a code folder
Last modified: 2008-05-29 15:09
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
DUPLICATE of bug
701
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
jsg
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2008-01-21 20:05
The following code will fail to export to an applet when a 'code' folder exists in the sketch
folder.
import processing.opengl.*;
void setup()
{
size(100,100,OPENGL);
}
void draw()
{
background(255);
}
The error is:
java.io.FileNotFoundException: /Applications/2005 World Book Reference Suite/World
Book.app/Contents/Frameworks/SMKAppKit.framework/SMKAppKit.framework (No such file
or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at processing.app.Base.grabFile(Base.java:2029)
at processing.app.Sketch.packClassPathIntoZipFileRecursive(Sketch.java:2695)
at processing.app.Sketch.packClassPathIntoZipFileRecursive(Sketch.java:2685)
at processing.app.Sketch.packClassPathIntoZipFileRecursive(Sketch.java:2685)
at processing.app.Sketch.packClassPathIntoZipFileRecursive(Sketch.java:2685)
at processing.app.Sketch.packClassPathIntoZipFileRecursive(Sketch.java:2685)
at processing.app.Sketch.packClassPathIntoZipFileRecursive(Sketch.java:2685)
at processing.app.Sketch.packClassPathIntoZipFileRecursive(Sketch.java:2685)
at processing.app.Sketch.packClassPathIntoZipFile(Sketch.java:2659)
at processing.app.Sketch.exportApplet(Sketch.java:1870)
at processing.app.Editor$40.run(Editor.java:1559)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Using rev 0135 on an iMac G5, OSX 10.5.1. Strangely, either deleting the code folder or
removing the GL stuff makes the applet export work again. Example:
//import processing.opengl.*;
void setup()
{
size(100,100);
//size(100,100,OPENGL);
}
void draw()
{
background(255);
}
Also, it seems to be specific to the 'code' folder. Any other folder causes no problem
(including 'data').
Additional Comment
#1 From fry 2008-01-29 19:19
Odd, I think this is actually the same issue as
Bug #541
, and it's just
halting the ever-growing sketch folder because it can't find a file on your
machine. Will look into it.
Additional Comment
#2 From fry 2008-05-29 15:09
*** This bug has been marked as a duplicate of
701
***