You are not logged in.
So I installed arduino-ide via pacman, version 2.3.2-1 and the UI is not populated at all, don't mind the code, but like on Fedora it worked flawlessly on first try and it had a UI, should I use something like distrobox or troubleshoot this instance?
Offline
I am also running into this issue. When checking the log there seems to be multiple relevant errors.
At first I was getting Vulkan dependency errors which should probably be fixed in the package:
Error occurred in handler for 'OpenPopup': Error: No handler registered for 'OpenPopup'
at WebContents.<anonymous> (node:electron/js2c/browser_init:2:79778)
at WebContents.emit (node:events:514:28)
After
sudo pacman -S vulkan-intel
I now see this:
Error occurred in handler for 'GetTitleStyleAtStartup': Error: No handler registered for 'GetTitleStyleAtStartup'
at WebContents.<anonymous> (node:electron/js2c/browser_init:2:79778)
at WebContents.emit (node:events:514:28)
...
Error occurred in handler for 'Arduino:IsFirstWindow': Error: No handler registered for 'Arduino:IsFirstWindow'
at WebContents.<anonymous> (node:electron/js2c/browser_init:2:79778)
at WebContents.emit (node:events:514:28)
...
2024-06-25T17:17:19.974Z root ERROR [hosted-plugin: 43930] Promise rejection not handled in one second: Error: Error invoking remote method 'AttachSecurityToken': Error: No handler registered for 'AttachSecurityToken' , reason: Error: Error invoking remote method 'AttachSecurityToken': Error: No handler registered for 'AttachSecurityToken'
I'm on GNOME / Wayland
I tried
arduino-ide --enable-features=UseOzonePlatform --ozone-platform=wayland
[z which just spits the same info messages but with a segfault
I think digging into workarounds for chromium/electron based apps would hopefully solve the issue here. Chromium wouldn't start for me at first, but the workaround I used that got it to work was --incognito
EDIT: Seemingly relevant forum thread, but couldn't solve the issue from it (plus I don't have an nvidia chip): https://bbs.archlinux.org/viewtopic.php?id=295527
Last edited by Keith Stellyes (2024-06-25 18:00:29)
Offline
Yeah the package in the Arch Linux extra repository is broken - menu bar not rendered at all etc. The prebuilt binary downloaded directly from arduino.cc works better.
Offline
Or the arduino-ide-bin AUR package also seems to work. I assume it uses the same binary.
Offline