FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Software Bugs
(Moderator: fry)
   export for web & data-subfolder
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: export for web & data-subfolder  (Read 354 times)
fjen

WWW
export for web & data-subfolder
« on: Nov 17th, 2004, 9:51pm »

doing a "export for web" and having a subfolder inside a sketch's data folder causes an exception. export for web is not finished in this case.
 
catched on os-x 10.3.6  |  java version "1.4.2_05"  | processing 68-72
 
Code:
java.io.FileNotFoundException: /Users/fjenett/Documents/Processing/sketch_041117a/data/subfolder (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:106)
      at PdeBase.grabFile(PdeBase.java:376)
      at PdeSketch.exportApplet(PdeSketch.java:1598)
      at PdeEditor.handleExport(PdeEditor.java:1445)
      at PdeEditorButtons.mouseReleased(PdeEditorButtons.java:363)
      at java.awt.Component.processMouseEvent(Component.java:5166)
      at java.awt.Component.processEvent(Component.java:4963)
      at java.awt.Container.processEvent(Container.java:1613)
      at java.awt.Component.dispatchEventImpl(Component.java:3681)
      at java.awt.Container.dispatchEventImpl(Container.java:1671)
      at java.awt.Component.dispatchEvent(Component.java:3543)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3527)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3242)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3172)
      at java.awt.Container.dispatchEventImpl(Container.java:1657)
      at java.awt.Window.dispatchEventImpl(Window.java:1606)
      at java.awt.Component.dispatchEvent(Component.java:3543)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea d.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)

 
fix: put subfolders inside the sketch's code-folder.
 
/F
« Last Edit: Nov 17th, 2004, 9:51pm by fjen »  
Pages: 1 

« Previous topic | Next topic »