Comments (4)
Read all about it.
#802 (comment)
from attinycore.
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.
Having the same issue
from attinycore.
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)
- arduino-cli: installation error HOT 2
- Attiny core 1.5.2 HOT 1
- V2.0.0. ATtiny85 Delay() too long at 4MHz and 2MHz internal OSC speed HOT 1
- ATtinyCore installation failed due to expired tls certificate for azduino.com HOT 7
- ATTinyCore does not appear in Boards Manager HOT 8
- ATtiny1634 Pinout seems off
- Install error Linux HOT 3
- Compilation failed with Timer0 Interrupt handler HOT 5
- --build-path option creates a {sketch_path} file instead
- SPI has MODE2 and MODE3 swapped HOT 3
- attinycore library not compiling on arduino ide HOT 2
- problem error HOT 1
- SSL for site drazzy.com is expired HOT 3
- Support for ATTiny 416?
- Problem on compilation with malloc
- DHT.h not able to compile
- Add support for ATtiny20
- System Clock change from 1MHz to higher internal clock creates skewed ADC results- Prescaler? HOT 7
- Cannot upload bootloader to Attiny85 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from attinycore.