connectionmanager2
connectionmanager2 copied to clipboard
does not load in fedora 32, gnome 3.36
gnome-shell[5291]: JS ERROR: Extension [email protected]: TypeError: theme is null
init@/usr/share/gnome-shell/extensions/[email protected]/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
@
I can't fix it, i just can report it, hopefully someone knows how to fix it.
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);
}
the settings manager does not start because of
gnome-shell[2992]: File "/usr/share/gnome-shell/extensions/[email protected]/connmgr.py", line 21, in
there's no pygobject3, https://bugzilla.redhat.com/show_bug.cgi?id=1787247
F32, python3 (quick & dirty) :
- connmgr.py :
32c32
< from StringIO import StringIO
---
> from io import StringIO
705c705
< if profileName.decode('utf-8') == row[3]:
---
> if profileName == row[3]:
- extension.js :
142,146c142
< try {
< Util.trySpawnCommandLine('python2 ' + this._prefFile);
< } catch (e) {
< Util.trySpawnCommandLine('python ' + this._prefFile);
< }
---
> Util.trySpawnCommandLine('python ' + this._prefFile);
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"