aleksandr@linux-b0ak:~/pyglossary> python3 main.py
Module 'lxml' not found, skipping plugin 'appledict_bin'
Traceback (most recent call last):
File "main.py", line 423, in <module>
__import__("ui.ui_%s" % ui_type2),
File "/home/aleksandr/pyglossary/ui/ui_gtk.py", line 42, in <module>
gi.require_version("Gtk", "3.0")
File "/usr/lib64/python3.6/site-packages/gi/__init__.py", line 130, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gtk not available
Obviously, I need to have gtk3 installed, which I don’t have. I try using zypper to deal with it and I get:
aleksandr@linux-b0ak:~/pyglossary> sudo zypper in gtk3
[sudo] password for root:
Sorry, try again.
[sudo] password for root:
Loading repository data...
Reading installed packages...
'gtk3' not found in package names. Trying capabilities.
'libgtk-3-0' providing 'gtk3' is already installed.
Resolving package dependencies...
Nothing to do.
I have python3-gobject already installed. I tried installing gobject-introspection, it went fine. The error message is still the same.
I also tried your build:
aleksandr@linux-b0ak:~/pyglossary> pyglossary
Module 'lxml' not found, skipping plugin 'appledict_bin'
/usr/bin/pyglossary: line 1: 17358 Segmentation fault (core dumped) /usr/share/pyglossary/main.py "$@"
I tried all the directories you mentioned. Not a trace, except ~/.pyglossary. I’ve deleted it. I’ve also reinstalled the program using zypper.
I still get the same error message.
aleksandr@linux-b0ak:~> pyglossary -v 4
Module 'lxml' not found, skipping plugin 'appledict_bin'
Loading plugins from directory: '/usr/lib/python3.6/site-packages/pyglossary/plugins'
Module 'lxml' not found, skipping plugin 'appledict_bin'
Plugin disabled or not a plugin: babylon_bdc
Plugin disabled or not a plugin: formats_common
Plugin disabled or not a plugin: gettext_mo
Plugin disabled or not a plugin: paths
Plugin disabled or not a plugin: stardict_test
Plugin disabled or not a plugin: testformat
Loading plugins from directory: '/home/aleksandr/.pyglossary/plugins'
prefOptions = {'remove_html_all': False}
/usr/bin/pyglossary: line 1: 21256 Segmentation fault (core dumped) /usr/share/pyglossary/main.py "$@"
Hi again.
I’ve set up a VirtualBox with the same OpenSUSE LEAP 15.1 installation on it.
I’ve only used the basic repos + codecs from pacman, I don’t think there might have been much interference from the messed up repos.
I have downloaded the original pyglossary project from GitHub, tried to run it in GTK, no luck.
I have also tried running your build again, now I get the error message:
Hi
So updated the package again to the latest git release, if you remove the manually installed from git package and try my one, also remove the ~/.pyglossary as well…
zypper in https://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_Leap_15.1/noarch/pyglossary-3.2.1+git20200413.0f0dbed-lp151.1.1.noarch.rpm