Задать вопрос
  • На свежей Windows11 не работает Arduino IDE 2.3.4. Что делать?

    @serg361
    продолжение лога

    2025-02-22T07:06:47.617Z daemon INFO time="2025-02-22T10:06:47+03:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.1"
    2025-02-22T07:06:47.617Z daemon INFO time="2025-02-22T10:06:47+03:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
    2025-02-22T07:06:47.630Z daemon INFO time="2025-02-22T10:06:47+03:00" level=info msg="Loading libraries index file" index="C:\\Users\\SergeyIL\\AppData\\Local\\Arduino15\\library_index.json"
    2025-02-22T07:06:47.630Z daemon INFO time="2025-02-22T10:06:47+03:00" level=info msg="Adding libraries dir" dir="C:\\Users\\SergeyIL\\AppData\\Local\\Arduino15\\libraries" isSingleLibrary=false location=ide
    2025-02-22T07:06:47.630Z daemon INFO time="2025-02-22T10:06:47+03:00" level=info msg="Adding libraries dir" dir="C:\\Users\\SergeyIL\\Documents\\Arduino\\libraries" isSingleLibrary=false location=user
    2025-02-22T07:06:47.631Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: ╨Ч╨░╨│╤А╤Г╨╖╨║╨░ ╨╕╨╜╨┤╨╡╨║╤Б╨╜╨╛╨│╨╛ ╤Д╨░╨╣╨╗╨░: ╤З╤В╨╡╨╜╨╕╨╡ library_index.json: open C:\Users\SergeyIL\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
    2025-02-22T07:06:47.635Z root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client The index of the cores and libraries must be updated before initializing the core gRPC client.
    The following problems were detected during the gRPC client initialization:
    [library-index] - code: 9, message: ╨Ч╨░╨│╤А╤Г╨╖╨║╨░ ╨╕╨╜╨┤╨╡╨║╤Б╨╜╨╛╨│╨╛ ╤Д╨░╨╣╨╗╨░: ╤З╤В╨╡╨╜╨╕╨╡ library_index.json: open C:\Users\SergeyIL\AppData\Local\Arduin 10:07
    2025-02-22T07:06:47.636Z daemon INFO time="2025-02-22T10:06:47+03:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_ind..."
    2025-02-22T07:06:47.637Z root INFO core-client-provider [library-index] ╨б╨║╨░╤З╨╕╨▓╨░╨╜╨╕╨╡ ╨╕╨╜╨┤╨╡╨║╤Б╨░: library_index.tar.bz2

    2025-02-22T07:06:49.292Z daemon INFO time="2025-02-22T10:06:49+03:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_ind..."
    2025-02-22T07:06:50.907Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: ╨Ю╤И╨╕╨▒╨║╨░ ╨┐╤А╨╛╨▓╨╡╤А╨║╨╕ ╤Б╨╕╨│╨╜╨░╤В╤Г╤А╤Л: signature expired: is your system clock set correctly?
    2025-02-22T07:06:50.917Z daemon INFO time="2025-02-22T10:06:50+03:00" level=info msg="Checking signature" index="C:\\Users\\SergeyIL\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\SergeyIL\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
    2025-02-22T07:06:50.917Z daemon INFO time="2025-02-22T10:06:50+03:00" level=info msg="Loading hardware from: C:\\Users\\SergeyIL\\AppData\\Local\\Arduino15\\packages"
    2025-02-22T07:06:50.918Z daemon INFO time="2025-02-22T10:06:50+03:00" level=info msg="Loading package builtin from: C:\\Users\\SergeyIL\\AppData\\Local\\Arduino15\\packages\\builtin"
    2025-02-22T07:06:50.918Z daemon INFO time="2025-02-22T10:06:50+03:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\SergeyIL\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
    time="2025-02-22T10:06:50+03:00" level=info msg="Loading tools from dir: C:\\Users\\SergeyIL\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
    2025-02-22T07:06:50.918Z daemon INFO time="2025-02-22T10:06:50+03:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
    2025-02-22T07:06:50.918Z daemon INFO time="2025-02-22T10:06:50+03:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
    2025-02-22T07:06:50.918Z daemon INFO time="2025-02-22T10:06:50+03:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
    2025-02-22T07:06:50.918Z daemon INFO time="2025-02-22T10:06:50+03:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.1"
    2025-02-22T07:06:50.918Z daemon INFO time="2025-02-22T10:06:50+03:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
    2025-02-22T07:06:50.931Z daemon INFO time="2025-02-22T10:06:50+03:00" level=info msg="Loading libraries index file" index="C:\\Users\\SergeyIL\\AppData\\Local\\Arduino15\\library_index.json"
    2025-02-22T07:06:50.931Z daemon INFO time="2025-02-22T10:06:50+03:00" level=info msg="Adding libraries dir" dir="C:\\Users\\SergeyIL\\AppData\\Local\\Arduino15\\libraries" isSingleLibrary=false location=ide
    2025-02-22T07:06:50.931Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: ╨Ч╨░╨│╤А╤Г╨╖╨║╨░ ╨╕╨╜╨┤╨╡╨║╤Б╨╜╨╛╨│╨╛ ╤Д╨░╨╣╨╗╨░: ╤З╤В╨╡╨╜╨╕╨╡ library_index.json: open C:\Users\SergeyIL\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
    2025-02-22T07:06:50.931Z daemon INFO time="2025-02-22T10:06:50+03:00" level=info msg="Adding libraries dir" dir="C:\\Users\\SergeyIL\\Documents\\Arduino\\libraries" isSingleLibrary=false location=user
    2025-02-22T07:06:50.932Z root ERROR Uncaught Exception: Error: The index of the cores and libraries must be updated before initializing the core gRPC client.
    The following problems were detected during the gRPC client initialization:
    [library-index] - code: 9, message: ╨Ч╨░╨│╤А╤Г╨╖╨║╨░ ╨╕╨╜╨┤╨╡╨║╤Б╨╜╨╛╨│╨╛ ╤Д╨░╨╣╨╗╨░: ╤З╤В╨╡╨╜╨╕╨╡ library_index.json: open C:\Users\SergeyIL\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

    2025-02-22T07:06:50.932Z root ERROR Error: The index of the cores and libraries must be updated before initializing the core gRPC client.
    The following problems were detected during the gRPC client initialization:
    [library-index] - code: 9, message: ╨Ч╨░╨│╤А╤Г╨╖╨║╨░ ╨╕╨╜╨┤╨╡╨║╤Б╨╜╨╛╨│╨╛ ╤Д╨░╨╣╨╗╨░: ╤З╤В╨╡╨╜╨╕╨╡ library_index.json: open C:\Users\SergeyIL\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

    at C:\Aduino2\resources\app\lib\backend\main.js:2:777546
    at v.evaluateErrorStatus (C:\Aduino2\resources\app\lib\backend\main.js:2:777562)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    Написано
  • На свежей Windows11 не работает Arduino IDE 2.3.4. Что делать?

    @serg361
    Вот лог запуска:

    Checking for frontend application configuration customizations. Module path: C:\Aduino2\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Aduino2\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: 11764
    Using browser-only version of superagent in non-browser environment
    Configuration directory URI: 'file:///c%3A/Users/SergeyIL/.arduinoIDE'
    Configuring to accept webviews on '^.+\.webview\..+$' hostname.
    2025-02-22T07:06:45.664Z root INFO Backend Object.initialize: 4.7 ms [Finished 0.619 s after backend start]
    2025-02-22T07:06:45.665Z root INFO Backend Object.configure: 3.7 ms [Finished 0.619 s after backend start]
    2025-02-22T07:06:45.665Z root INFO Backend s.onStart: 2.1 ms [Finished 0.619 s after backend start]
    2025-02-22T07:06:45.665Z root INFO Backend s.configure: 0.3 ms [Finished 0.645 s after backend start]
    2025-02-22T07:06:45.666Z root INFO Backend d.onStart: 0.3 ms [Finished 0.645 s after backend start]
    2025-02-22T07:06:45.667Z root INFO Backend d.configure: 0.1 ms [Finished 0.645 s after backend start]
    2025-02-22T07:06:45.668Z root INFO Backend d.initialize: 25.9 ms [Finished 0.646 s after backend start]
    2025-02-22T07:06:45.668Z root INFO Backend c.onStart: 0.3 ms [Finished 0.646 s after backend start]
    2025-02-22T07:06:45.669Z root INFO Backend a.configure: 1.2 ms [Finished 0.647 s after backend start]
    2025-02-22T07:06:45.670Z config INFO >>> Initializing CLI configuration...
    2025-02-22T07:06:45.670Z root INFO Backend c.initialize: 0.6 ms [Finished 0.647 s after backend start]
    2025-02-22T07:06:45.671Z root INFO Backend x.onStart: 0.8 ms [Finished 0.648 s after backend start]
    2025-02-22T07:06:45.671Z config INFO Loading CLI configuration from c:\Users\SergeyIL\.arduinoIDE\arduino-cli.yaml...
    2025-02-22T07:06:45.672Z daemon INFO Starting daemon from C:\Aduino2\resources\app\lib\backend\resources\arduino-cli.exe...
    2025-02-22T07:06:45.672Z root INFO Backend a.initialize: 0.5 ms [Finished 0.649 s after backend start]
    2025-02-22T07:06:45.672Z root INFO Backend w.onStart: 1.2 ms [Finished 0.650 s after backend start]
    2025-02-22T07:06:45.672Z root INFO Backend r.configure: 2.0 ms [Finished 0.650 s after backend start]
    2025-02-22T07:06:45.672Z discovery-log INFO start
    2025-02-22T07:06:45.672Z discovery-log INFO start new deferred
    2025-02-22T07:06:45.672Z root INFO Backend d.initialize: 0.5 ms [Finished 0.650 s after backend start]
    2025-02-22T07:06:45.672Z root INFO Backend y.onStart: 2.2 ms [Finished 0.652 s after backend start]
    2025-02-22T07:06:45.672Z root INFO Backend r.configure: 1.8 ms [Finished 0.652 s after backend start]
    2025-02-22T07:06:45.672Z root INFO Backend a.onStart: 0.5 ms [Finished 0.654 s after backend start]
    2025-02-22T07:06:45.672Z root INFO Backend h.configure: 0.4 ms [Finished 0.654 s after backend start]
    2025-02-22T07:06:45.672Z root INFO Backend s.configure: 0.2 ms [Finished 0.654 s after backend start]
    2025-02-22T07:06:45.672Z root INFO Backend l.configure: 0.1 ms [Finished 0.654 s after backend start]
    2025-02-22T07:06:45.675Z root INFO Theia app listening on 127.0.0.1:1483.
    2025-02-22T07:06:45.675Z root INFO Finished starting backend application: 3.3 ms [Finished 0.657 s after backend start]
    2025-02-22T07:06:45.680Z root WARN The local plugin referenced by local-dir:/c%3A/Users/SergeyIL/.arduinoIDE/plugins does not exist.
    2025-02-22T07:06:45.680Z root WARN The local plugin referenced by local-dir:/c%3A/Users/SergeyIL/.arduinoIDE/extensions does not exist.
    2025-02-22T07:06:45.681Z root WARN The local plugin referenced by local-dir:C:\Users\SergeyIL\.arduinoIDE\plugins does not exist.
    2025-02-22T07:06:45.697Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]}}
    2025-02-22T07:06:45.697Z config INFO Loading fallback CLI configuration to get 'directories.data' and 'directories.user'
    2025-02-22T07:06:45.717Z root INFO Resolve plugins list: 45.6 ms [Finished 0.698 s after backend start]
    2025-02-22T07:06:45.768Z daemon INFO time="2025-02-22T10:06:45+03:00" level=info msg="arduino-cli version 1.1.1"
    time="2025-02-22T10:06:45+03:00" level=info msg="Using config file: c:\\Users\\SergeyIL\\.arduinoIDE\\arduino-cli.yaml"
    time="2025-02-22T10:06:45+03:00" level=info msg="Executing `arduino-cli daemon`"
    ╨Ф╨╡╨╝╨╛╨╜ ╤Б╨╡╨╣╤З╨░╤Б ╤Б╨╗╤Г╤И╨░╨╡╤В 127.0.0.1: 1484
    {"IP":"127.0.0.1","Port":"1484"}
    2025-02-22T07:06:45.768Z daemon INFO Daemon is running.
    2025-02-22T07:06:45.810Z config INFO Loaded fallback CLI configuration: {"directories":{"user":"C:\\Users\\SergeyIL\\Documents\\Arduino","data":"C:\\Users\\SergeyIL\\AppData\\Local\\Arduino15"}}
    2025-02-22T07:06:45.810Z config INFO Merged CLI configuration with the fallback: {"directories":{"user":"C:\\Users\\SergeyIL\\Documents\\Arduino","data":"C:\\Users\\SergeyIL\\AppData\\Local\\Arduino15"},"board_manager":{"additional_urls":[]}}
    2025-02-22T07:06:45.810Z config INFO Loaded the CLI configuration.
    2025-02-22T07:06:45.812Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/SergeyIL/AppData/Local/Arduino1..."}
    2025-02-22T07:06:45.812Z config INFO Validating the CLI configuration...
    2025-02-22T07:06:45.815Z config INFO The CLI config is valid.
    2025-02-22T07:06:45.815Z config INFO <<< Initialized the CLI configuration.
    2025-02-22T07:06:45.826Z daemon INFO time="2025-02-22T10:06:45+03:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_ind..."
    2025-02-22T07:06:46.506Z root INFO Deploy plugins list: 45.6 ms [Finished 1.487 s after backend start]
    Opening channel for service path '/services/electron-window'.
    Opening channel for service path '/services/ide-updater'.
    2025-02-22T07:06:47.574Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 144.0 ms [Finished 1.803 s after frontend start]
    2025-02-22T07:06:47.574Z root WARN A command editor.action.toggleStickyScroll is already registered.
    2025-02-22T07:06:47.605Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: ╨Ю╤И╨╕╨▒╨║╨░ ╨┐╤А╨╛╨▓╨╡╤А╨║╨╕ ╤Б╨╕╨│╨╜╨░╤В╤Г╤А╤Л: signature expired: is your system clock set correctly?
    2025-02-22T07:06:47.615Z daemon INFO time="2025-02-22T10:06:47+03:00" level=info msg="Checking signature" index="C:\\Users\\SergeyIL\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\SergeyIL\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
    2025-02-22T07:06:47.616Z daemon INFO time="2025-02-22T10:06:47+03:00" level=info msg="Loading hardware from: C:\\Users\\SergeyIL\\AppData\\Local\\Arduino15\\packages"
    2025-02-22T07:06:47.616Z daemon INFO time="2025-02-22T10:06:47+03:00" level=info msg="Loading package builtin from: C:\\Users\\SergeyIL\\AppData\\Local\\Arduino15\\packages\\builtin"
    2025-02-22T07:06:47.616Z daemon INFO time="2025-02-22T10:06:47+03:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\SergeyIL\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
    time="2025-02-22T10:06:47+03:00" level=info msg="Loading tools from dir: C:\\Users\\SergeyIL\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
    2025-02-22T07:06:47.616Z daemon INFO time="2025-02-22T10:06:47+03:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
    2025-02-22T07:06:47.616Z daemon INFO time="2025-02-22T10:06:47+03:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
    time="2025-02-22T10:06:47+03:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
    Написано