Skip to content

Error: Tried to construct an object without a GType; are you using GObject #105

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
pm314 opened this issue Dec 24, 2019 · 5 comments
Open

Comments

@pm314
Copy link

pm314 commented Dec 24, 2019

In Gnome 3.34.2 (solus) Argos runs but when I click on the "extension" header, no drop down appears. Same behavior on several scripts and types (sh, py)
Looking at the log I see the error above repeated many times (as many times as menu items?). I disabled all scripts but the Argos.sh and restarted and see the error just a couple of times.
I've already completely uninstalled Argos, manually removed any leftovers, etc just to be sure but the problem is still there. Downgrading to 3.34.1 seems to fix it.

The error above was also recently reported in github for Gnome Shell System Monitor extension by someone on Arch Gnome. There is an explanation of the fix needed. I may take a shot at this with Argo but I am not a JS developer.

@pm314
Copy link
Author

pm314 commented Jan 1, 2020

Just an update. This is the same issue as previous closed issue which is caused by a change in gjs. It was reverted back temporarily in gjs 1.58.3 but is now back (for good) in gjs 1.63.2.

@LaurentOngaro
Copy link

LaurentOngaro commented Feb 4, 2020

The extensions runs well in Gnome 3.42 (Arch linux) but the system log is flooded by the following message:
JS WARNING: [/home/focus/.local/share/gnome-shell/extensions/argos@pew.worldwidemann.com/menuitem.js 25]: Tried to construct an object without a GType; are you using GObject.registerClass() when inheriting from a GObject type?

I've cloned and copied the source code from github.
Is it possible to solve that or to remove the warning message in the log ?

@ElijahLynn
Copy link

ElijahLynn commented Feb 5, 2020

The extensions runs well in Gnome 3.42 (Arch linux) but the system log is flooded by the following message:
JS WARNING: [/home/focus/.local/share/gnome-shell/extensions/argos@pew.worldwidemann.com/menuitem.js 25]: Tried to construct an object without a GType; are you using GObject.registerClass() when inheriting from a GObject type?

I've cloned and copied the source code from github.
Is it possible to solve that or to remove the warning message in the log ?

Just came here to post this same issue, logs being flooded with this.

image

image

image

@LaurentOngaro
Copy link

I've just seen in the followinq PR that the author, p-e-w, has stopped maintaining argos.
So this issue won't be fixed for a while.
Bad news for us !

@real-or-random
Copy link

Now this appears again with the release of Gnome 3.36 as expected, see paradoxxxzero/gnome-shell-system-monitor-applet#551 (comment)

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

4 participants