Receiving BASH errors on compile

Hi All

All of a sudden I started getting some weird Bash error which I have not seen before. I have tried installing the drivers but still received them. Here is a copy of the errors:

Sketch uses 51,897 bytes (26%) of program storage space. Maximum is 196,608 bytes.
starting download script
Args to shell: C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader\1.6.4+1.14/x86/bin C:\Users\CYBERP~1\AppData\Local\Temp\build821209754ef3b4a2550ee5b386927b9a.tmp/CurieIMUGPSXbeeYPR.ino.elf COM3 quiet
Serial Port PORT
BIN FILE C:\Users\CYBERP~1\AppData\Local\Temp\build821209754ef3b4a2550ee5b386927b9a.tmp/CurieIMUGPSXbeeYPR.ino.bin
Waiting for device... 
      1 [main] bash 5132 child_info_fork::abort: C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader\1.6.4+1.14\x86\bin\cygncursesw-10.dll: Loaded to different address: parent(0x710000) != child(0x6D0000)
C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader\1.6.4+1.14/clupload/cluploadArduino101_win.sh: fork: retry: Resource temporarily unavailable
      2 [main] bash 9176 child_info_fork::abort: C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader\1.6.4+1.14\x86\bin\cygncursesw-10.dll: Loaded to different address: parent(0x710000) != child(0xE30000)
C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader\1.6.4+1.14/clupload/cluploadArduino101_win.sh: fork: retry: Resource temporarily unavailable
      2 [main] bash 3340 child_info_fork::abort: C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader\1.6.4+1.14\x86\bin\cygncursesw-10.dll: Loaded to different address: parent(0x710000) != child(0x6D0000)
C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader\1.6.4+1.14/clupload/cluploadArduino101_win.sh: fork: retry: Resource temporarily unavailable
      2 [main] bash 5308 child_info_fork::abort: C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader\1.6.4+1.14\x86\bin\cygncursesw-10.dll: Loaded to different address: parent(0x710000) != child(0x6D0000)
C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader\1.6.4+1.14/clupload/cluploadArduino101_win.sh: fork: retry: Resource temporarily unavailable
      2 [main] bash 4848 child_info_fork::abort: C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader\1.6.4+1.14\x86\bin\cygncursesw-10.dll: Loaded to different address: parent(0x710000) != child(0xE50000)
C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader\1.6.4+1.14/clupload/cluploadArduino101_win.sh: fork: retry: Resource temporarily unavailable
      2 [main] bash 4344 child_info_fork::abort: C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader\1.6.4+1.14\x86\bin\cygncursesw-10.dll: Loaded to different address: parent(0x710000) != child(0x6D0000)
C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader\1.6.4+1.14/clupload/cluploadArduino101_win.sh: fork: retry: Resource temporarily unavailable
      3 [main] bash 7336 child_info_fork::abort: C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader\1.6.4+1.14\x86\bin\cygncursesw-10.dll: Loaded to different address: parent(0x710000) != child(0xE20000)
C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader\1.6.4+1.14/clupload/cluploadArduino101_win.sh: fork: Resource temporarily unavailable

Thanks
Mike

Hi Mike,
we are investigating your issue. In the meantime, if you want to get rid of that problem, you can copy this file to C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader\1.6.4+1.14/ and replace C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.4\platform.txt with this

Hi facchinm,

Did as you suggested and it seems like it can not find the arduino101load file. Here is the error I received:

java.io.IOException: Cannot run program "{runtime.tools.arduino101load.path}/arduino101load": CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
	at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)
	at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:123)
	at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:167)
	at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)
	at processing.app.Sketch.upload(Sketch.java:1178)
	at processing.app.Sketch.exportApplet(Sketch.java:1152)
	at processing.app.Sketch.exportApplet(Sketch.java:1124)
	at processing.app.Editor$DefaultExportHandler.run(Editor.java:2438)
	at java.lang.Thread.run(Thread.java:745)

Thanks
Mike

Sorry, I forgot that you also need to rename C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader to C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\arduino101load

and then restart the IDE

Changed the directory name but still getting the error that it can not find the file

java.io.IOException: Cannot run program "{runtime.tools.arduino101load.path}/arduino101load": CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
	at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)
	at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:123)
	at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:167)
	at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)
	at processing.app.Sketch.upload(Sketch.java:1178)
	at processing.app.Sketch.exportApplet(Sketch.java:1152)
	at processing.app.Sketch.exportApplet(Sketch.java:1124)
	at processing.app.Editor$DefaultExportHandler.run(Editor.java:2438)
	at java.lang.Thread.run(Thread.java:745)

Mike

Ok, sorry for the confusion.
I had it working because I'm in the experimental branch already so the new tool get resolved correctly.
To come back to a known situation, rename C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\arduino101load back to C:\Users\CyberPalin\AppData\Local\Arduino15\packages\Intel\tools\sketchUploader
Then open the platform.txt file and replace every occurrence of {runtime.tools.arduino101load.path} with {runtime.tools.sketchUploader.path}

Again, sorry for the confusion :slight_smile:

Hi facchinm

That did the trick. Works like a charm. By the way upload seems a lot faster as well. Like the touch about hitting the master reset as well. Not sure what the original problem was caused by.

By the way, not a problem about the confusion - seems to the norm sometimes when juggling a lot of stuff.

Thanks for your invaluable support.

Mike

UPDATE: OK here we go again. After closing the IDE and then going back in a few hours later I am now getting the following error:

java.io.IOException: Cannot run program "REMOVE/arduino101load": CreateProcess error=2, The system cannot find the file specified

Update 2: after a few restarts of the IDE it started working again. Not sure what the issue is but at least it works.

Thanks
Mike

Hi facchinm

Still getting that error:

java.io.IOException: Cannot run program "REMOVE/arduino101load": CreateProcess error=2, The system cannot find the file specified

here is the result of using verbose on upload:
Forcing reset using 1200bps open/close on port COM3
REMOVE/arduino101load REMOVE/x86/bin C:\Users\CYBERP~1\AppData\Local\Temp\builda91fdfe6672e63bc8bd3bca10070edf8.tmp/CurieImuManhonyFilter.ino.bin COM3 verbose

Seems like it works for a while then get the error. Have to leave it for awhile then try again.

Mike

Recently installed 1.6.9 on a win 10 and win 8 and started using the Arduino 101 for the first time. Both systems give me the arduino101load error.

I tried updating platform.txt, but there is no occurrence of {runtime.tools.arduino101load.path} in the file.

Any other advice?

ava.io.IOException: Cannot run program "C:\Users\Bob\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\1.6.9+1.24/arduino101load/arduino101load": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)
at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:130)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:209)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)
at processing.app.Sketch.upload(Sketch.java:1186)
at processing.app.Sketch.exportApplet(Sketch.java:1160)
at processing.app.Sketch.exportApplet(Sketch.java:1132)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2409)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)

http://forum.arduino.cc/index.php?topic=409094.msg2817337#msg2817337

Same story with me. cannot find the program.

I see that the path "slashes" are mixed forward and backwards which is a bit odd, but also, the last item in the list which I assume should be the loader program arduino101load.exedoes not actually exist in that location.

In other words, on my windows 10 platform, the last part of the file specification is repeated and indicates a folder or file that does not exist

...packages\Intel\tools\arduino101load\1.6.4+1.18\arduino101load\arduino101load
/\ /\ /
does not exist

I am going to search for arduino101load.exe or something close and see if I can find it

I found the loader (arduino101load.exe) in a zip file called arduino101load.zip and placed it in the folder so that

...packages\Intel\tools\arduino101load\1.6.4+1.18\arduino101load\arduino101load.exe

now exists.

The problem has disappeared and I do not see that error anymore.