Othman does not run at all on Ubuntu 22.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
othman (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned | ||
Kinetic |
Fix Released
|
High
|
Unassigned |
Bug Description
Impact
------
Othman won't run in Ubuntu 22.04 LTS because it tries to import Gtk with gobject-
Test Case
---------
Install and run othman as demonstrated in the original bug report. The app should run normally.
What Could Go Wrong
-------------------
The app already does not work for most users. This is a trivial and correct fix.
Original Bug Report
-------------------
Hello.
Othman, the open source Quran browser, does not run at all in Ubuntu 22.04.
After installing it with:
$ sudo apt install othman
If you try to run the program, you will get the following error:
mhsabbagh@
/usr/lib/
from gi.repository import Gtk, Gdk, GLib, Pango, GdkPixbuf
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/lib/
w = othmanUi()
File "/usr/lib/
self.
TypeError: <gtkUi.othmanUi object at 0x7f8ab7dd6c80 (othman+
However, this error seems to be in Ubuntu 22.04 only; I installed Debian 11 (which ships the exact same version of Othman, 0.6.0-2), and it runs without problems (image attached).
I have found that if we just add these two lines to /usr/lib/
import gi
gi.require_
So it sounds like the issue is that since the Gtk version required isn't specified, it is trying to import Gtk 4.0 (which the program isn't designed to work with).
Can anyone create a patch file with these two lines and update it in the Ubuntu package?
Thanks.
Changed in othman (Ubuntu): | |
importance: | Undecided → High |
status: | Confirmed → Fix Committed |
Changed in othman (Ubuntu Jammy): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in othman (Ubuntu Kinetic): | |
importance: | Undecided → High |
status: | New → Triaged |
description: | updated |
tags: |
added: verification-done verification-done-jammy verification-done-kinetic removed: verification-needed verification-needed-jammy verification-needed-kinetic |
Status changed to 'Confirmed' because the bug affects multiple users.