Same issue occurs on OS X 10.5.8, using 10.4 Build. The stack trace is a bit different:
java.io.FileNotFoundException: /Users/jowillia/temp (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at java.io.FileWriter.<init>(FileWriter.java:46)
at edu.mit.csail.uid.SikuliPane.saveAsFile(SikuliPane.java:126)
at edu.mit.csail.uid.SikuliPane.saveFile(SikuliPane.java:100)
at edu.mit.csail.uid.SikuliIDE$FileAction.doSave(SikuliIDE.java:417)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at edu.mit.csail.uid.SikuliIDE$MenuAction.actionPerformed(SikuliIDE.java:350)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:22save to /Users/jowillia/temp/
02)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95)
at java.awt.MenuItem.processActionEvent(MenuItem.java:597)
at java.awt.MenuItem.processEvent(MenuItem.java:556)
at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:298)
at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:286)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:466)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
But there is a work around. If you end the file in .sikuli, the the file is created and the script and images are stored. This of course only tested on OS X.
Same issue occurs on OS X 10.5.8, using 10.4 Build. The stack trace is a bit different:
java.io. FileNotFoundExc eption: /Users/ jowillia/ temp (No such file or directory) FileOutputStrea m.open( Native Method) FileOutputStrea m.<init> (FileOutputStre am.java: 179) FileOutputStrea m.<init> (FileOutputStre am.java: 70) FileWriter. <init>( FileWriter. java:46) csail.uid. SikuliPane. saveAsFile( SikuliPane. java:126) csail.uid. SikuliPane. saveFile( SikuliPane. java:100) csail.uid. SikuliIDE$ FileAction. doSave( SikuliIDE. java:417) NativeMethodAcc essorImpl. invoke0( Native Method) NativeMethodAcc essorImpl. invoke( NativeMethodAcc essorImpl. java:39) DelegatingMetho dAccessorImpl. invoke( DelegatingMetho dAccessorImpl. java:25) reflect. Method. invoke( Method. java:592) csail.uid. SikuliIDE$ MenuAction. actionPerformed (SikuliIDE. java:350) AbstractButton. fireActionPerfo rmed(AbstractBu tton.java: 1882) AbstractButton$ Handler. actionPerformed (AbstractButton .java:22save to /Users/ jowillia/ temp/ DefaultButtonMo del.fireActionP erformed( DefaultButtonMo del.java: 420) DefaultButtonMo del.setPressed( DefaultButtonMo del.java: 258) AbstractButton. doClick( AbstractButton. java:334) ScreenMenuItem. actionPerformed (ScreenMenuItem .java:95) MenuItem. processActionEv ent(MenuItem. java:597) MenuItem. processEvent( MenuItem. java:556) MenuComponent. dispatchEventIm pl(MenuComponen t.java: 298) MenuComponent. dispatchEvent( MenuComponent. java:286) EventQueue. dispatchEvent( EventQueue. java:466) EventDispatchTh read.pumpOneEve ntForHierarchy( EventDispatchTh read.java: 269) EventDispatchTh read.pumpEvents ForHierarchy( EventDispatchTh read.java: 190) EventDispatchTh read.pumpEvents (EventDispatchT hread.java: 184) EventDispatchTh read.pumpEvents (EventDispatchT hread.java: 176) EventDispatchTh read.run( EventDispatchTh read.java: 110)
at java.io.
at java.io.
at java.io.
at java.io.
at edu.mit.
at edu.mit.
at edu.mit.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at edu.mit.
at javax.swing.
at javax.swing.
02)
at javax.swing.
at javax.swing.
at javax.swing.
at apple.laf.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
But there is a work around. If you end the file in .sikuli, the the file is created and the script and images are stored. This of course only tested on OS X.