Fresh install of 2019-09 not working [message #1814918] |
Sun, 22 September 2019 23:22 |
M K Messages: 6 Registered: September 2019 |
Junior Member |
|
|
Had a version of Photon running with Arduino. I recently installed the latest 2019-09 version.
When I try to add Platforms using Arduino downloads manager, nothing happens.
The error log indicates an error showing "No valid system for avr-gcc".
One big difference I notice is that the .arduinocdt folder in this install has only two json files. The Photon version I had used to have many more files.
I have tried doing my own research but not making progress, and it's frustrating!
[Updated on: Mon, 23 September 2019 14:11] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: Fresh install of 2019-09 not working [message #1815705 is a reply to message #1815700] |
Tue, 08 October 2019 15:00 |
Andy Le May Messages: 2 Registered: October 2019 |
Junior Member |
|
|
Hi,
I had the same issue when trying to update from Arduino 1.6.23 to 1.8.1 and got a window showing "No valid system found for avr-gcc"
So I deleted 1.6.23 in the "Downloads manager" and tried to add 1.8.1 . This time, no error message window, just nothing. However I saw this is in the error log. Same error
------------------------------------------------
eclipse.buildId=4.13.0.I20190916-1045
java.version=1.8.0_144
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
Framework arguments: -product org.eclipse.epp.package.cpp.product -keyring /Users/andylemay/.eclipse_keyring
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.cpp.product -keyring /Users/andylemay/.eclipse_keyring
org.eclipse.cdt.arduino.core
Error
Tue Oct 08 13:11:14 SAST 2019
No valid system found for avr-gcc
------------------------------------------------
So I tried renaming / deleting .arduinocdt as per this article
bugs.eclipse.org/bugs/show_bug.cgi?id=480181
Had to remove the "H T T P S : ?/ /" in the link it due to newbie status.
to force a reinstall... No difference. Same error in error log "No valid system found for avr-gcc" message in log.
Then I tried clicking all the Arduino board types in "add".. no difference. Same error "No valid system found for avr-gcc" message in log.
So then I though I'll just add back version 1.6.23. but you can't choose the version to install. So there I am stuck. I've deleted 1.6.23 and now can't add it back.
So then I tried to edit the "package_index.json" file and remove the section referring to 1.8.1.
{
"name": "Arduino AVR Boards",
"architecture": "avr",
"version": "1.8.1",
"category": "Arduino",
.....
},
But the "package_index.json" file get's reloaded when you enter the "Arduino Download manager - Add"
So then I disconnected the internet before I edited the "package_index.json" file . Then went into the "Add". This time the 1.6.23 version shows. Then reconnect to internet before hitting "Add" and it adds 1.6.23 and all the correct supporting installs.
Whilst this works, it could be due to the definition of the avr-gcc resources. Further down in the "package_index.json" file you find this section.
{
"name": "avr-gcc",
"version": "5.4.0-atmel3.6.1-arduino2",
"systems": [
{
With this entry
{
"size": "31894498",
"checksum": "SHA-256:abc50137543ba73e227b4d1b8510fff50a474bacd24f2c794f852904963849f8",
"host": "i386-apple-darwin11",
"archiveFileName": "avr-gcc-5.4.0-atmel3.6.1-arduino2-i386-apple-darwin11.tar.bz2",
"url": "http://downloads.arduino.cc/tools/avr-gcc-5.4.0-atmel3.6.1-arduino2-i386-apple-darwin11.tar.bz2"
},
the next section for "7.3.0-atmel3.6.1-arduino5" has this with no mention of i386.
{
"size": "38492678",
"checksum": "SHA-256:f48706317f04452544ab90e75bd1bb193f8af2cb1002f53aa702f27202c1b38f",
"host": "x86_64-apple-darwin14",
"archiveFileName": "avr-gcc-7.3.0-atmel3.6.1-arduino5-x86_64-apple-darwin14.tar.bz2",
"url": "http://downloads.arduino.cc/tools/avr-gcc-7.3.0-atmel3.6.1-arduino5-x86_64-apple-darwin14.tar.bz2"
},
Perhaps this is confusing the install program? No idea but perhaps the developers could take a look?
Andy
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04406 seconds