Go Down

Topic: Error while downloading in the board manager (Read 309 times) previous topic - next topic

Fred95

Hello,

I would like to use the arduino to program my attiny.

I have added the following link for presets:


https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json



If I now open the board administrator comes the following error message:


Error while downloading http://downloads.cc/packages/package_index.json


I would be happy about your help
Freddy

pert

Error while downloading http://downloads.cc/packages/package_index.json
Is that really what the error says? I'd expect it to say:
Code: [Select]
Error while downloading http://downloads.arduino.cc/packages/package_index.json

Fred95


pert

After you get that error and then click the "Close" button, you should see some detailed error output in the black console window at the bottom of the Arduino IDE window. Please copy and paste all of that output in a reply here using code tags (</> button on the toolbar).

As a sanity check, try opening that link in your browser:
http://downloads.arduino.cc/packages/package_index.json

Fred95

I can easily open the link


In the error message are unfortunately German designations



Code: [Select]

Fehler beim Herunterladen von http://downloads.arduino.cc/packages/package_index.json
java.lang.RuntimeException: java.lang.Exception: Fehler beim Herunterladen von http://downloads.arduino.cc/packages/package_index.json
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onUpdatePressed$1(ContributionManagerUI.java:150)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.Exception: Fehler beim Herunterladen von http://downloads.arduino.cc/packages/package_index.json
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:139)
at cc.arduino.contributions.packages.ContributionInstaller.download(ContributionInstaller.java:333)
at cc.arduino.contributions.packages.ContributionInstaller.downloadIndexAndSignature(ContributionInstaller.java:307)
at cc.arduino.contributions.packages.ContributionInstaller.updateIndex(ContributionInstaller.java:285)
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onUpdatePressed$1(ContributionManagerUI.java:146)
... 1 more
Caused by: java.nio.file.FileSystemException: C:\ProgramData\MATLAB\SupportPackages\R2018a\3P.instrset\arduinoide.instrset\idepkgs\package_index.json.tmp: Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird.

at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
at java.nio.file.Files.delete(Files.java:1126)
at cc.arduino.utils.network.FileDownloader.downloadFile(FileDownloader.java:156)
at cc.arduino.utils.network.FileDownloader.download(FileDownloader.java:132)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:137)
... 5 more


Fred95

#5
Dec 03, 2018, 02:12 pm Last Edit: Dec 03, 2018, 02:13 pm by Fred95
So the error comes from an installed Matlab SupportPackage for Simulink ...

Have uninstalled it, now it works.

Thanks for the tipps

Freddy

pert

I'm glad to hear it's working again. Nice work finding the solution. Enjoy!
Per

Go Up