IDE 2.0 RC goes blank

As before, it is essential that you follow my instructions exactly:

You must run the entire command I provided, not a fragment of it.

PS C:\Program Files\Arduino IDE> Get-ChildItem -Path  C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\


    Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        15-07-2022     11:38                ctags
d-----        15-07-2022     11:38                mdns-discovery
d-----        15-07-2022     11:38                serial-discovery
d-----        15-07-2022     11:38                serial-monitor


PS C:\Program Files\Arduino IDE>

OK, it is looking good so far.

I'm going to ask you to post some additional information that might help us to identify the problem.

Please do this:

  1. If you don't have it open already, start Windows PowerShell.
  2. Type the following command:
    Get-ChildItem -Path  C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\ -Recurse
    
  3. Press the Enter key.
  4. Right click on the title bar of the PowerShell window.
    This will open a context menu.
  5. Select Edit > Select All from the context menu.
    This will select all the text in the PowerShell window.
  6. Press Ctrl+C.
    This will copy the contents of the PowerShell window to the clipboard.
  7. Open a forum reply here by clicking the Reply button.
  8. Click the </> 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.
    Code block
  9. Press Ctrl+V.
    This will paste the output into the code block.
  10. Move the cursor outside of the code block markup before you add any additional text to your reply.
  11. Click the Reply button to post the output.

Please let me know if you have any questions or problems while following those instructions.

PS C:\Program Files\Arduino IDE> Get-ChildItem -Path  C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\ -Recurse
>>


    Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        15-07-2022     11:38                ctags
d-----        15-07-2022     11:38                mdns-discovery
d-----        15-07-2022     11:38                serial-discovery
d-----        15-07-2022     11:38                serial-monitor


    Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\ctags


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        15-07-2022     11:38                5.8-arduino11


    Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----        15-07-2022     11:38         283804 ctags.exe


    Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\mdns-discovery


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        15-07-2022     14:27                1.0.5


    Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\mdns-discovery\1.0.5


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----        15-07-2022     11:38          35149 LICENSE.txt


    Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\serial-discovery


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        15-07-2022     14:27                1.3.2


    Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\serial-discovery\1.3.2


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----        15-07-2022     11:38          35149 LICENSE.txt


    Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\serial-monitor


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        15-07-2022     11:38                0.9.1


    Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\serial-monitor\0.9.1


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----        15-07-2022     11:38          35149 LICENSE.txt
-a----        15-07-2022     11:38        3618816 serial-monitor.exe


PS C:\Program Files\Arduino IDE>

I see the problem here:

Notice that these two folders only contain a file LICENSE.txt:

  • C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\mdns-discovery\1.0.5
  • C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\serial-discovery\1.3.2

There should be a file named mdns-discovery.exe and serial-discovery.exe respectively in each of those folders. These tools are installed automatically the first time you start the Arduino IDE, but the installations are incomplete. That causes startup of the IDE to fail.

The most likely explanation for the missing files is that your antivirus software thought they looked suspicious and quarantined them.

Please check in the quarantine area of your antivirus software settings to see if the files are in there.

Sir, both LICENSE.txt files are in given folder.

  • C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\mdns-discovery\1.0.5
  • C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\serial-discovery\1.3.2

Please read my previous post again very carefully. Note especially this paragraph:

After that, you can follow my instructions so that we can make progress towards getting your Arduino IDE working:

Sir, I uninstalled the antivirus. but problem is same.

I did not and do not recommend going without an antivirus.

Anyway, that is your choice to make. We can focus our attention on getting the Arduino IDE working.

Please try this:

  1. Delete this folder:
    C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\mdns-discovery
    
  2. Delete this folder:
    C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\serial-discovery
    
  3. Start the Arduino IDE.

:warning: Please be very careful when deleting things from your computer. When in doubt, back up!

If looking for it with your file browser, note that those folders are hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".

When you start the Arduino IDE, it will automatically install the missing tools. If you antivirus is not interfering this time, that process should complete successfully and the IDE will be fully functional.

Dear sir, thanks a lot for your cooperation. after reinstall of antivirus the arduino ide running successfully .
again thanks
rajiv kashyap

I'm very glad it is working now. Great work on persevering through the difficulties to finally achieve success!

Even though the antivirus was the real culprit here, the Arduino IDE should handle such a situation more gracefully, recovering automatically when possible. The Arduino developers are tracking this issue here:

So hopefully it can be improved so that future users won't suffer so much as you did in this situation.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.