hello ,
I am not able to change ( or save ) the content of the Additional boards manager URLs box in my Arduino IDE 2.04 preferences and cant find the file where this info is stored. I do'nt think I had this issue with 2.03. Actually, I also have an other pc running 2.03 and this part is OK.
First I was trying to add ESP8266 to the line calling for ESP32 with a comma in between. Click on the first OK, info still there. Click on second OK to close preference screen and then newly entered line is gone.
My 2.0.4 has been running ok, I have 4 additional board manager URLs.
However, I go to the file @cattledog pointed, and it has this line in it: boardsmanager.additional.urls=
As @shunt1 said, something is hosed (they had 1 file, mine has more).
I am not going to try manually editing that file, in case I break something I need right now, which is the teensy entry.
Hi @shunt1. Which version of Arduino IDE are you using (e.g., "2.0.1")? The version is shown on the window title bar and also in the Help > About dialog.
I ask for this information because I want to give you the appropriate instructions for the IDE version you are using.
I'm not sure I understood correctly what you mean by this. Does the "Preferences" dialog close when you click the "OK" button?
I understand there is an "OK" button on the "Additional Boards Manager URLs" dialog, and another "OK" button on the "Preferences" dialog.
From your previous statement:
my interpretation was that "second OK" is referring to the "OK" button on the "Preferences" dialog. So a more precise description would be:
Select File > Preferences... from the Arduino IDE menus.
The "Preferences" dialog opens.
Click the button on the right side of the "Additional Boards Manager URLs" field.
The "Additional Boards Manager URLs" dialog opens.
Add the ESP8266 package index URL to the field in the "Additional Boards Manager URLs" dialog.
Click the "OK" button on the "Additional Boards Manager URLs" dialog. The ESP8266 package index URL is present in the "Additional Boards Manager URLs" field of the "Preferences" dialog.
Click the "OK" button on the "Preferences" dialog.
Does the above sequence match what you did and what you observed when you did it?
I'm going to ask you to post some additional information that might help us to identify the problem.
Please do this:
Start Windows "File Explorer".
Open the Arduino IDE installation folder.
(usually C:\Program Files\Arduino IDE or C:\Users\<username>\AppData\Local\Programs\Arduino IDE).
In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
From the context menu, click "Open PowerShell window here".
Windows PowerShell will now open with the current directory set to the Arduino IDE installation folder.
Type the following command:
& ".\Arduino IDE"
Press the Enter key.
Debug output should now be printed to the PowerShell window as Arduino IDE starts.
Wait for Arduino IDE to finish starting.
Attempt to add the ESP8266 URL to the preferences, just as you did before.
Switch back to the PowerShell window.
Right click on the title bar of the PowerShell window.
This will open a context menu.
Select Edit > Select All from the context menu.
This will select all the text in the PowerShell window.
Press Ctrl+C.
This will copy the contents of the PowerShell window to the clipboard.
Open a forum reply here by clicking the Reply button.
Click the <CODE/> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press Ctrl+V.
This will paste the output into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
Click the Reply button to post the output.
Please let me know if you have any questions or problems while following those instructions.
hello, I was telling you that I had uninstalled 2.04 a couple of times. Searching for the directory you asked me to go into, I found a couple arduino directories on my disk that I would not expect to see . There is one C:\Users\myxxx.arduinoIDE and an other one under C:\Users\myxxx\AppData\Local\Arduino15. This last one does have a preferences text document and a arduino-cli.yaml file as well. I would expect all these files and directories to go away when I uninstall a program . I have to work on other things this week but I might get a few minutes to run what you asked for. tks for your time
I ran the powershell and seen and seen an 'access denied" message going by after clicking on OK.
I delete arduino-cli.yaml file, re ran the zip package ( which recreated the yaml file ) that now is accepting the boards url changes that I am making.
I have to reimage this pc before the week start. I will , more than likely, reinstall arduino 2.04 IDE very soon. sorry i did not capture the powershell code. I consider the problem solved for now.