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

[Issue] ags crashes when launching any applications with launcher. #505

Open
casglistro opened this issue May 17, 2024 · 2 comments
Open

Comments

@casglistro
Copy link
Contributor

  • I have read the Usage and the Troubleshooting pages of the wiki
  • I have made sure that both my config and system packages are up to date
  • Linux distro:
LSB Version:	n/a
Distributor ID:	Arch
Description:	Arch Linux
Release:	rolling
Codename:	n/a

The issue

ags crashes when launching any applications with launcher but not from the command line.
launch waterfox and logs from ags -r:

Click to expand
TypeError: screenCoords is undefined
Gjs-Console-Message: 14:23:25.616: [LOG] Styles loaded

(com.github.Aylur.ags:23094): Gjs-Console-WARNING **: 14:23:25.864: Error: can't assign "chromium-browser" as icon, it is not a file nor a named icon
set icon@resource:///com/github/Aylur/ags/widgets/icon.js:45:30
_handleParamProp@resource:///com/github/Aylur/ags/widgets/widget.js:124:13
Icon@resource:///com/github/Aylur/ags/widgets/icon.js:25:14
newIcon@resource:///com/github/Aylur/ags/widgets/icon.js:8:12
ElementTile@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:26:32
default/mainBoard<.children</<.children<@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:62:58
default/mainBoard<.children<@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:62:27
default@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:60:33
SheetContent/sheetContents[id]<.children<@file:///home/cagliostro/.config/ags/modules/cheatsheet/main.js:81:48
SheetContent@file:///home/cagliostro/.config/ags/modules/cheatsheet/main.js:81:31
default@file:///home/cagliostro/.config/ags/modules/cheatsheet/main.js:103:21
forMonitors@file:///home/cagliostro/.config/ags/config.js:29:24
Windows@file:///home/cagliostro/.config/ags/config.js:53:5
@file:///home/cagliostro/.config/ags/config.js:80:14
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
  

(com.github.Aylur.ags:23094): Gjs-Console-WARNING **: 14:23:26.071: Error: can't assign "chromium-browser" as icon, it is not a file nor a named icon
set icon@resource:///com/github/Aylur/ags/widgets/icon.js:45:30
_handleParamProp@resource:///com/github/Aylur/ags/widgets/widget.js:124:13
Icon@resource:///com/github/Aylur/ags/widgets/icon.js:25:14
newIcon@resource:///com/github/Aylur/ags/widgets/icon.js:8:12
ElementTile@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:26:32
default/mainBoard<.children</<.children<@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:62:58
default/mainBoard<.children<@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:62:27
default@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:60:33
SheetContent/sheetContents[id]<.children<@file:///home/cagliostro/.config/ags/modules/cheatsheet/main.js:81:48
SheetContent@file:///home/cagliostro/.config/ags/modules/cheatsheet/main.js:81:31
default@file:///home/cagliostro/.config/ags/modules/cheatsheet/main.js:103:21
forMonitors@file:///home/cagliostro/.config/ags/config.js:29:24
Windows@file:///home/cagliostro/.config/ags/config.js:53:5
@file:///home/cagliostro/.config/ags/config.js:80:14
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
  

(com.github.Aylur.ags:23094): Gjs-Console-WARNING **: 14:23:26.156: Error: can't assign "chromium-browser" as icon, it is not a file nor a named icon
set icon@resource:///com/github/Aylur/ags/widgets/icon.js:45:30
_handleParamProp@resource:///com/github/Aylur/ags/widgets/widget.js:124:13
Icon@resource:///com/github/Aylur/ags/widgets/icon.js:25:14
newIcon@resource:///com/github/Aylur/ags/widgets/icon.js:8:12
ElementTile@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:26:32
default/mainBoard<.children</<.children<@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:62:58
default/mainBoard<.children<@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:62:27
default@file:///home/cagliostro/.config/ags/modules/cheatsheet/periodictable.js:60:33
SheetContent/sheetContents[id]<.children<@file:///home/cagliostro/.config/ags/modules/cheatsheet/main.js:81:48
SheetContent@file:///home/cagliostro/.config/ags/modules/cheatsheet/main.js:81:31
default@file:///home/cagliostro/.config/ags/modules/cheatsheet/main.js:103:21
forMonitors@file:///home/cagliostro/.config/ags/config.js:29:24
Windows@file:///home/cagliostro/.config/ags/config.js:53:5
@file:///home/cagliostro/.config/ags/config.js:80:14
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
  

(com.github.Aylur.ags:23094): Gtk-WARNING **: 14:23:26.780: Attempting to add a widget with type Ags_Revealer to a container of type Ags_Box, but the widget is already inside a container of type Ags_Box, please remove the widget from its existing container first.

(com.github.Aylur.ags:23094): Gtk-WARNING **: 14:23:26.790: Attempting to add a widget with type Ags_Revealer to a container of type Ags_Box, but the widget is already inside a container of type Ags_Box, please remove the widget from its existing container first.

Gdk-Message: 14:23:49.200: Error reading events from display: broken pipe.
5-17-14.mp4
@end-4
Copy link
Owner

end-4 commented May 17, 2024

"Error reading events from display"

Probably a Hyprland issue. Been happening for me too (and at random, not exactly after launching an app), but idk why

@xXFiEsTaDeAmOnXx
Copy link

Removing exec-once = fcitx5 from the ~/.config/hypr/hyprland/execs.conf configuration file fixed the issue for me, but I was receiving a slightly different error than in the video when launching applications, which was "Error reading events from display: Broken pipe." However, please be aware that disabling fcitx5 might cause problems with input method support, particularly for non-Latin scripts and complex character input, which could affect text input functionality in some applications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants