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

Cannot run program "{runtime.tools.avrdude.path}/bin/avrdude" #17

Closed
kallisti5 opened this issue Jul 12, 2016 · 10 comments
Closed

Cannot run program "{runtime.tools.avrdude.path}/bin/avrdude" #17

kallisti5 opened this issue Jul 12, 2016 · 10 comments

Comments

@kallisti5
Copy link

Sketch uses 4,194 bytes (14%) of program storage space. Maximum is 28,672 bytes.
Global variables use 151 bytes (5%) of dynamic memory, leaving 2,409 bytes for local variables. Maximum is 2,560 bytes.
java.io.IOException: Cannot run program "{runtime.tools.avrdude.path}/bin/avrdude": 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:115)
    at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:160)
    at processing.app.debug.Compiler.upload(Compiler.java:163)
    at processing.app.Sketch.upload(Sketch.java:1220)
    at processing.app.Sketch.exportApplet(Sketch.java:1194)
    at processing.app.Sketch.exportApplet(Sketch.java:1166)
    at processing.app.Editor$DefaultExportHandler.run(Editor.java:2487)
    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.<init>(UNIXProcess.java:248)
    at java.lang.ProcessImpl.start(ProcessImpl.java:134)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    ... 11 more

Shit's broke yo. Arduino 1.6.6, Fedora 24

@Krastanov
Copy link

Confirmed on the hourly build from 25th of July.

@BrentWilkins
Copy link
Contributor

There are known bugs with Arduino. Does the new version of the IDE with its "lot of bugfixes to builder" fix the issue you are seeing? https://www.arduino.cc/en/Main/ReleaseNotes

@Krastanov
Copy link

Seems to be working on my computer (Debian jessie, arduino 1.6.10)

@kallisti5
Copy link
Author

1.6.10 gives me a different error here:

"sorry - this program has been built without plugin support"

Non-sparkfun boards compile. Fedora 24, x86_64 + 1.6.10 downloaded from Arduino site.

@BrentWilkins
Copy link
Contributor

@kallisti5
Copy link
Author

That fixes it. rm -rf ~/.arduino15; then ran through install with your new manifest.

@BrentWilkins
Copy link
Contributor

Thanks. It works on my system too. I'm going to replace the official SparkFun version with the version you just tested.

@ToniCorinne
Copy link

@BrentWilkins can this be closed out?

@BrentWilkins
Copy link
Contributor

There have been 9 versions of the IDE released since the version used in the initial issue, and I pushed some changes back in August. Closing this issue.

@TinyChou
Copy link

I pull the latest version from master branch on my Mac OS and build the app with ant dist
then run the .app just open the HelloWorld Example: Blink.ino: upload to my Uno board.

java.io.IOException: Cannot run program "{runtime.tools.avrdude.path}/bin/avrdude": 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:732)
at processing.app.SketchController.exportApplet(SketchController.java:703)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2197)
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:248)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 10 more

image

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

5 participants