Page MenuHomeSolus

Polari fails to launch
Closed, ResolvedPublic

Description

Polari is the gnome IRC client which comes preloaded on Solus. It fails to start.

Jan 15 16:24:31 matt-pc dbus-daemon[1024]: [session uid=1000 pid=1024] Activating service name='org.gnome.Polari' requested by ':1.37' (uid=1000 pid=1275 comm="budgie-panel " label="unconfined")
Jan 15 16:24:31 matt-pc polari[10952]: JS ERROR: Error: Requiring Gdk, version 4.0: Typelib file for namespace 'Gdk', version '4.0' not found
                                       require@resource:///org/gnome/gjs/modules/esm//gi.js:14:24
                                       @gi://Gdk?version=4.0:3:25
Jan 15 16:24:31 matt-pc polari[10952]: Execution of main.js threw exception: Module <main> threw an exception
Jan 15 16:24:31 matt-pc dbus-daemon[1024]: [session uid=1000 pid=1024] Activated service 'org.gnome.Polari' failed: Process org.gnome.Polari exited with status 1
Jan 15 16:24:33 matt-pc systemd[1007]: tracker-extract-3.service: Succeeded.

Revisions and Commits

Event Timeline

Does installing libgtk-4 resolve the problem?

Ok yes it is missing libgtk-4 as the rundep, but polari still looks very blurry and outputs the following errors that look concerning (just part of; the complete list is much longer):

(polari:129824): Gtk-WARNING **: 21:27:04.634: Theme parser error: gtk-contained-dark.css:4835:225-244: No property named "-gtk-outline-radius"

(polari:129824): Gtk-WARNING **: 21:27:04.635: Theme parser error: gtk-contained-dark.css:4881:112-131: No property named "-gtk-outline-radius"

(polari:129824): Gtk-WARNING **: 21:27:04.635: Theme parser error: gtk-contained-dark.css:4927:94-113: No property named "-gtk-outline-radius"

(polari:129824): Gtk-WARNING **: 21:27:04.635: Theme parser error: gtk-contained-dark.css:5021:158-177: No property named "-gtk-outline-radius"

(polari:129824): Gtk-WARNING **: 21:27:04.635: Theme parser error: gtk-contained-dark.css:5023:158-177: No property named "-gtk-outline-radius"

(polari:129824): Gtk-WARNING **: 21:27:04.635: Theme parser error: gtk-contained-dark.css:5053:163-182: No property named "-gtk-outline-radius"

(polari:129824): Gtk-WARNING **: 21:27:04.635: Theme parser error: gtk-contained-dark.css:5059:211-230: No property named "-gtk-outline-radius"

(polari:129824): Gtk-WARNING **: 21:27:04.635: Theme parser error: gtk-contained-dark.css:5077:65-84: No property named "-gtk-outline-radius"

(polari:129824): Gsk-CRITICAL **: 21:27:06.113: gsk_radial_gradient_node_new: assertion 'color_stops[i].offset >= color_stops[i - 1].offset' failed

(polari:129824): Gsk-CRITICAL **: 21:27:06.113: gsk_render_node_ref: assertion 'GSK_IS_RENDER_NODE (node)' failed

(polari:129824): Gsk-CRITICAL **: 21:27:06.113: gsk_render_node_unref: assertion 'GSK_IS_RENDER_NODE (node)' failed

I think there's a problem with the theming.

Seeing as it will be a while until we switch away from Plata (or that issue gets fixed) I think a simple update to polari to get it working for now would be best. I'll submit a patch shortly.