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

some GJS error logs #1

Open
lVentus opened this issue May 13, 2024 · 2 comments
Open

some GJS error logs #1

lVentus opened this issue May 13, 2024 · 2 comments

Comments

@lVentus
Copy link

lVentus commented May 13, 2024

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
Copy link
Owner

nine7nine commented May 13, 2024

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
Copy link
Author

lVentus commented May 14, 2024

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

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

2 participants