GcodeSender icon indicating copy to clipboard operation
GcodeSender copied to clipboard

'No serial ports found.' on Mac OSX10.10.5 Yosemite

Open hobbietime opened this issue 9 years ago • 9 comments

Just downloaded the latest version executed the .jar file... it loads perfectly except for 'No Serial Ports Found'

I know there are bugs in the serial library that prevents listing Arduino Clones.. I am using /dev/tty.wchusbserial1410

Is there a place to write te port address directly? rather than expect the ports to appear?

The ports are there... I use them all the time with Adruino IDE or CoolTerm... however they do not appear with this software? ( no other comm software is running)

any ideas would be greatly appreciated. Thanks in advance

hobbietime avatar May 06 '16 20:05 hobbietime

Are you able to build the source code or can you only run the releases?

On Fri, May 6, 2016 at 1:50 PM, hobbietime [email protected] wrote:

Just downloaded the latest version executed the .jar file... it loads perfectly except for 'No Serial Ports Found'

I know there are bugs in the serial library that prevents listing Arduino Clones.. I am using /dev/tty.wchusbserial1410

Is there a place to write te port address directly? rather than expect the ports to appear?

The ports are there... I use them all the time with Adruino IDE or CoolTerm... however they do not appear with this software? ( no other comm software is running)

any ideas would be greatly appreciated. Thanks in advance

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/MarginallyClever/GcodeSender/issues/8

Dan Royer, Owner, Marginally Clever Robots https://www.marginallyclever.com/ Ph: +1 (604) 259-9564 Mo: +1 (604) 916-2281

i-make-robots avatar May 06 '16 21:05 i-make-robots

just ran the releases... let me try to build from source code....

hobbietime avatar May 07 '16 03:05 hobbietime

First of all, thank you for your replies, and pardon me... I am novice in Java.

I have tried to compile the *.java source files under the java/src/com/marginallyclever/gcodesender directory without any success. Obviously I am doing something wrong.

Do I need an application like Eclipse? or NetBeans? where is the main file or directory to compile? Ho do I include all the library files? Is there a make file?

I just get a bunch or errors.... like the following

"> javac GcodeSender.java GcodeSender.java:38: error: package com.marginallyclever.gcodesender.Generators does not exist import com.marginallyclever.gcodesender.Generators.GcodeGenerator; ^ GcodeSender.java:39: error: package com.marginallyclever.gcodesender.Generators does not exist import com.marginallyclever.gcodesender.Generators.HilbertCurveGenerator; ^ GcodeSender.java:40: error: package com.marginallyclever.gcodesender.Generators does not exist import com.marginallyclever.gcodesender.Generators.YourMessageHereGenerator; ^ GcodeSender.java:52: error: cannot find symbol implements ActionListener, KeyListener, SerialConnectionReadyListener ...... "

The only thing I can see when I execute the release is the following picture 01

thanks again for your help

hobbietime avatar May 08 '16 19:05 hobbietime

Did you install the maven plugin and then update maven project?

https://github.com/marginallyclever/makelangelo/wiki#eclipse

On Sun, May 8, 2016 at 12:20 PM, hobbietime [email protected] wrote:

First of all, thank you for your replies, and pardon me... I am novice in Java.

I have tried to compile the *.java source files under the java/src/com/marginallyclever/gcodesender directory without any success. Obviously I am doing something wrong.

Do I need an application like Eclipse? or NetBeans? where is the main file or directory to compile? Ho do I include all the library files? Is there a make file?

I just get a bunch or errors.... like the following

"> javac GcodeSender.java GcodeSender.java:38: error: package com.marginallyclever.gcodesender.Generators does not exist import com.marginallyclever.gcodesender.Generators.GcodeGenerator; ^ GcodeSender.java:39: error: package com.marginallyclever.gcodesender.Generators does not exist import com.marginallyclever.gcodesender.Generators.HilbertCurveGenerator; ^ GcodeSender.java:40: error: package com.marginallyclever.gcodesender.Generators does not exist import com.marginallyclever.gcodesender.Generators.YourMessageHereGenerator; ^ GcodeSender.java:52: error: cannot find symbol implements ActionListener, KeyListener, SerialConnectionReadyListener ...... "

The only thing I can see when I execute the release is the following picture [image: 01] https://cloud.githubusercontent.com/assets/19230417/15099869/27bccff6-1517-11e6-9ec3-616560bd0e77.jpg

thanks again for your help

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/MarginallyClever/GcodeSender/issues/8#issuecomment-217740671

Dan Royer, Owner, Marginally Clever Robots https://www.marginallyclever.com/ Ph: +1 (604) 259-9564 Mo: +1 (604) 916-2281

i-make-robots avatar May 08 '16 21:05 i-make-robots

There is a bug/missing feature in the old jssc-2.8.0 library. It does not scan for newer serial chipsets with its portname regex. SerialPortList.java

I fixed this quickly by replacing the SerialPortList.java with my own using following regex and changing the import in SerialTransport.java accordingly. PORTNAMES_REGEXP = Pattern.compile("(cu|tty).(wchusbserial|serial|usbserial|usbmodem).*");

r00tr4v3n avatar Nov 19 '16 16:11 r00tr4v3n

What's latest version of jssc? if you update the pom.xml with the latest, does the bug fix itself?

i-make-robots avatar Nov 19 '16 17:11 i-make-robots

No, there is no newer version. You'd have to use my approach or make a fork, scream3r seems inactive for a while. The Arduino IDE has patched this as well: link

r00tr4v3n avatar Nov 19 '16 17:11 r00tr4v3n

Huh. I can still find ports just fine in Makelangelo software. Any idea what is different?

On Sat, Nov 19, 2016 at 9:56 AM, r00tr4v3n [email protected] wrote:

No, there is no newer version. You'd have to use my approach or make a fork, scream3r seems inactive for a while. The Arduino IDE has patched this as well: link https://github.com/arduino/Arduino/blob/435fc323e0ab3b03bc5835e5309b5022bf57388a/arduino-core/src/processing/app/SerialPortList.java#L60

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MarginallyClever/GcodeSender/issues/8#issuecomment-261728893, or mute the thread https://github.com/notifications/unsubscribe-auth/ABZYhmqRLIHIs4FZbY8Jnm0SiaxgEgmdks5q_zhGgaJpZM4IZND3 .

Dan Royer, Owner, Marginally Clever Robots https://www.marginallyclever.com/ Ph: +1 (604) 259-9564 Mo: +1 (604) 916-2281

i-make-robots avatar Nov 19 '16 18:11 i-make-robots

It’s these new serial chips with new names. They don’t get detected by the old regex.

On 19 Nov 2016, at 19:50, Dan Royer [email protected] wrote:

Huh. I can still find ports just fine in Makelangelo software. Any idea what is different?

On Sat, Nov 19, 2016 at 9:56 AM, r00tr4v3n [email protected] wrote:

No, there is no newer version. You'd have to use my approach or make a fork, scream3r seems inactive for a while. The Arduino IDE has patched this as well: link https://github.com/arduino/Arduino/blob/435fc323e0ab3b03bc5835e5309b5022bf57388a/arduino-core/src/processing/app/SerialPortList.java#L60

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MarginallyClever/GcodeSender/issues/8#issuecomment-261728893, or mute the thread https://github.com/notifications/unsubscribe-auth/ABZYhmqRLIHIs4FZbY8Jnm0SiaxgEgmdks5q_zhGgaJpZM4IZND3 .

Dan Royer, Owner, Marginally Clever Robots https://www.marginallyclever.com/ Ph: +1 (604) 259-9564 Mo: +1 (604) 916-2281 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

r00tr4v3n avatar Nov 19 '16 18:11 r00tr4v3n