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

does not load in fedora 32, gnome 3.36 #69

Open
pieska opened this issue Apr 28, 2020 · 4 comments
Open

does not load in fedora 32, gnome 3.36 #69

pieska opened this issue Apr 28, 2020 · 4 comments

Comments

@pieska
Copy link

pieska commented Apr 28, 2020

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
@

:1:47

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

@pieska
Copy link
Author

pieska commented Apr 28, 2020

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

pieska commented Apr 28, 2020

the settings manager does not start because of

gnome-shell[2992]: File "/usr/share/gnome-shell/extensions/[email protected]/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
Copy link

didierm commented May 12, 2020

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);

@lx183
Copy link

lx183 commented Oct 30, 2020

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"

pieska added a commit to pieska/connectionmanager2 that referenced this issue May 3, 2021
xkahn pushed a commit to xkahn/connectionmanager2 that referenced this issue Nov 26, 2023
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

3 participants