nine7nine / n7n-AGS-Shell

A Wayland/Hyprland Desktop Shell based on Aylur's GTK Shell
Other
13 stars 0 forks source link

some GJS error logs #1

Open lVentus opened 4 months ago

lVentus commented 4 months ago

sorry, i am new to linux, so maybe these are really stupid questions. And I use surface pro 8, when I run ags, with Aylur's dotfile, these logs appear:

(com.github.Aylur.ags:34574): Gjs-CRITICAL **: 18:26:16.484: JS ERROR: TypeError: section.get_file() is null
applyCss/<@resource:///com/github/Aylur/ags/app.js:73:34
applyCss@resource:///com/github/Aylur/ags/app.js:81:29
resetCss@file:///tmp/ags/main.js:585:9
async*@file:///tmp/ags/main.js:647:7
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

(com.github.Aylur.ags:34574): Gtk-WARNING **: 18:26:16.484: Theme parsing error: <data>:1555:12: Not using units is deprecated. Assuming 'px'.
(com.github.Aylur.ags:34574): Gtk-WARNING **: 18:26:16.484: Theme parsing error: <data>:1555:12: Not using units is deprecated. Assuming 'px'.

(com.github.Aylur.ags:34574): Gjs-WARNING **: 18:26:16.511: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:
  _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

(com.github.Aylur.ags:34574): Gjs-WARNING **: 18:26:16.511: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:
  _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

(com.github.Aylur.ags:34574): Gjs-Console-CRITICAL **: 18:26:16.539: net.hadess.PowerProfiles is not available
no icon substitute "nix-snowflake" for "nix-snowflake", fallback: "application-x-executable"
no icon substitute "nix-snowflake" for "nix-snowflake", fallback: "application-x-executable"
no icon substitute "nix-snowflake" for "nix-snowflake", fallback: "application-x-executable"
no icon substitute "nix-snowflake" for "nix-snowflake", fallback: "application-x-executable"
no icon substitute "code-url-handler" for "code-url-handler", fallback: "application-x-executable"

(com.github.Aylur.ags:34574): GLib-GObject-CRITICAL **: 18:26:16.857: value "-0.070000" of type 'gdouble' is invalid or out of range for property 'value' of type 'gdouble'

(com.github.Aylur.ags:34574): GLib-GObject-CRITICAL **: 18:26:16.857: value "-0.070000" of type 'gdouble' is invalid or out of range for property 'value' of type 'gdouble'

(com.github.Aylur.ags:34574): GLib-GObject-CRITICAL **: 18:26:16.857: value "-0.070000" of type 'gdouble' is invalid or out of range for property 'value' of type 'gdouble'
nine7nine commented 4 months ago

Next time I update some of these will be fixed (most are harmless), like the px ones (there's just a couple of spots i need to replace px with pt in theming/css).

this one;

no icon substitute "nix-snowflake" for "nix-snowflake", fallback: "application-x-executable"
no icon substitute "nix-snowflake" for "nix-snowflake", fallback: "application-x-executable"
no icon substitute "nix-snowflake" for "nix-snowflake", fallback: "application-x-executable"
no icon substitute "nix-snowflake" for "nix-snowflake", fallback: "application-x-executable"
no icon substitute "code-url-handler" for "code-url-handler", fallback: "application-x-executable"

the missing icon ones: no idea. there's no icon found for it, and it's being set to the fallback.

this too is harmless, but i think there is a workround for:

(com.github.Aylur.ags:34574): Gjs-Console-CRITICAL **: 18:26:16.539: net.hadess.PowerProfiles is not available

there is also a fix for. again, harmless though.

the promise rejection ones && section.get_file ones I need to sort out.

In any case: I'm aware of all of this. none of them should stop you from using the shell.

and you mean with my dotfiles, yeah? not Aylur's specifically?

lVentus commented 4 months ago

Yes, your dotfile. thank you for the work, I was also removing some thing from aylur's dotfile, then I found yours. thanks!