Coder Social home page Coder Social logo

Comments (4)

hmeijdam avatar hmeijdam commented on June 3, 2024 1

Read all about it.
#802 (comment)

from attinycore.

uski avatar uski commented on June 3, 2024

I launched the Arduino IDE from a command line and watched the stdout.

`2024-01-14T03:57:42.899Z daemon INFO time="2024-01-14T04:57:42+01:00" level=info msg="Updating index" url="http://drazzy.com/package_drazzy.com_index.json"
2024-01-14T03:57:42.901Z daemon INFO time="2024-01-14T04:57:42+01:00" level=info msg="Starting download" url="http://drazzy.com/package_drazzy.com_index.json"
2024-01-14T03:57:42.903Z root INFO core-client-provider [platform-index] Downloading index: package_drazzy.com_index.json

2024-01-14T03:57:44.655Z daemon INFO time="2024-01-14T04:57:44+01:00" level=info msg="Checking signature" index="c:\Users\x\AppData\Local\Arduino15\package_index.json" signatureFile="c:\Users\x\AppData\Local\Arduino15\package_index.json.sig" trusted=true
2024-01-14T03:57:44.657Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file c:\Users\x\AppData\Local\Arduino15\package_drazzy.com_index.json: open c:\Users\x\AppData\Local\Arduino15\package_drazzy.com_index.json: The specified file cannot be found.`

I looked into c:\Users\x\AppData\Local\Arduino15\ and interestingly, I can see a file named package_drazzy.json but not package_drazzy.com_index.json. This is a mismatch from the filename in the URL.

I do see a file named package_esp8266com_index.json which matches the ESP8266 board URL filename.

I did an experiment and copied the package_drazzy.com_index.json file onto my own web server, but I renamed it as package_drazzycom_index.json removing the dot like ESP8266 does.

And this fixes the issue! So there is a problem with the filename of the library!

To be 100% sure, I renamed package_drazzycom_index.json to package_drazzy.com_index.json (with the dot) on my webserver, and it stops working just like the official URL.

That's a problem... not sure what behavior is correct. I notice that the ESP32 arduino board URL is https://espressif.github.io/arduino-esp32/package_esp32_index.json and it does not have multiple dots. So I presume that multiple dots in the URL is the issue.

If so, I think a suitable solution would be:

  • First, contact Arduino and verify if it is not a bug with IDE 2.2.1. If it is and they accept to fix it, just wait for them to do it and post a notice on the project page for users to use another version.
  • If it is not a bug of the Arduino IDE, for instance if they specify to not use multiple dots, then you should start telling users to use a new URL without the dot like I did above, and you will have to keep both copies active forever to maintain compatibility.

Hope this helps

from attinycore.

Intechgreater avatar Intechgreater commented on June 3, 2024

Having the same issue

from attinycore.

SpenceKonde avatar SpenceKonde commented on June 3, 2024

Duplicate documented in 802. This is NOT OUR BUG, Please direct to the Arduino team any complaints about the fact that the fix was done 3+ months ago and still isn't in a release.

from attinycore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.