digistump / DigistumpArduino

Files to add Digistump support (Digispark, Pro, DigiX) to Arduino 1.6.X (1.6.5+)
934 stars 377 forks source link

error while uploading #120

Open jayrawatrj opened 4 years ago

jayrawatrj commented 4 years ago

java.io.IOException: Cannot run program "REMOVE/launcher": 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.runCommand(SerialUploader.java:383) at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:197) at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77) at processing.app.SketchController.upload(SketchController.java:732) at processing.app.SketchController.exportApplet(SketchController.java:703) at processing.app.Editor$UploadHandler.run(Editor.java:2047) at java.lang.Thread.run(Thread.java:748) 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) ... 11 more An error occurred while uploading the sketch

ArminJo commented 4 years ago

Thank you for sharing such precious information

jayrawatrj commented 4 years ago

i am getting this error while using it on ubuntu 18.04

pfeerick commented 4 years ago

Check the path referred to at the start of the error: java.io.IOException: Cannot run program "REMOVE/launcher". Does the file launcher exist? If not, that is your problem. If it does, it would seem it's the wrong architecture for your device. Both 32 and 64 bit versions of x86 linux are supported... so if you are on a arm/aarch64 platform you are out of luck.

If the file does exist, what is the output from uname -a, file PATH-TO-LAUNCHER/launcher and ldd PATH-TO-LAUNCHER/launcher ?