Arduino IDE 2.3.4
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.4" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "1.1.1" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2024-12-03T10:03:03.490Z" (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.4","cliVersion":"1.1.1","buildDate":"2024-12-03T10:03:03.490Z"}
Starting backend process. PID: 29040
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/1/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-12-08T06:21:55.232Z root INFO Backend Object.initialize: 3.3 ms [Finished 0.430 s after backend start]
2024-12-08T06:21:55.233Z root INFO Backend Object.configure: 2.8 ms [Finished 0.430 s after backend start]
2024-12-08T06:21:55.233Z root INFO Backend s.onStart: 1.4 ms [Finished 0.430 s after backend start]
2024-12-08T06:21:55.233Z root INFO Backend s.configure: 0.3 ms [Finished 0.448 s after backend start]
2024-12-08T06:21:55.233Z root INFO Backend d.onStart: 0.2 ms [Finished 0.448 s after backend start]
2024-12-08T06:21:55.234Z root INFO Backend d.configure: 0.1 ms [Finished 0.448 s after backend start]
2024-12-08T06:21:55.235Z root INFO Backend d.initialize: 18.1 ms [Finished 0.448 s after backend start]
2024-12-08T06:21:55.235Z root INFO Backend c.onStart: 0.2 ms [Finished 0.448 s after backend start]
2024-12-08T06:21:55.235Z root INFO Backend a.configure: 0.9 ms [Finished 0.449 s after backend start]
2024-12-08T06:21:55.236Z config INFO >>> Initializing CLI configuration...
2024-12-08T06:21:55.236Z root INFO Backend c.initialize: 0.3 ms [Finished 0.449 s after backend start]
2024-12-08T06:21:55.236Z root INFO Backend x.onStart: 0.5 ms [Finished 0.449 s after backend start]
2024-12-08T06:21:55.237Z config INFO Loading CLI configuration from c:\Users\1\.arduinoIDE\arduino-cli.yaml...
2024-12-08T06:21:55.237Z daemon INFO Starting daemon from C:\Program Files\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-12-08T06:21:55.237Z root INFO Backend a.initialize: 0.3 ms [Finished 0.450 s after backend start]
2024-12-08T06:21:55.237Z root INFO Backend w.onStart: 0.8 ms [Finished 0.451 s after backend start]
2024-12-08T06:21:55.237Z root INFO Backend r.configure: 1.3 ms [Finished 0.451 s after backend start]
2024-12-08T06:21:55.237Z discovery-log INFO start
2024-12-08T06:21:55.237Z discovery-log INFO start new deferred
2024-12-08T06:21:55.237Z root INFO Backend d.initialize: 0.3 ms [Finished 0.451 s after backend start]
2024-12-08T06:21:55.237Z root INFO Backend y.onStart: 1.5 ms [Finished 0.452 s after backend start]
2024-12-08T06:21:55.237Z root INFO Backend r.configure: 1.3 ms [Finished 0.452 s after backend start]
2024-12-08T06:21:55.238Z root INFO Backend a.onStart: 0.4 ms [Finished 0.453 s after backend start]
2024-12-08T06:21:55.238Z root INFO Backend h.configure: 0.3 ms [Finished 0.453 s after backend start]
2024-12-08T06:21:55.238Z root INFO Backend s.configure: 0.1 ms [Finished 0.454 s after backend start]
2024-12-08T06:21:55.238Z root INFO Backend l.configure: 0.0 ms [Finished 0.454 s after backend start]
2024-12-08T06:21:55.240Z root INFO Theia app listening on http://127.0.0.1:52406.
2024-12-08T06:21:55.240Z root INFO Finished starting backend application: 2.3 ms [Finished 0.456 s after backend start]
2024-12-08T06:21:55.367Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]}}
2024-12-08T06:21:55.367Z config INFO Loading fallback CLI configuration to get 'directories.data' and 'directories.user'
2024-12-08T06:21:55.375Z daemon INFO time="2024-12-08T14:21:55+08:00" level=info msg="arduino-cli version 1.1.1"
time="2024-12-08T14:21:55+08:00" level=info msg="Using config file: c:\\Users\\1\\.arduinoIDE\\arduino-cli.yaml"
time="2024-12-08T14:21:55+08:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:52407
{"IP":"127.0.0.1","Port":"52407"}
2024-12-08T06:21:55.375Z daemon INFO Daemon is running.
2024-12-08T06:21:55.401Z root INFO Resolve plugins list: 164.3 ms [Finished 0.617 s after backend start]
2024-12-08T06:21:55.455Z config INFO Loaded fallback CLI configuration: {"directories":{"user":"C:\\Users\\1\\Documents\\Arduino","data":"C:\\Users\\1\\AppData\\Local\\Arduino15"}}
2024-12-08T06:21:55.455Z config INFO Merged CLI configuration with the fallback: {"directories":{"user":"C:\\Users\\1\\Documents\\Arduino","data":"C:\\Users\\1\\AppData\\Local\\Arduino15"},"board_manager":{"additional_urls":[]}}
2024-12-08T06:21:55.455Z config INFO Loaded the CLI configuration.
2024-12-08T06:21:55.456Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/1/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/1/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-12-08T06:21:55.456Z config INFO Validating the CLI configuration...
2024-12-08T06:21:55.456Z config INFO The CLI config is valid.
2024-12-08T06:21:55.456Z config INFO <<< Initialized the CLI configuration.
2024-12-08T06:21:55.980Z root INFO Deploy plugins list: 164.3 ms [Finished 1.196 s after backend start]
2024-12-08T06:21:56.439Z root ERROR Uncaught Exception: Error: 1 CANCELLED: Call cancelled
2024-12-08T06:21:56.439Z root ERROR Error: 1 CANCELLED: Call cancelled
at t.callErrorFromStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:921712)
at Object.onReceiveStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:947033)
at Object.onReceiveStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:942911)
at Object.onReceiveStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:942356)
at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1028497
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
at s.makeUnaryRequest (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:946574)
at s.create (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1013389)
at instance (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:776656)
at new Promise (<anonymous>)
at v.createClient (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:776633)
at v.create (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:775541)
at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:774437
at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1221089
at i.invoke (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1221179)
at s.fire (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1222982)
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-12-08T06:21:57.144Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 323.3 ms [Finished 1.750 s after frontend start]
2024-12-08T06:21:57.144Z root WARN A command editor.action.toggleStickyScroll is already registered.
Hi @yumeayai. I see an error in the logs, but unfortunately they don't give me an idea of what might have caused the error. I'm going to ask you to provide the logs produced by Arduino IDE when some additional debugging output is enabled. Hopefully that will contain the vital clue that will lead us to a solution.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
- Start Windows "File Explorer".
- Open the Arduino IDE installation folder.
ⓘ The default installation location is at one of the following paths:-
C:\Program Files\Arduino IDE -
(whereC:\Users\<username>\AppData\Local\Programs\Arduino IDE<username>is your Windows username)
If looking for it with your file manager or command line, note that the AppDatafolder is 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".
-
- In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
A context menu will open. - Select "Open PowerShell window here" from the menu.
PowerShell will now open with the current directory set to the Arduino IDE installation folder. - Type the following command:
$Env:GRPC_VERBOSITY = "DEBUG" - Press the Enter key.
- Type the following command in the terminal:
$Env:GRPC_TRACE = "all" - Press the Enter key.
- Type the following command:
& ".\Arduino IDE" - Press the Enter key.
Debug output should now be printed to the PowerShell window as Arduino IDE starts (or fails to start). - Wait for Arduino IDE to .
- Switch back to the PowerShell window if the Arduino IDE window took the focus.
- Press the Ctrl+Shift+A keyboard shortcut.
This will select all the text in the PowerShell window. - Press the Ctrl+C keyboard shortcut.
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 the Ctrl+V keyboard shortcut.
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.
