[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1031734: marked as done (ibus-braille-preferences crashes when run)



Your message dated Tue, 21 Feb 2023 18:04:07 +0000
with message-id <E1pUWzn-008IhB-9S@fasolo.debian.org>
and subject line Bug#1031734: fixed in ibus-braille 0.3-8
has caused the Debian Bug report #1031734,
regarding ibus-braille-preferences crashes when run
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1031734: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031734
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ibus-braille
Version: 0.3-7
Severity: important

Upon running ibus-braille-preferences, I get this error:

```
aki:~ $ ibus-braille-preferences 
/usr/share/ibus-braille-preferences/main.py:24: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '4.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
/usr/share/ibus-braille-preferences/main.py:26: PyGIWarning: IBus was imported without specifying a version first. Use gi.require_version('IBus', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import IBus
Traceback (most recent call last):
  File "/usr/share/ibus-braille-preferences/main.py", line 265, in <module>
    ibus_sharada_braille_preferences()
  File "/usr/share/ibus-braille-preferences/main.py", line 36, in __init__
    self.guibuilder.add_from_file("/usr/share/ibus-braille-preferences/ui.glade")
gi.repository.GLib.GError: gtk-builder-error-quark: /usr/share/ibus-braille-preferences/ui.glade:75:52 Invalid property: GtkBox.border_width (11)
```

I suspect PyGIWarning is the clue: This probably requires GTK+ 3.x, not
4.x, but it doesn't specify what it needs. Seems line 26 is also going
to cause a potential problem. I suspect judicious use of the following
three lines added to a couple source files will fix it:

```python
from gi import require_version
require_version('Gtk', '3.0')
require_version('IBus', '1.0')
```

At least, that was all it took to get the preferences applet to run.
Didn't test the abbreviation or language editor with similar patches.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-3-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ibus-braille depends on:
ii  gir1.2-ibus-1.0   1.5.27-4
ii  gir1.2-pango-1.0  1.50.12+ds-1
ii  python3           3.11.1-3
ii  python3-espeak    0.5-5+b1
ii  python3-gi        3.42.2-3+b1
ii  python3-louis     3.24.0-1

Versions of packages ibus-braille recommends:
ii  python3-speechd  0.11.4-2

ibus-braille suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: ibus-braille
Source-Version: 0.3-8
Done: Gunnar Hjalmarsson <gunnarhj@debian.org>

We believe that the bug you reported is fixed in the latest version of
ibus-braille, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1031734@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gunnar Hjalmarsson <gunnarhj@debian.org> (supplier of updated ibus-braille package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 21 Feb 2023 18:40:51 +0100
Source: ibus-braille
Built-For-Profiles: noudeb
Architecture: source
Version: 0.3-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Changed-By: Gunnar Hjalmarsson <gunnarhj@debian.org>
Closes: 1031734
Changes:
 ibus-braille (0.3-8) unstable; urgency=medium
 .
   * Team upload
 .
   [ Samuel Thibault ]
   * control: Bump Standards-Version to 4.6.1 (no change).
   * control, rules: Replace dh-python and --with python3 with
    dh-sequence-python3.
 .
   [ Debian Janitor ]
   * Update watch file format version to 4.
   * Bump debhelper from old 12 to 13.
   * Set upstream metadata fields: Archive, Repository.
 .
   [ Gunnar Hjalmarsson ]
   * Specify version of imported libs (closes: #1031734).
Checksums-Sha1:
 daef6547fc1b5811185b95b18e32a2a0cd8a7c59 1645 ibus-braille_0.3-8.dsc
 89f6bab64f63cf284bbd61b8c77fd8d463bcc3a7 3828 ibus-braille_0.3-8.debian.tar.xz
 f704582618a5d37a765cb06bc3e8cc84fb497e8f 6830 ibus-braille_0.3-8_source.buildinfo
Checksums-Sha256:
 dca8992a92c3537e738d42f31ad64b3aba19e19167e89d7ae75bcc22a9783003 1645 ibus-braille_0.3-8.dsc
 e9a633f49f63eb2cc246619089763c5f907bb4c98c11eaf7820005d41364e28a 3828 ibus-braille_0.3-8.debian.tar.xz
 5a7626f7cf89c8416430ea445a961241c275319bea7769c9c79a43aa8106bf13 6830 ibus-braille_0.3-8_source.buildinfo
Files:
 a0dfd1ada72664be24a77075abc2aa6f 1645 utils optional ibus-braille_0.3-8.dsc
 c35b5872bd8c1ef2096f6ee56448d1f0 3828 utils optional ibus-braille_0.3-8.debian.tar.xz
 f097917702a8f09a77d8dba4a2185ac0 6830 utils optional ibus-braille_0.3-8_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEDP6Ze3JFgKf6cvjP8LEQ51ppLzIFAmP1AxYACgkQ8LEQ51pp
LzI27wf9Hm8/dG+rAf1kpyY5St0VYWWVlFkp7Gi6tOfU7PyNp8jCBl89yY7+bPpC
EShTnQGAq+ELvuTgcYeHvY/tjBgNfSKzgGVjdUx9+DQaErGkmgQEu7h6QMjQqotP
qYnHnoeUvIDzAVCEGOWJCob5fOXPu0XV4WVoXNG6GrxSQC9cLBnra5sonIZpzLxU
gyl/3EVd3tGPpZ2SjIcZI4/I+J+J7W+7ArENwb49WCckbqZ97Eg80jwMpvJwTIyc
soDEsl4IMULrRMUK1U49EgmC2JPsM2B+bQwf7XyLL1dPqcurmpPyxZsTsd5QpkhS
sxfxhmPWJyHefSLcIqCIsHGFDECtrg==
=FIf6
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: