Arduino ide 2.3.3 not starting

Hello,

I hope I'm posting this in the right place. My Arduino worked briefly, but now it won’t start anymore. I suspect something went wrong when I installed Python. I’ve tried reinstalling several times, but nothing seems to work.

Could anyone offer some help?

I’ve included the PowerShell information here.


PS C:\Program Files\Arduino IDE> & ".\Arduino IDE"
PS C:\Program Files\Arduino IDE>
Arduino IDE 2.3.3
Checking for frontend application configuration customizations. Module path: C:\Program Files\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Program Files\Arduino IDE\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.3" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "1.0.4" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2024-09-25T09:41:18.242Z" (type of string)
Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"defaultIconTheme":"none","electron":{"windowOptions":{}},"defaultLocale":"","validatePreferencesSchema":false,"preferences":{"window.title":"${rootName}${activeEditorShort}${appName}","files.autoSave":"afterDelay","editor.minimap.enabled":false,"editor.tabSize":2,"editor.scrollBeyondLastLine":false,"editor.quickSuggestions":{"other":false,"comments":false,"strings":false},"editor.maxTokenizationLineLength":500,"editor.bracketPairColorization.enabled":false,"breadcrumbs.enabled":false,"workbench.tree.renderIndentGuides":"none","explorer.compactFolders":false},"appVersion":"2.3.3","cliVersion":"1.0.4","buildDate":"2024-09-25T09:41:18.242Z"}
Starting backend process. PID: 15552
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/novid/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-11-01T09:01:11.821Z root INFO Backend Object.initialize: 3.5 ms [Finished 0.455 s after backend start]
2024-11-01T09:01:11.821Z root INFO Backend Object.configure: 2.9 ms [Finished 0.455 s after backend start]
2024-11-01T09:01:11.821Z root INFO Backend a.onStart: 1.7 ms [Finished 0.455 s after backend start]
2024-11-01T09:01:11.822Z root INFO Backend a.configure: 0.3 ms [Finished 0.474 s after backend start]
2024-11-01T09:01:11.822Z root INFO Backend d.onStart: 0.2 ms [Finished 0.474 s after backend start]
2024-11-01T09:01:11.823Z root INFO Backend d.configure: 0.1 ms [Finished 0.474 s after backend start]
2024-11-01T09:01:11.824Z root INFO Backend d.initialize: 19.1 ms [Finished 0.474 s after backend start]
2024-11-01T09:01:11.824Z root INFO Backend c.onStart: 0.2 ms [Finished 0.474 s after backend start]
2024-11-01T09:01:11.824Z root INFO Backend s.configure: 0.9 ms [Finished 0.475 s after backend start]
2024-11-01T09:01:11.827Z config INFO >>> Initializing CLI configuration...
2024-11-01T09:01:11.827Z root INFO Backend c.initialize: 0.4 ms [Finished 0.476 s after backend start]
2024-11-01T09:01:11.827Z root INFO Backend x.onStart: 0.6 ms [Finished 0.476 s after backend start]
2024-11-01T09:01:11.827Z config INFO Loading CLI configuration from c:\Users\novid\.arduinoIDE\arduino-cli.yaml...
2024-11-01T09:01:11.828Z daemon INFO Starting daemon from C:\Program Files\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-11-01T09:01:11.828Z root INFO Backend s.initialize: 0.3 ms [Finished 0.477 s after backend start]
2024-11-01T09:01:11.828Z root INFO Backend w.onStart: 0.9 ms [Finished 0.477 s after backend start]
2024-11-01T09:01:11.828Z root INFO Backend r.configure: 1.5 ms [Finished 0.478 s after backend start]
2024-11-01T09:01:11.828Z discovery-log INFO start
2024-11-01T09:01:11.828Z discovery-log INFO start new deferred
2024-11-01T09:01:11.828Z root INFO Backend d.initialize: 0.4 ms [Finished 0.478 s after backend start]
2024-11-01T09:01:11.828Z root INFO Backend y.onStart: 3.0 ms [Finished 0.481 s after backend start]
2024-11-01T09:01:11.828Z root INFO Backend r.configure: 2.7 ms [Finished 0.481 s after backend start]
2024-11-01T09:01:11.828Z root INFO Backend s.onStart: 0.4 ms [Finished 0.482 s after backend start]
2024-11-01T09:01:11.828Z root INFO Backend h.configure: 0.3 ms [Finished 0.482 s after backend start]
2024-11-01T09:01:11.828Z root INFO Backend a.configure: 0.1 ms [Finished 0.482 s after backend start]
2024-11-01T09:01:11.828Z root INFO Backend l.configure: 0.0 ms [Finished 0.482 s after backend start]
2024-11-01T09:01:11.830Z root INFO Theia app listening on http://127.0.0.1:50557.
2024-11-01T09:01:11.830Z root INFO Finished starting backend application: 2.2 ms [Finished 0.484 s after backend start]
2024-11-01T09:01:11.831Z root WARN The local plugin referenced by local-dir:/c%3A/Users/novid/.arduinoIDE/plugins does not exist.
2024-11-01T09:01:11.831Z root WARN The local plugin referenced by local-dir:/c%3A/Users/novid/.arduinoIDE/extensions does not exist.
2024-11-01T09:01:11.831Z root WARN The local plugin referenced by local-dir:C:\Users\novid\.arduinoIDE\plugins does not exist.
2024-11-01T09:01:11.836Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[":https://dl.espressif.com/dl/package_esp32_index.json","http://arduino.esp8266.com/stable/package_esp8266com_index.json."]},"directories":{"builtin":{"libraries":"C:\\Users\\novid\\AppData\\Local\\Arduino15\\libraries"},"data":"c:\\Users\\novid\\AppData\\Local\\Arduino15","user":"c:\\Users\\novid\\OneDrive\\Documenten\\Arduino"},"locale":"en"}
2024-11-01T09:01:11.836Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-11-01T09:01:11.836Z config INFO Loaded the CLI configuration.
Restoring workspace roots: c:\Users\novid\Documents\Arduino\PZEMDisplay\PZEMDisplay.ino
isTempSketch: false. Input was c:\Users\novid\Documents\Arduino\PZEMDisplay\PZEMDisplay.ino
2024-11-01T09:01:11.846Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/novid/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/novid/OneDrive/Documenten/Arduino","additionalUrls":[":https://dl.espressif.com/dl/package_esp32_index.json","http://arduino.esp8266.com/stable/package_esp8266com_index.json."],"network":"none","locale":"en"}
2024-11-01T09:01:11.846Z config INFO Validating the CLI configuration...
2024-11-01T09:01:11.846Z config INFO The CLI config is valid.
2024-11-01T09:01:11.846Z config INFO <<< Initialized the CLI configuration.
2024-11-01T09:01:11.862Z root INFO Resolve plugins list: 34.5 ms [Finished 0.515 s after backend start]
2024-11-01T09:01:11.933Z daemon INFO time="2024-11-01T10:01:11+01:00" level=info msg="arduino-cli version 1.0.4"
time="2024-11-01T10:01:11+01:00" level=info msg="Using config file: c:\\Users\\novid\\.arduinoIDE\\arduino-cli.yaml"
time="2024-11-01T10:01:11+01:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:50558
{"IP":"127.0.0.1","Port":"50558"}
2024-11-01T09:01:11.933Z daemon INFO Daemon is running.
2024-11-01T09:01:11.945Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Invalid additional URL: parse ":https://dl.espressif.com/dl/package_esp32_index.json": missing protocol scheme
2024-11-01T09:01:11.946Z daemon INFO time="2024-11-01T10:01:11+01:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
time="2024-11-01T10:01:11+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2024-11-01T09:01:12.340Z daemon INFO time="2024-11-01T10:01:12+01:00" level=warning msg="unable to parse additional URL: :https://dl.espressif.com/dl/package_esp32_index.json"
2024-11-01T09:01:12.341Z daemon INFO panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x8 pc=0x61fd54]

goroutine 35 [running]:
net/url.(*URL).String(0x0)
        /usr/local/go/src/net/url/url.go:817 +0x34
github.com/arduino/arduino-cli/commands.(*arduinoCoreServerImpl).UpdateIndex.func1(...)
        /home/build/commands/instances.go:536
github.com/arduino/arduino-cli/commands.(*arduinoCoreServerImpl).UpdateIndex(0xc00015a000, 0xc000235580, {0x13db2e0, 0xc000009608})
        /home/build/commands/instances.go:564 +0x79e
github.com/arduino/arduino-cli/commands.firstUpdate({0x13d6468, 0xc0002de420}, {0x13e6708, 0xc00015a000}, 0xc0002de660, 0xc0002d1e50, 0xc0002d19b0, {0xc0002d1e40, 0x2, 0x2})
        /home/build/commands/instances.go:669 +0x437
github.com/arduino/arduino-cli/commands.(*arduinoCoreServerImpl).Init(0xc00015a000, 0xc0002268c0, {0x13db9c0, 0xc0002d1980})
        /home/build/commands/instances.go:193 +0x4e5
github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1._ArduinoCoreService_Init_Handler({0x103dd60, 0xc00015a000}, {0x13d94d8, 0xc000166000})
        /home/build/rpc/cc/arduino/cli/commands/v1/commands_grpc.pb.go:1429 +0x10a
