-
Notifications
You must be signed in to change notification settings - Fork 132
Eclipse Sloeber upload error after update #884
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
I am sorry i thought i wrote a text, Thank you |
Did you do the workspace update actions as described here? @ALUBahn |
hi @jantje, ok i normaly agree with you and i don't do this again, but after hours on searching a solution for me i found this way. changing the value from /dev/ttyACM0 to ttyACM0 works. BUT IT IS only a WORKAROUND. After every changing the Port from unplug the Arduino i must do this. |
This envionment variable should contain the exact same text you enter in project properties->arduino->uploadport. |
Hi jantje, i used Sloeber 4.1 and had no Problems with the Upload. I updated to Sloeber 4.2 and the Issue is there. I use a Arduino Due on Programming Port. i hope it helps to find the solution. regards ALUBahn |
@ALUBahn What you describe sounds like a real issue that can be worked around by modifying the build variables. I have to give you that :-) . What we know:. To further investigate please provide :
PS: Note I don't think it is related to the original poster issue but we'll use this issue anyway. |
It looks like resetting the board is not needed and if the reset works the upload command is triggered before the port is back available. |
Hello, the reset isn't perhaps needed, but only ttyACM0 works sometimes in this constellation: ` ~ $ /home/yyyyz/apps/Arduino-Sloeber/sloeber//arduinoPlugin/packages/arduino/tools/bossac/1.6.1-arduino/bossac --port=ttyACM0 -U false -e -w -b /home/yyyy/Dokumente/arduino-sloeber-workspace/Due_Farbverlauf_2/Release/Due_Farbverlauf_2.bin -R Write 35720 bytes to flash (140 pages) |
I tryed, to change the build Var for bossacpath to set on 1.7.0 and it work fine: Starting upload Launching/home/yyyy/apps/Arduino-Sloeber/sloeber//arduinoPlugin/packages/arduino/tools/bossac/1.7.0/bossac --port=/dev/ttyACM0 -U false -e -w -b /home/yyyy/Dokumente/arduino-sloeber-workspace/Due_Farbverlauf_2/Release/Due_Farbverlauf_2.bin -R Write 35720 bytes to flash (140 pages) [ ] 0% (0/140 pages) perhabs it is the wanted solution?? Gretings ALUBahn |
This workaround assumes a recent arduino samd platform has been installed. But I prefer it to the JANTJE.COM_PORT workaround. |
Seems like the exact same issue now. Even with the arduino IDE. |
Dear Sloeber Community, PS: I really like the work done with Sloeber! Great Job! |
!ENTRY io.sloeber.arduino.core 4 0 2017-12-12 13:57:49.538
!MESSAGE tools.Program tool not properly configured.program.pattern : not found in the platform.txt file
!ENTRY io.sloeber.arduino.core 4 0 2017-12-12 13:57:49.901
!MESSAGE Failed to run the Upload recipe
!STACK 0
java.io.IOException: Cannot run program "" (in directory "/home/adim/eclipse-workspace"): error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at io.sloeber.core.tools.ExternalCommandLauncher.launch(ExternalCommandLauncher.java:294)
at io.sloeber.core.tools.uploaders.GenericLocalUploader.RunConsoledCommand(GenericLocalUploader.java:42)
at io.sloeber.core.tools.uploaders.arduinoUploader.uploadUsingPreferences(arduinoUploader.java:87)
at io.sloeber.core.tools.uploaders.UploadSketchWrapper$UploadJobWrapper.run(UploadSketchWrapper.java:178)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 5 more
The text was updated successfully, but these errors were encountered: