Go Down

Topic: arduino 003 macosx serial monitor (Read 924 times) previous topic - next topic

erich

hi,
any idea ?
pushing the serial monitor button on osx 10.3x results on my machine in a:

Error inside Serial.<init>()
gnu.io.PortInUseException: Unknown Application
        at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:354)
        at processing.app.Serial.<init>(Serial.java:127)
        at processing.app.Serial.<init>(Serial.java:63)
        at processing.app.Editor.handleSerial(Editor.java:1300)
        at
processing.app.EditorButtons.mouseReleased(EditorButtons.java:344)
        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(EventDispatchThread.ja
va: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)

admin

hello erich

That error usually happens when another application is using the serial port (i.e. ZTerm open or Processing is still connected etc etc)

make sure you have run the macosx_setup.command script.
shut down an restart machine after running the script

hope this helps
massimo

erich

of course - i did run the script - but i did not reboot !
now it works, merci !

erich

Go Up