Skip to content

Multiple "JavaScript error ocurred in the main process" when launching from a .desktop file #2340

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

Open
3 tasks done
fpp3 opened this issue Jan 25, 2024 · 3 comments
Open
3 tasks done
Labels
type: imperfection Perceived defect in any part of project

Comments

@fpp3
Copy link

fpp3 commented Jan 25, 2024

Describe the problem

A lot of error windows appear when launching and closing Arduino IDE (either the appimage version or the zip version) on Debian 12, with swaywm. Launching from terminal makes no errors to appear.

This error also occurs on the stable version of the IDE, but with a lot less popup windows

To reproduce

Use this .desktop file:

[Desktop Entry]
Name=Arduino IDE Nightly
Exec=/home/fpp/Aplicaciones/arduino-ide_nightly-20240125_Linux_64bit.AppImage
Terminal=false
Type=Application
Icon=arduino-ide
StartupWMClass=Arduino IDE
X-AppImage-Version=2.2.2-nightly-20240125
Comment=Arduino IDE
Categories=Development;

and launch app

Expected behavior

No errors should appear

Arduino IDE version

2.2.2-nightly-20240125

Operating system

Linux

Operating system version

Debian 12

Additional context

Picture of the error:
image
This error occurs 15 times when launching and 4 times when closing

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
@fpp3 fpp3 added the type: imperfection Perceived defect in any part of project label Jan 25, 2024
@LEKPHET-KUNSUE

This comment was marked as abuse.

@fpp3

This comment was marked as resolved.

@real-bombinho
Copy link

Same issue on

Ubuntu 24.04.1 LTS,
Arduino IDE Version: 2.3.4, Date: 2024-12-03T10:51:12.539Z, CLI Version: 1.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants