Updating to 1.0.4 - Missing Green.h

Related to the development libraries, released by Curt Binder
Post Reply
phrusher
Posts: 65
Joined: Fri May 25, 2012 12:22 am

Updating to 1.0.4 - Missing Green.h

Post by phrusher »

Hi,

I get an exception when updating from 1.0.3 to 1.0.4 at around 67%. Same thing when running the update utility but that also reports red.h as not found. Even though the update fails the version number is changed so the libraries version reports 1.0.4.

Other than that it looks like a great update so I'm looking forward to try it out :)

Code: Select all

Updating /libraries/ReefTouch/Green.h
java.io.FileNotFoundException: https://raw.github.com/reefangel/libraries/master/ReefTouch/Green.h
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1311)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
	at java.net.URL.openStream(URL.java:1010)
	at processing.app.UpdateCheck$DownloadFile.copyURLtoFile(UpdateCheck.java:274)
	at processing.app.UpdateCheck$DownloadFile.run(UpdateCheck.java:243)
	at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-5" java.lang.NullPointerException
	at sun.nio.ch.FileChannelImpl.transferFrom(FileChannelImpl.java:591)
	at processing.app.UpdateCheck$DownloadFile.copyURLtoFile(UpdateCheck.java:287)
	at processing.app.UpdateCheck$DownloadFile.run(UpdateCheck.java:243)
	at java.lang.Thread.run(Thread.java:619)
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Updating to 1.0.4 - Missing Green.h

Post by rimai »

Thanks for reporting. I'll check and get back
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Updating to 1.0.4 - Missing Green.h

Post by rimai »

Try it now.
You may need to change preferences.txt file to trigger the auto-update again.
http://arduino.cc/en/Hacking/Preferences
Also, change the libs version to 1.0.3 on ReefAngel.h
Roberto.
phrusher
Posts: 65
Joined: Fri May 25, 2012 12:22 am

Re: Updating to 1.0.4 - Missing Green.h

Post by phrusher »

No its working from within the Arduino studio but the RA Update Utility is still looking for ReefTouch/Green.h and Red.h.

Thanks!
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Updating to 1.0.4 - Missing Green.h

Post by rimai »

That update utility is deprecated :(
Roberto.
phrusher
Posts: 65
Joined: Fri May 25, 2012 12:22 am

Re: Updating to 1.0.4 - Missing Green.h

Post by phrusher »

Ah, ok. Guess I have an old installation then :) I'll try and keep that in mind.
Post Reply