arduino / ArduinoCore-arc32

GNU Lesser General Public License v2.1
330 stars 284 forks source link

ERROR: I can not upload any sketches. #388

Closed hulkco closed 7 years ago

hulkco commented 7 years ago

ERROR: I can not upload any sketches.

java.io.IOException: Cannot run program "/root/.arduino15/packages/Intel/tools/arduino101load/1.6.9+1.28/arduino101load/arduino101load": error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at java.lang.Runtime.exec(Runtime.java:620) at java.lang.Runtime.exec(Runtime.java:485) at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:11) at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129) at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:207) at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78) at processing.app.SketchController.upload(SketchController.java:709) at processing.app.SketchController.exportApplet(SketchController.java:682) at processing.app.Editor$DefaultExportHandler.run(Editor.java:2189) at java.lang.Thread.run(Thread.java:745) 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) ... 10 more An error occurred while uploading the sketch

eriknyquist commented 7 years ago

I can only guess due to the lack of information here, but I assume you grabbed the latest corelibs-arduino101 from github, but didn't update the tools?

Please see the README at the top level of this repo for details about updating the tools.

hulkco commented 7 years ago

Yes i update the tools to

hulkco commented 7 years ago

Hello everyone, I already found the solution, without realizing it, download the tools for another platform, so I uploaded suggestions to the README.md file so that the instructions are clearer. Greetings.

eriknyquist commented 7 years ago

Hi @hulkco, I don't see a pull request for the README change you mentioned, but we'd be happy to make things clearer in there if you have some suggestions :)

hulkco commented 7 years ago

Hello, I'm new to GitHub, as I uploaded the suggested changes to README, and create the README for intel-arduino-tools, doing so automatically became a FORK, and I thought it would only wait for the supervisor to accept the changes, I do not know , what has happened.

eriknyquist commented 7 years ago

@hulkco if you want to email me a patch, I'd be happy to commit the changes for you this time. For future changes, here is good tutorial on creating Pull Requests https://yangsu.github.io/pull-request-tutorial

hulkco commented 7 years ago

Thanks I will try to make a summary and I will send it to you as soon as possible, in fact, I did a small tutorial in hackster.io Upgrading the firmware & library of Arduino 101