google.golang.org/grpc.(*Server).processStreamingRPC(0xc00036a000, {0x13d6468, 0xc0002de330}, {0x13dd240, 0xc000002000}, 0xc0002e0360, 0xc000421f50, 0x1b23c00, 0x0)
        /go/pkg/mod/google.golang.org/grpc@v1.65.0/server.go:1673 +0x1208
google.golang.org/grpc.(*Server).handleStream(0xc00036a000, {0x13dd240, 0xc000002000}, 0xc0002e0360)
        /go/pkg/mod/google.golang.org/grpc@v1.65.0/server.go:1794 +0xe3a
google.golang.org/grpc.(*Server).serveStreams.func2.1()
        /go/pkg/mod/google.golang.org/grpc@v1.65.0/server.go:1029 +0x8b
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 56
        /go/pkg/mod/google.golang.org/grpc@v1.65.0/server.go:1040 +0x125
2024-11-01T09:01:12.344Z root ERROR Error occurred while initializing the core gRPC client provider Error: 14 UNAVAILABLE: read ECONNRESET
    at t.callErrorFromStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:912720)
    at Object.onReceiveStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:940342)
    at Object.onReceiveStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:933364)
    at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1019505
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
    at a.makeServerStreamRequest (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:940109)
    at a.init (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1004397)
    at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:769856
    at new Promise (<anonymous>)
    at v.initInstance (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:769822)
    at v.initInstanceWithFallback (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:768678)
    at v.create (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:768583)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-11-01T09:01:12.344Z root ERROR Uncaught Exception:  Error: 14 UNAVAILABLE: read ECONNRESET
2024-11-01T09:01:12.344Z root ERROR Error: 14 UNAVAILABLE: read ECONNRESET
    at t.callErrorFromStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:912720)
    at Object.onReceiveStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:940342)
    at Object.onReceiveStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:933364)
    at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1019505
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
    at a.makeServerStreamRequest (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:940109)
    at a.init (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1004397)
    at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:769856
    at new Promise (<anonymous>)
    at v.initInstance (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:769822)
    at v.initInstanceWithFallback (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:768678)
    at v.create (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:768583)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-11-01T09:01:12.345Z daemon INFO Daemon exited with exit code: 2.
2024-11-01T09:01:12.531Z root INFO Deploy plugins list: 34.5 ms [Finished 1.185 s after backend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-11-01T09:01:13.340Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 119.3 ms [Finished 1.447 s after frontend start]
2024-11-01T09:01:13.341Z root WARN A command editor.action.toggleStickyScroll is already registered.

i installed ide 2.3.2 and this work for now :slight_smile:

You have a colon before the https. You can fix it by editing C:\Users\yourUsername\.arduinoIDE\arduino-cli.yaml using a normal text editor.

Close the IDE and open the file; you will find entries as shown below

board_manager:
    additional_urls:
        - http://drazzy.com/package_drazzy.com_index.json
        - https://arduino.esp8266.com/stable/package_esp8266com_index.json
        - https://espressif.github.io/arduino-esp32/package_esp32_index.json
        - https://mcudude.github.io/MegaCore/package_MCUdude_MegaCore_index.json
        - https://mcudude.github.io/MegaCoreX/package_MCUdude_MegaCoreX_index.json
        - https://mcudude.github.io/MicroCore/package_MCUdude_MicroCore_index.json
        - https://mcudude.github.io/MightyCore/package_MCUdude_MightyCore_index.json
        - https://mcudude.github.io/MiniCore/package_MCUdude_MiniCore_index.json
        - https://raw.githubusercontent.com/sparkfun/Arduino_Boards/main/IDE_Board_Manager/package_sparkfun_index.json
        - https://www.pjrc.com/teensy/package_teensy_index.json

Delete the fault line, save the file and start the IDE again.


I've moved your topic to the dedicated IDE 2.x section.

thanks !!!! sterretje. this is the solution! i should have ask sooner instead of trying half a day :rofl:

1 Like