So i had to rebuild my server and installed 2.0.3 from 1.3.15 prior so the configs all seem to have upgraded ok.
opensuse leap15.1 py3.6
The issue is, when I try and run deluge-gtk, i get the below.
installing from pip or rpm isn't making a difference, I get the same issue.
Gobject introspection is installed, so I'm at a loss. Any suggestions would be appreciated.
The error is below.
server6:~ # dg
Traceback (most recent call last):
File "/usr/bin/deluge-gtk", line 11, in <module>
load_entry_point('deluge==2.0.3', 'gui_scripts', 'deluge-gtk')()
File "/usr/lib/python3.6/site-packages/deluge/ui/gtk3/__init__.py", line 63, in start
Gtk().start()
File "/usr/lib/python3.6/site-packages/deluge/ui/gtk3/__init__.py", line 43, in start
from .gtkui import GtkUI
File "/usr/lib/python3.6/site-packages/deluge/ui/gtk3/gtkui.py", line 27, in <module>
from twisted.internet import defer, gtk3reactor
File "/usr/lib64/python3.6/site-packages/twisted/internet/gtk3reactor.py", line 26, in <module>
from twisted.internet import gireactor
File "/usr/lib64/python3.6/site-packages/twisted/internet/gireactor.py", line 78, in <module>
import gi.pygtkcompat
ModuleNotFoundError: No module named 'gi.pygtkcompat'
gtk issues on 2.0.3 install
Re: gtk issues on 2.0.3 install
If you have server then you usually don't have a UI so wouldn't use deluge-gtk but if you do then you need to install GTK3.
https://deluge.readthedocs.io/en/latest ... stall.html
https://deluge.readthedocs.io/en/latest ... stall.html
Re: gtk issues on 2.0.3 install
For some of the plugins I was using, i used X11 forwarding + gtk app to manage them on windows with Xming. Not *needed* except for the plugins.
Though, they are moot now, while I wait to upgrade.
Checking if that's already there.
Though, they are moot now, while I wait to upgrade.
Checking if that's already there.
Re: gtk issues on 2.0.3 install
So its installed (as far as I can tell from zypper) but I still get the same message.
| gtk3 | The GTK+ toolkit library (version 3) | srcpackage
i | gtk3-branding-openSUSE | The GTK+ toolkit library (version 3) -- openSUSE theme configuration | package
| gtk3-branding-upstream | Upstream theme configuration for the GTK+ toolkit library v3 | package
i | gtk3-data | Data files for the GTK+ toolkit library v3 | package
i+ | gtk3-devel | Development files for the GTK+ toolkit library v3 | package
| gtk3 | The GTK+ toolkit library (version 3) | srcpackage
i | gtk3-branding-openSUSE | The GTK+ toolkit library (version 3) -- openSUSE theme configuration | package
| gtk3-branding-upstream | Upstream theme configuration for the GTK+ toolkit library v3 | package
i | gtk3-data | Data files for the GTK+ toolkit library v3 | package
i+ | gtk3-devel | Development files for the GTK+ toolkit library v3 | package
Re: gtk issues on 2.0.3 install
So this looks like a packaging problem on opensuse, in their infinite widson they deleted pygtkcompat from python3-gobject package which breaks twisted.
Perhaps try install with pip3 https://pypi.org/project/PyGObject/
Perhaps try install with pip3 https://pypi.org/project/PyGObject/
Re: gtk issues on 2.0.3 install
Can you see if
python3-gobject-pygtkcompat
is available and fixes this?Re: gtk issues on 2.0.3 install
So it seems I don't get a package like that.
I did some digging and it was reported as a bug and a patch issued, trying to figure out if i should have it or not.
https://bugzilla.suse.com/show_bug.cgi?id=1110669
I did some digging and it was reported as a bug and a patch issued, trying to figure out if i should have it or not.
https://bugzilla.suse.com/show_bug.cgi?id=1110669
- vonProteus
- New User
- Posts: 6
- Joined: Mon Apr 20, 2020 2:48 pm
Re: gtk issues on 2.0.3 install
have similar problem on OSX 10.15.4 when trying to run
but week ago it work fine
do we have some workaround?
Code: Select all
Sarah:~ proteus$ deluge
Traceback (most recent call last):
File "/usr/local/bin/deluge", line 8, in <module>
sys.exit(start_ui())
File "/usr/local/lib/python3.7/site-packages/deluge/ui/ui_entry.py", line 143, in start_ui
ui.start()
File "/usr/local/lib/python3.7/site-packages/deluge/ui/gtk3/__init__.py", line 43, in start
from .gtkui import GtkUI
File "/usr/local/lib/python3.7/site-packages/deluge/ui/gtk3/gtkui.py", line 19, in <module>
import gi # isort:skip (Required before Gtk import).
ModuleNotFoundError: No module named 'gi'
do we have some workaround?
- vonProteus
- New User
- Posts: 6
- Joined: Mon Apr 20, 2020 2:48 pm
Re: gtk issues on 2.0.3 install
nevermind
it helped
Code: Select all
vonProteus@Sarah ~ % export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
vonProteus@Sarah ~ % pip3 install PyGObject