Hi,
I'm having some trouble installing Packs with the Packs Manager.
I was able to install "STM32F0 Series" and the "KLxx series" packages without a problem, but when I try to install the "STM32F4 Series" or the "SAM3 Series" I get an error message on the console ande the installation fails.
The error message for the STM32F4 pack is:
Write "/Users/maxb/Documents/workspace_ARM/Packages/Keil/STM32F4xx_DFP/2.2.0/Projects/STM32F401-Discovery/Applications/Audio/Audio_playback_and_record/AudioFile/audio.wav".
Error: Unexpected end of ZLIB input stream, file: audio.wav
Install cancelled due to errors.
No packs installed.
Install completed in 17s.
For the SAM3 pack its:
Write "/Users/maxb/Documents/workspace_ARM/Packages/Keil/SAM3_DFP/1.0.1/Documents/SAM3U Manual.pdf".
Error: Unexpected end of ZLIB input stream, file: SAM3U Manual.pdf
Install cancelled due to errors.
No packs installed.
Install completed in 2s.
I'm on OS X 10.8.5 with eclipse Luna (4.4.1), the latest Version of the arm-plugin (installed yesterday)
Java Version is:
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
Is it possible that there is something wrong with my Java installation? Its a clean install on an almost untouched system.
I don't think Java is the problem, I would rather suspect a network problem, so that you have incomplete packages cached.
I suggest you remove the .pdsc files that correspond to the F4 & SAM3 packs, and retry the install.
That worked great :)
Thank you very much for the fast reply
you're welcome!
I'll try to automatically remove the cached file in a future release.
thank you for your report,
Liviu
the latest beta available from updates-test has some improvements related to http download error processing, could you give it a try?
any progress?
Hi Liviu,
Just wanted to let you know yesterday I was having a similar problem with the STM32L1xx pack. Today I upgraded to the updates-test version of the plug-in and had success with that pack but not with ARM.CMSIS.4.2.0, at least not the first try...I had to delete the .pack file (which was quite small) from the cache, but on the second try it worked fine...
if you'll further encounter such errors, please copy the error message.
I can also see 50x errors from time to time, these are server errors, there is not much the plug-in can do to fix them.
Hello all.
today I ran into a similar problem. I was unable to install any packs by clicking "refresh" in the packs view. I was using update-test version:
GNU ARM C/C++ Packs (Experimental) 2.2.2.201502091344
with Eclipse Luna.
Attached is the log. I think the problem is that I was unable to download one component (at approx. 80% progress) - this I think was however not ignored and it caused the entire process to fail. The packs view was not populated with data.
Hope this helps.
BTW - Great job with the plugins!
the right behaviour is debatable.
HTTP Error 503 - Service unavailable
I decided to cancel the entire Refresh if one of the downloads fail, exactly to make it obvious for the user that something went wrong. the user tries again to Refresh.
the previous behaviour was to add a line to the Problems window and continue, but the truth is that almost nobody read the Problems window.
fixed since 2.6.1-201502281154, a DialogBox asks the user what to do in case of errors.