Upload won't work


#1

Hello !

So, I have a problem. In the mblock(3.4.0), when I’ve done my program, I try to upload it, and then, there’s a box that says “Upload Fail”, every time I try to upload.

There’s the program upload:

C:\Program Files (x86)\mBlock\Arduino\arduino_debug.exe --upload --board arduino:avr:uno --port COM11 --verbose --preserve-temp-files U:\config_eole\Application Data\com.makeblock.Scratch3.4.0\Local Store\scratchTemp\project______c_0_4\project______c_0_4.ino
Loading configuration…
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:147)
at processing.app.windows.Platform.getFolderPathFromRegistry(Platform.java:70)
at processing.app.windows.Platform.recoverSettingsFolderPath(Platform.java:55)
at processing.app.windows.Platform.init(Platform.java:50)
at processing.app.Base.guardedMain(Base.java:153)
at processing.app.Base.main(Base.java:137)


#2

Try this: Mblock all versions, Arduino 1.6.5 does not launch, with java error!


#3

Ok thank you, i’ll check it :slight_smile:


#4

Also, 3.4.0 is an older version. I’d suggest that you get the current version and see if that helps as well.


#5