Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to open sketch saved under redirected folder #2613

Open
3 tasks done
UNISTRAPHIOlivier opened this issue Jan 8, 2025 · 0 comments
Open
3 tasks done

Unable to open sketch saved under redirected folder #2613

UNISTRAPHIOlivier opened this issue Jan 8, 2025 · 0 comments
Labels
topic: theia Related to the Theia IDE framework type: imperfection Perceived defect in any part of project

Comments

@UNISTRAPHIOlivier
Copy link

UNISTRAPHIOlivier commented Jan 8, 2025

Describe the problem

The computers are integrated into an Active Directory with a GPO for folder redirection on Documents and the Desktop.

When we save a sketch under a redirected folder, a new window opens with an empty sketch.

Here are the logs:

Closing channel on service path '/services/electron-window'.
Closing channel on service path '/services/ide-updater'.
2025-01-08T17:11:15.243Z root ERROR Uncaught Exception:  Error: transport close
2025-01-08T17:11:15.244Z root ERROR Error: transport close
    at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1253913
    at Map.forEach (<anonymous>)
    at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1253892
    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)
    at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1248775
    at Map.forEach (<anonymous>)
    at Object.<anonymous> (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1248745)
    at e.dispose (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1214148)
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2025-01-08T17:11:16.078Z root WARN A command editor.action.toggleStickyScroll is already registered.
2025-01-08T17:11:16.162Z root INFO Start frontend contributions: 150.7 ms [Finished 0.908 s after frontend start]
2025-01-08T17:11:16.162Z root INFO Changed application state from 'init' to 'started_contributions'.
2025-01-08T17:11:16.191Z root INFO Changed application state from 'started_contributions' to 'attached_shell'.
2025-01-08T17:11:16.191Z root INFO >>> Restoring the layout state...
2025-01-08T17:11:16.191Z root INFO <<< Nothing to restore.
2025-01-08T17:11:16.191Z root INFO Initialize the workbench layout: 8.3 ms [Finished 0.928 s after frontend start]
2025-01-08T17:11:16.191Z root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
2025-01-08T17:11:16.200Z root INFO [66b9e393-6453-4a4d-891c-ee1c15988930] Waiting for backend deployment: 38.2 ms [Finished 0.945 s after frontend start]
2025-01-08T17:11:16.450Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832) starting instance
2025-01-08T17:11:17.429Z root INFO Frontend application start: 1365.4 ms [Finished 43.224 s after backend start]
2025-01-08T17:11:17.435Z root INFO Replace loading indicator with ready workbench UI (animation): 815.3 ms [Finished 1.750 s after frontend start]
2025-01-08T17:11:17.435Z root INFO Changed application state from 'initialized_layout' to 'ready'.
2025-01-08T17:11:17.435Z root WARN Linked preference "workbench.colorCustomizations" not found.
2025-01-08T17:11:17.435Z root INFO Executing startup tasks:
2025-01-08T17:11:17.435Z root INFO  - 'arduino-use-inherited-boards-config' , args: [{},{}]
2025-01-08T17:11:17.447Z root INFO [66b9e393-6453-4a4d-891c-ee1c15988930] Sync of 23 plugins: 1248.4 ms [Finished 2.193 s after frontend start]
2025-01-08T17:11:17.448Z root INFO [66b9e393-6453-4a4d-891c-ee1c15988930] Loading plugin contributions
2025-01-08T17:11:17.448Z root INFO [66b9e393-6453-4a4d-891c-ee1c15988930] Load contributions of 23 plugins: 12.4 ms [Finished 2.206 s after frontend start]
2025-01-08T17:11:17.450Z root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
2025-01-08T17:11:17.450Z root WARN a registered grammar configuration for 'cpp' language is overridden
2025-01-08T17:11:17.564Z root ERROR ---- !!!SLOW!!! DURATION: search took 128.226 ms. Args: [{"type":"Updatable"}] ----
2025-01-08T17:11:17.697Z root ERROR [hosted-plugin: 17832] Conflict in settings file Default: Ignoring cortex-debug.armToolchainPath.linux as cortex-debug.armToolchainPath is null
2025-01-08T17:11:17.697Z root ERROR [hosted-plugin: 17832] Conflict in settings file Default: Ignoring cortex-debug.armToolchainPath.osx as cortex-debug.armToolchainPath is null
Conflict in settings file Default: Ignoring cortex-debug.armToolchainPath.windows as cortex-debug.armToolchainPath is null
Conflict in settings file Default: Ignoring cortex-debug.JLinkGDBServerPath.linux as cortex-debug.JLinkGDBServerPath is null
2025-01-08T17:11:17.697Z root ERROR [hosted-plugin: 17832] Conflict in settings file Default: Ignoring cortex-debug.JLinkGDBServerPath.osx as cortex-debug.JLinkGDBServerPath is null
2025-01-08T17:11:17.697Z root ERROR [hosted-plugin: 17832] Conflict in settings file Default: Ignoring cortex-debug.JLinkGDBServerPath.windows as cortex-debug.JLinkGDBServerPath is null
2025-01-08T17:11:17.697Z root ERROR [hosted-plugin: 17832] Conflict in settings file Default: Ignoring cortex-debug.openocdPath.linux as cortex-debug.openocdPath is null
2025-01-08T17:11:17.697Z root ERROR [hosted-plugin: 17832] Conflict in settings file Default: Ignoring cortex-debug.openocdPath.osx as cortex-debug.openocdPath is null
2025-01-08T17:11:17.697Z root ERROR [hosted-plugin: 17832] Conflict in settings file Default: Ignoring cortex-debug.openocdPath.windows as cortex-debug.openocdPath is null
2025-01-08T17:11:17.697Z root ERROR [hosted-plugin: 17832] Conflict in settings file Default: Ignoring cortex-debug.pyocdPath.linux as cortex-debug.pyocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.pyocdPath.osx as cortex-debug.pyocdPath is null
2025-01-08T17:11:17.697Z root ERROR [hosted-plugin: 17832] Conflict in settings file Default: Ignoring cortex-debug.pyocdPath.windows as cortex-debug.pyocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.PEGDBServerPath.linux as cortex-debug.PEGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.PEGDBServerPath.osx as cortex-debug.PEGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.PEGDBServerPath.windows as cortex-debug.PEGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.stutilPath.linux as cortex-debug.stutilPath is null
Conflict in settings file Default: Ignoring cortex-debug.stutilPath.osx as cortex-debug.stutilPath is null
Conflict in settings file Default: Ignoring cortex-debug.stutilPath.windows as cortex-debug.stutilPath is null
Conflict in settings file Default: Ignoring cortex-debug.stlinkPath.linux as cortex-debug.stlinkPath is null
Conflict in settings file Default: Ignoring cortex-debug.stlinkPath.osx as cortex-debug.stlinkPath is null
Conflict in settings file Default: Ignoring cortex-debug.stlinkPath.windows as cortex-debug.stlinkPath is null
Conflict in settings file Default: Ignoring cortex-debug.stm32cubeprogrammer.linux as cortex-debug.stm32cubeprogrammer is null
Conflict in settings file Default: Ignoring cortex-debug.stm32cubeprogrammer.osx as cortex-debug.stm32cubeprogrammer is null
Conflict in settings file Default: Ignoring cortex-debug.stm32cubeprogrammer.windows as cortex-debug.stm32cubeprogrammer is null
2025-01-08T17:11:17.701Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): PluginManagerExtImpl/init()
2025-01-08T17:11:17.702Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-arduino-api@0.1.2 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.731Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(cortex-debug@1.5.1 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.731Z root INFO [hosted-plugin: 17832] Debugger contribution has been registered: cortex-debug
2025-01-08T17:11:17.732Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-arduino-tools@0.1.3 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.732Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(cpp@1.52.1 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.733Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(json@1.46.1 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.733Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(json-language-features@1.46.1 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.734Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-language-pack-bg@1.48.3 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.734Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-language-pack-cs@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.735Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-language-pack-de@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.735Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-language-pack-es@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.736Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-language-pack-fr@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.736Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-language-pack-hu@1.48.3 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.736Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-language-pack-it@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.736Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-language-pack-ja@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.737Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-language-pack-ko@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.737Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-language-pack-nl@1.48.3 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.737Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-language-pack-pl@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.737Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-language-pack-pt-BR@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.737Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-language-pack-ru@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.738Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-language-pack-tr@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.738Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-language-pack-uk@1.48.3 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.738Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-language-pack-zh-hans@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.738Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): initializing(vscode-language-pack-zh-hant@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:11:17.740Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): PluginManagerExtImpl/loadPlugin(C:\Program Files\Arduino IDE\resources\app\plugins\vscode-arduino-api\extension\dist\extension.js)
2025-01-08T17:11:17.742Z root INFO [hosted-plugin: 17832] calling activation function on Arduino IDE API for VS Code extensions
2025-01-08T17:11:17.743Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): PluginManagerExtImpl/loadPlugin(C:\Program Files\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain)
2025-01-08T17:11:17.758Z root INFO [hosted-plugin: 17832] calling activation function on JSON Language Features (built-in)
2025-01-08T17:11:17.771Z root INFO [66b9e393-6453-4a4d-891c-ee1c15988930] Starting plugins.
2025-01-08T17:11:17.779Z root INFO [hosted-plugin: 17832] PLUGIN_HOST(17832): PluginManagerExtImpl/loadPlugin(C:\Program Files\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension.js)
2025-01-08T17:11:17.795Z root INFO [hosted-plugin: 17832] Debug configuration provider has been registered: cortex-debug, trigger: 1
2025-01-08T17:11:17.795Z root INFO [hosted-plugin: 17832] calling activation function on Cortex-Debug
2025-01-08T17:11:17.797Z root INFO [hosted-plugin: 17832] GDB server console created
2025-01-08T17:11:17.799Z root INFO [66b9e393-6453-4a4d-891c-ee1c15988930] Start of 23 plugins: 351.0 ms [Finished 2.564 s after frontend start]
2025-01-08T17:11:17.832Z root ERROR [hosted-plugin: 17832] ApplicationInsights:CorrelationIdManager [
  Error: connect EACCES 20.50.88.241:443
      at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16) {
    errno: -4092,
    code: 'EACCES',
    syscall: 'connect',
    address: '20.50.88.241',
    port: 443
  }
]

To reproduce

  1. Open a new sketch.
  2. Save the sketch to a redirected folder.

🐛 A new sketch opens instead of the saved sketch.

Expected behavior

When saving to a redirected path, the file should be saved and opened in the current window.

Arduino IDE version

2.3.4

Operating system

Windows

Operating system version

Windows 10 22H2

Additional context

The sketch is saved to the intended path, but Arduino IDE does not open it from that path after saving


I assume this is caused by the same bug that causes opening sketches from a UNC path to fail (#1797).

The fault does not occur with sketches saved under a non-redirected folder:

Closing channel on service path '/services/electron-window'.
Closing channel on service path '/services/ide-updater'.
2025-01-08T17:10:07.366Z root ERROR Uncaught Exception:  Error: transport close
2025-01-08T17:10:07.366Z root ERROR Error: transport close
   at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1253913
   at Map.forEach (<anonymous>)
   at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1253892
   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)
   at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1248775
   at Map.forEach (<anonymous>)
   at Object.<anonymous> (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1248745)
   at e.dispose (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1214148)
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2025-01-08T17:10:08.190Z root WARN A command editor.action.toggleStickyScroll is already registered.
2025-01-08T17:10:08.291Z root INFO Start frontend contributions: 140.1 ms [Finished 0.896 s after frontend start]
2025-01-08T17:10:08.291Z root INFO Changed application state from 'init' to 'started_contributions'.
2025-01-08T17:10:08.291Z root INFO Changed application state from 'started_contributions' to 'attached_shell'.
2025-01-08T17:10:08.291Z root INFO >>> Restoring the layout state...
2025-01-08T17:10:08.291Z root INFO ------- SERIALIZED LAYOUT DATA -------
2025-01-08T17:10:08.291Z root INFO {"version":5,"mainPanel":{"main":{"type":"tab-area","widgets":[{"constructionOptions":{"factoryId":"code-editor-opener","options":{"counter":0,"kind":"navigatable","uri":"file:///c%3A/temp/sketch_test/sketch_test.ino"}},"innerWidgetState":"{\"cursorState\":[{\"inSelectionMode\":false,\"selectionStart\":{\"lineNumber\":3,\"column\":5},\"position\":{\"lineNumber\":3,\"column\":5}}],\"viewState\":{\"scrollLeft\":0,\"firstPosition\":{\"lineNumber\":1,\"column\":1},\"firstPositionDeltaTop\":0},\"contributionsState\":{\"editor.contrib.folding\":{\"lineCount\":10,\"provider\":\"indent\",\"foldedImports\":false},\"editor.contrib.wordHighlighter\":false}}"}],"currentIndex":0}},"mainPanelPinned":[false],"bottomPanel":{"config":{"main":null},"pinned":[],"expanded":false},"leftPanel":{"type":"sidepanel","items":[{"widget":{"constructionOptions":{"factoryId":"arduino-sketchbook-widget"}},"rank":1,"expanded":false,"pinned":false},{"widget":{"constructionOptions":{"factoryId":"boards-list-widget"}},"rank":2,"expanded":false,"pinned":false},{"widget":{"constructionOptions":{"factoryId":"library-list-widget"}},"rank":3,"expanded":false,"pinned":false},{"widget":{"constructionOptions":{"factoryId":"debug"},"innerWidgetState":"{\"parts\":[{\"partId\":\"debug:threads:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"debug:threads\"},\"innerWidgetState\":\"{}\"}},{\"partId\":\"debug:frames:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"debug:frames\"},\"innerWidgetState\":\"{}\"}},{\"partId\":\"debug:variables:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"debug:variables\"},\"innerWidgetState\":\"{}\"}},{\"partId\":\"debug:watch:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"debug:watch\"},\"innerWidgetState\":\"{}\"}},{\"partId\":\"debug:breakpoints:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"debug:breakpoints\"},\"innerWidgetState\":\"{}\"}},{\"partId\":\"plugin-view:cortex-debug.peripherals\",\"collapsed\":true,\"hidden\":true,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"plugin-view\",\"options\":{\"id\":\"plugin-view:cortex-debug.peripherals\",\"viewId\":\"cortex-debug.peripherals\"}},\"innerWidgetState\":\"{\\\"label\\\":\\\"Cortex Peripherals\\\",\\\"widgets\\\":[],\\\"suppressUpdateViewVisibility\\\":false,\\\"currentViewContainerId\\\":\\\"debug\\\"}\"}},{\"partId\":\"plugin-view:cortex-debug.registers\",\"collapsed\":true,\"hidden\":true,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"plugin-view\",\"options\":{\"id\":\"plugin-view:cortex-debug.registers\",\"viewId\":\"cortex-debug.registers\"}},\"innerWidgetState\":\"{\\\"label\\\":\\\"Cortex Registers\\\",\\\"widgets\\\":[],\\\"suppressUpdateViewVisibility\\\":false,\\\"currentViewContainerId\\\":\\\"debug\\\"}\"}}],\"title\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true}}"},"rank":4,"expanded":false,"pinned":false},{"widget":{"constructionOptions":{"factoryId":"search-view-container"},"innerWidgetState":"{\"parts\":[{\"partId\":\"search-in-workspace\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"search-view-container\",\"originalContainerTitle\":{\"label\":\"Search\",\"iconClass\":\"codicon codicon-search\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"search-in-workspace\"},\"innerWidgetState\":\"{\\\"matchCaseState\\\":{\\\"className\\\":\\\"codicon codicon-case-sensitive\\\",\\\"enabled\\\":false,\\\"title\\\":\\\"Match Case\\\"},\\\"wholeWordState\\\":{\\\"className\\\":\\\"codicon codicon-whole-word\\\",\\\"enabled\\\":false,\\\"title\\\":\\\"Match Whole Word\\\"},\\\"regExpState\\\":{\\\"className\\\":\\\"codicon codicon-regex\\\",\\\"enabled\\\":false,\\\"title\\\":\\\"Use Regular Expression\\\"},\\\"includeIgnoredState\\\":{\\\"className\\\":\\\"codicon codicon-eye\\\",\\\"enabled\\\":false,\\\"title\\\":\\\"Include Ignored Files\\\"},\\\"showSearchDetails\\\":false,\\\"searchInWorkspaceOptions\\\":{\\\"matchCase\\\":false,\\\"matchWholeWord\\\":false,\\\"useRegExp\\\":false,\\\"includeIgnored\\\":false,\\\"include\\\":[],\\\"exclude\\\":[],\\\"maxResults\\\":2000},\\\"searchTerm\\\":\\\"\\\",\\\"replaceTerm\\\":\\\"\\\",\\\"showReplaceField\\\":false,\\\"searchHistoryState\\\":{\\\"history\\\":[],\\\"index\\\":0},\\\"replaceHistoryState\\\":{\\\"history\\\":[],\\\"index\\\":0},\\\"includeHistoryState\\\":{\\\"history\\\":[],\\\"index\\\":0},\\\"excludeHistoryState\\\":{\\\"history\\\":[],\\\"index\\\":0}}\"}}],\"title\":{\"label\":\"Search\",\"iconClass\":\"fa fa-arduino-search\",\"closeable\":true}}"},"rank":5,"expanded":false,"pinned":false}]},"rightPanel":{"type":"sidepanel","items":[]},"activeWidgetId":"code-editor-opener:file:///c%3A/temp/sketch_test/sketch_test.ino:0"}
2025-01-08T17:10:08.291Z root INFO ------- END SERIALIZED LAYOUT DATA -------
2025-01-08T17:10:08.306Z root INFO [ecd24050-199c-4966-bbd4-bd659e41bff9] Waiting for backend deployment: 46.9 ms [Finished 0.941 s after frontend start]
2025-01-08T17:10:08.553Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328) starting instance
2025-01-08T17:10:09.528Z root INFO [ecd24050-199c-4966-bbd4-bd659e41bff9] Sync of 23 plugins: 1225.0 ms [Finished 2.166 s after frontend start]
2025-01-08T17:10:09.579Z root INFO <<< The layout has been successfully restored.
2025-01-08T17:10:09.607Z root INFO Initialize the workbench layout: 1312.9 ms [Finished 2.219 s after frontend start]
2025-01-08T17:10:09.608Z root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
2025-01-08T17:10:09.608Z root INFO [ecd24050-199c-4966-bbd4-bd659e41bff9] Loading plugin contributions
2025-01-08T17:10:09.608Z root INFO [ecd24050-199c-4966-bbd4-bd659e41bff9] Load contributions of 23 plugins: 27.6 ms [Finished 2.247 s after frontend start]
2025-01-08T17:10:09.628Z root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
2025-01-08T17:10:09.628Z root WARN a registered grammar configuration for 'cpp' language is overridden
2025-01-08T17:10:09.675Z root ERROR [hosted-plugin: 11328] Conflict in settings file Default: Ignoring cortex-debug.armToolchainPath.linux as cortex-debug.armToolchainPath is null
2025-01-08T17:10:09.675Z root ERROR [hosted-plugin: 11328] Conflict in settings file Default: Ignoring cortex-debug.armToolchainPath.osx as cortex-debug.armToolchainPath is null
Conflict in settings file Default: Ignoring cortex-debug.armToolchainPath.windows as cortex-debug.armToolchainPath is null
2025-01-08T17:10:09.675Z root ERROR [hosted-plugin: 11328] Conflict in settings file Default: Ignoring cortex-debug.JLinkGDBServerPath.linux as cortex-debug.JLinkGDBServerPath is null
2025-01-08T17:10:09.675Z root ERROR [hosted-plugin: 11328] Conflict in settings file Default: Ignoring cortex-debug.JLinkGDBServerPath.osx as cortex-debug.JLinkGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.JLinkGDBServerPath.windows as cortex-debug.JLinkGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.openocdPath.linux as cortex-debug.openocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.openocdPath.osx as cortex-debug.openocdPath is null
2025-01-08T17:10:09.675Z root ERROR [hosted-plugin: 11328] Conflict in settings file Default: Ignoring cortex-debug.openocdPath.windows as cortex-debug.openocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.pyocdPath.linux as cortex-debug.pyocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.pyocdPath.osx as cortex-debug.pyocdPath is null
2025-01-08T17:10:09.675Z root ERROR [hosted-plugin: 11328] Conflict in settings file Default: Ignoring cortex-debug.pyocdPath.windows as cortex-debug.pyocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.PEGDBServerPath.linux as cortex-debug.PEGDBServerPath is null
2025-01-08T17:10:09.675Z root ERROR [hosted-plugin: 11328] Conflict in settings file Default: Ignoring cortex-debug.PEGDBServerPath.osx as cortex-debug.PEGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.PEGDBServerPath.windows as cortex-debug.PEGDBServerPath is null
2025-01-08T17:10:09.675Z root ERROR [hosted-plugin: 11328] Conflict in settings file Default: Ignoring cortex-debug.stutilPath.linux as cortex-debug.stutilPath is null
Conflict in settings file Default: Ignoring cortex-debug.stutilPath.osx as cortex-debug.stutilPath is null
2025-01-08T17:10:09.676Z root ERROR [hosted-plugin: 11328] Conflict in settings file Default: Ignoring cortex-debug.stutilPath.windows as cortex-debug.stutilPath is null
Conflict in settings file Default: Ignoring cortex-debug.stlinkPath.linux as cortex-debug.stlinkPath is null
2025-01-08T17:10:09.676Z root ERROR [hosted-plugin: 11328] Conflict in settings file Default: Ignoring cortex-debug.stlinkPath.osx as cortex-debug.stlinkPath is null
Conflict in settings file Default: Ignoring cortex-debug.stlinkPath.windows as cortex-debug.stlinkPath is null
Conflict in settings file Default: Ignoring cortex-debug.stm32cubeprogrammer.linux as cortex-debug.stm32cubeprogrammer is null
2025-01-08T17:10:09.676Z root ERROR [hosted-plugin: 11328] Conflict in settings file Default: Ignoring cortex-debug.stm32cubeprogrammer.osx as cortex-debug.stm32cubeprogrammer is null
Conflict in settings file Default: Ignoring cortex-debug.stm32cubeprogrammer.windows as cortex-debug.stm32cubeprogrammer is null
2025-01-08T17:10:09.687Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): PluginManagerExtImpl/init()
2025-01-08T17:10:09.688Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-arduino-api@0.1.2 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.718Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(cortex-debug@1.5.1 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.718Z root INFO [hosted-plugin: 11328] Debugger contribution has been registered: cortex-debug
2025-01-08T17:10:09.719Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-arduino-tools@0.1.3 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.719Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(cpp@1.52.1 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.719Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(json@1.46.1 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.720Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(json-language-features@1.46.1 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.720Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-language-pack-bg@1.48.3 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.720Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-language-pack-cs@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.721Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-language-pack-de@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.721Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-language-pack-es@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.722Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-language-pack-fr@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.722Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-language-pack-hu@1.48.3 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.722Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-language-pack-it@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.723Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-language-pack-ja@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.723Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-language-pack-ko@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.723Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-language-pack-nl@1.48.3 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.723Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-language-pack-pl@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.724Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-language-pack-pt-BR@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.724Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-language-pack-ru@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.724Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-language-pack-tr@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.724Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-language-pack-uk@1.48.3 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.725Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-language-pack-zh-hans@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.725Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): initializing(vscode-language-pack-zh-hant@1.80.0 with C:\Program Files\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2025-01-08T17:10:09.765Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): PluginManagerExtImpl/loadPlugin(C:\Program Files\Arduino IDE\resources\app\plugins\vscode-arduino-api\extension\dist\extension.js)
2025-01-08T17:10:09.767Z root INFO [hosted-plugin: 11328] calling activation function on Arduino IDE API for VS Code extensions
2025-01-08T17:10:09.768Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): PluginManagerExtImpl/loadPlugin(C:\Program Files\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain)
2025-01-08T17:10:09.783Z root INFO [hosted-plugin: 11328] calling activation function on JSON Language Features (built-in)
2025-01-08T17:10:09.797Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): PluginManagerExtImpl/loadPlugin(C:\Program Files\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\extension.js)
2025-01-08T17:10:09.810Z root INFO [hosted-plugin: 11328] calling activation function on VS Code Arduino Tools
2025-01-08T17:10:09.819Z root INFO [ecd24050-199c-4966-bbd4-bd659e41bff9] Starting plugins.
2025-01-08T17:10:09.820Z root INFO [hosted-plugin: 11328] PLUGIN_HOST(11328): PluginManagerExtImpl/loadPlugin(C:\Program Files\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension.js)
2025-01-08T17:10:09.835Z root INFO [hosted-plugin: 11328] Debug configuration provider has been registered: cortex-debug, trigger: 1
2025-01-08T17:10:09.835Z root INFO [hosted-plugin: 11328] calling activation function on Cortex-Debug
2025-01-08T17:10:09.837Z root INFO [hosted-plugin: 11328] GDB server console created
2025-01-08T17:10:09.839Z root INFO [ecd24050-199c-4966-bbd4-bd659e41bff9] Start of 23 plugins: 230.1 ms [Finished 2.480 s after frontend start]
2025-01-08T17:10:09.894Z root ERROR [hosted-plugin: 11328] ApplicationInsights:CorrelationIdManager [
 Error: connect EACCES 20.50.88.242:443
     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16) {
   errno: -4092,
   code: 'EACCES',
   syscall: 'connect',
   address: '20.50.88.242',
   port: 443
 }
]
2025-01-08T17:10:10.493Z root INFO Replace loading indicator with ready workbench UI (animation): 820.4 ms [Finished 3.069 s after frontend start]
2025-01-08T17:10:10.493Z root INFO Changed application state from 'initialized_layout' to 'ready'.
2025-01-08T17:10:10.493Z root WARN Linked preference "workbench.colorCustomizations" not found.
2025-01-08T17:10:10.493Z root INFO Frontend application start: 2311.3 ms [Finished 42.438 s after backend start]
2025-01-08T17:10:10.494Z root INFO Executing startup tasks:
2025-01-08T17:10:10.494Z root INFO  - 'arduino-use-inherited-boards-config' , args: [{},{}]
2025-01-08T17:10:10.618Z root ERROR ---- !!!SLOW!!! DURATION: search took 124.052 ms. Args: [{"type":"Updatable"}] ----

Related

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@UNISTRAPHIOlivier UNISTRAPHIOlivier added the type: imperfection Perceived defect in any part of project label Jan 8, 2025
@UNISTRAPHIOlivier UNISTRAPHIOlivier changed the title Save on desktop when redirection folder is actived open new empty sketch Save on desktop when redirection folder is actived or on UNC open new empty sketch Jan 8, 2025
@per1234 per1234 changed the title Save on desktop when redirection folder is actived or on UNC open new empty sketch Unable to open sketch saved under redirected folder Jan 8, 2025
@per1234 per1234 added the topic: theia Related to the Theia IDE framework label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: theia Related to the Theia IDE framework type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants