-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Error on Arduino CLI opens an error message window. #3515
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
Comments
Hi @carlosperate , thanks for reporting! The issue will be tackled by @ffissore as soon as he is back! |
This is related to #1981, but it might be easier to fix just the error message first, without removing the GUI requirement altogether. |
Yep, it is indeed related to #1981, but I think this case might require special consideration since people working around the X11 issue by creating a virtual display might still have the problem of this window blocking execution until it is dismissed. |
As far as compilation is concerned, don't use the IDE any more. Use |
I am not too familiar with the new arduino-builder, but wouldn't we need to specify in the command line interface a lot more parameters (location of hw libraries and similar)? Is the a simple method to use it like the Arduino IDE CLI? It also does not look like it offers the option to upload the byte code to the Arduino. |
Yes, it needs more params. More power, more params :) |
Speaking of power, it is twice as fast as using plain |
I definitely like the idea of faster compilation, but more parameters also means that it needs a lot more effort for other applications to interface with it and maintain compatibility with different versions of the IDE. It looks like the compilation and program uploading components are currently being refactored to be able to integrate them into the upcoming Cloud IDE, which is great, but the current desktop IDE CLI was also great due to its simple interface. Are there any plans to further refactor the compilation and uploading code outside of the java application? Ideally we could have an |
We have no such plans |
Tested on Windows 8.1 x64 bits using the
arduino_debug.exe
hourly build1.6.6 2015/07/10 12:34
.This happened on exit code 2, when the sketch cannot be found, and it raises an error message window. Execution stops until the window is dismissed (which could be a problem for headless interfaces). No other message is printed on the command line interface stdout or stderr to indicate this was the reason for the failure, although the exit code itself does indicate this.
I also tried to see if the same would happened on a upload error (disconnecting the board on upload), but in that case no window is opened, and works as expected.
The text was updated successfully, but these errors were encountered: