SourceRabbit / gcode-sender

Cross platform 3-Axis CNC Machines control software
https://www.sourcerabbit.com
GNU General Public License v3.0
77 stars 21 forks source link

None of the dropdowns have any options #3

Closed ipetepete closed 6 years ago

ipetepete commented 7 years ago

I don't have any options, and can't start the app. I've tried building from source, running as root and nothing...

I also created the directory /var/lock as described on the Readme.

OS: Mac Sierra Java: java version "1.8.0_25" Java(TM) SE Runtime Environment (build 1.8.0_25-b17)

nsiatras commented 7 years ago

Hello,

Do you have any arduino device connected to your computer?

On Sat, Sep 2, 2017 at 12:21 AM, Peter Peterson notifications@github.com wrote:

I don't have any options, and can't start the app. I've tried building from source, running as root and nothing...

I also created the directory /var/lock as described on the Readme.

OS: Mac Sierra Java: java version "1.8.0_25" Java(TM) SE Runtime Environment (build 1.8.0_25-b17)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nsiatras/sourcerabbit-gcode-sender/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AFvq7hrJZswQtwdNb3-pnF0zx3c-g3uxks5seHVHgaJpZM4PKpQZ .

ipetepete commented 7 years ago

Yes. The device is present (Arduino Uno clone)

port: /dev/cu.wchusbserial1420

I can send commands using grblController

nsiatras commented 7 years ago

On your first message you said you dont have any options and the app does not start. When you run the app does a "connect to device" window comes up ?

On Sat, Sep 2, 2017 at 6:19 PM, Peter Peterson notifications@github.com wrote:

Yes. The device is present (Arduino Uno clone)

port: /dev/cu.wchusbserial1420

I can send commands using grblController

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nsiatras/sourcerabbit-gcode-sender/issues/3#issuecomment-326750396, or mute the thread https://github.com/notifications/unsubscribe-auth/AFvq7m781mq_LJFQ3_Y4mACm5eORwqOmks5seXH3gaJpZM4PKpQZ .

ipetepete commented 7 years ago

Yes, I get the initial window with the three drop downs. They are all empty, and I can't get past that point.

nsiatras commented 7 years ago

Can you set a breakpoint in frmMain.InitUI and see if you get an exception there ?

ipetepete commented 7 years ago

Sorry for the late reply.

Looks like there isn't any exception, but String[] serialPorts = SerialPortList.getPortNames(); Is empty. So I changed that line to: String[] serialPorts = SerialPortList.getPortNames("/dev/", Pattern.compile("cu.*")); Which found my serial devices. If I have time I might write a condition which will get the port names list in this manner when run on a Mac.

nsiatras commented 7 years ago

I am not very sure that the problem is the getPortNames condition. I tested the software on Mac and I know several people that use in on Mac without any problems. Maybe you will find more info on JSSC github page as JSSC is responsible to identify the serial connections on the computer.

May I ask if you are using original MacOS or Hackintosh?

ipetepete commented 7 years ago

I'm on an Macbook Air 2012 running Sierra 10.12.6

smartynov commented 6 years ago

I experience the same issue. All dropdowns are empty. Same Sierra 10.12.6 on MacBook Pro 2017.

nsiatras commented 6 years ago

The bug is now fixed