sciancio / connectionmanager2

Simple GUI app for Gnome 3 that provides a menu for initiating SSH/Telnet connections
60 stars 45 forks source link

does not load in fedora 32, gnome 3.36 #69

Open pieska opened 4 years ago

pieska commented 4 years ago

gnome-shell[5291]: JS ERROR: Extension connectionmanager2@ciancio.net: TypeError: theme is null init@/usr/share/gnome-shell/extensions/connectionmanager2@ciancio.net/extension.js:356:5 _callExtensionInit@resource:///org/gnome/shell/ui/extensionSystem.js:406:50 loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:332:27 _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:568:18 collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17 _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:547:19 _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:577:18 _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:608:18 init@resource:///org/gnome/shell/ui/extensionSystem.js:54:14 _initializeUI@resource:///org/gnome/shell/ui/main.js:254:22 start@resource:///org/gnome/shell/ui/main.js:143:5 @

:1:47

I can't fix it, i just can report it, hopefully someone knows how to fix it.

pieska commented 4 years ago

by commenting this line out th eextension loads but the settings do not open and the icons look strange


function init(extensionMeta) {
    extensionPath = extensionMeta.path;

    let theme = imports.gi.Gtk.IconTheme.get_default();
//    theme.append_search_path(extensionPath);

}
pieska commented 4 years ago

the settings manager does not start because of

gnome-shell[2992]: File "/usr/share/gnome-shell/extensions/connectionmanager2@ciancio.net/connmgr.py", line 21, in gnome-shell[2992]: import gi gnome-shell[2992]: ImportError: No module named gi

there's no pygobject3, https://bugzilla.redhat.com/show_bug.cgi?id=1787247

didierm commented 4 years ago

F32, python3 (quick & dirty) :

lx183 commented 3 years ago

This helped for my setup with rhel8.2. Just make sure to configure:

alternatives --set python /usr/bin/python3

or use "python3" instead of "python"