Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More connection Issues ... #2455

Closed
spock64 opened this issue Feb 6, 2024 · 2 comments
Closed

More connection Issues ... #2455

spock64 opened this issue Feb 6, 2024 · 2 comments

Comments

@spock64
Copy link

spock64 commented Feb 6, 2024

Version

2.1.5

Hardware / Firmware

GRBL 1.1

What happened

Trying to use UGS on a MacBook Pro / Ventura 12.7.3 with a CNC that works with cncjs ...

On connecting, I see a modal dialogue box stating: "There was a problem setting one or more controller features"

Here's a screenshot:

image

There are no messages in the console window.

The message log shows something interesting - an exception is thrown after the fourth connection attempt:

INFO [com.willwinder.universalgcodesender.model.GUIBackend]: Connecting to GRBL on port tty.usbserial-1450
INFO [com.willwinder.universalgcodesender.model.GUIBackend]: Applying settings.
INFO [com.willwinder.universalgcodesender.utils.KeepAwakeUtils]: Moving the mouse location slightly to keep the computer awake.
INFO [com.willwinder.ugs.nbp.core.actions.ConnectDisconnectAction]: openclose button, connection open: false
INFO [com.willwinder.universalgcodesender.model.GUIBackend]: Connecting to GRBL on port tty.usbserial-1450
INFO [com.willwinder.universalgcodesender.model.GUIBackend]: Applying settings.
INFO [com.willwinder.universalgcodesender.utils.KeepAwakeUtils]: Moving the mouse location slightly to keep the computer awake.
INFO [com.willwinder.ugs.nbp.core.actions.ConnectDisconnectAction]: openclose button, connection open: false
INFO [com.willwinder.universalgcodesender.model.GUIBackend]: Connecting to GRBL on port tty.usbserial-1450
INFO [com.willwinder.universalgcodesender.model.GUIBackend]: Applying settings.
INFO [com.willwinder.ugs.nbp.core.actions.ConnectDisconnectAction]: openclose button, connection open: false
INFO [com.willwinder.universalgcodesender.model.GUIBackend]: Connecting to GRBL on port tty.usbserial-1450
INFO [com.willwinder.universalgcodesender.model.GUIBackend]: Applying settings.
com.willwinder.universalgcodesender.firmware.FirmwareSettingsException: Couldn't find setting with key: $22
	at com.willwinder.universalgcodesender.firmware.grbl.GrblFirmwareSettings.lambda$getValueAsBoolean$6(GrblFirmwareSettings.java:467)
	at java.base/java.util.Optional.orElseThrow(Unknown Source)
	at com.willwinder.universalgcodesender.firmware.grbl.GrblFirmwareSettings.getValueAsBoolean(GrblFirmwareSettings.java:467)

Any ideas as to how to fix?

How to reproduce

This happens each time a connection is made after loading UGS.

Operating System

MACOS Ventura 12.7.3

Anything else

No response

@breiler
Copy link
Collaborator

breiler commented Feb 7, 2024

I suspect that you have turned off status reporting which is causing this error message. I will probably remove that option in the future since status reporting is required for the communication to work nowdays.

image

Same issue as #2453, fixed in #2454 which is available in the nightly build and in the next release 2.1.6.

@spock64
Copy link
Author

spock64 commented Feb 7, 2024

Thanks - that was indeed the issue!

@spock64 spock64 closed this as completed Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants