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

Bug#1036197: marked as done (ibus-pinyin setup broken with Python >= 3.10 due to gettext.bind_textdomain_codeset)



Your message dated Wed, 17 May 2023 06:48:44 +0000
with message-id <E1pzAxo-00FjPo-A7@fasolo.debian.org>
and subject line Bug#1036197: fixed in ibus-pinyin 1.5.0-9
has caused the Debian Bug report #1036197,
regarding ibus-pinyin setup broken with Python >= 3.10 due to gettext.bind_textdomain_codeset
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.)


-- 
1036197: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036197
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ibus-pinyin
Version: 1.5.0-8
Severity: important

Dear Maintainer,

How to reproduce?
- ensure you are running a flavour of Debian that features Python >= 3.10
- install ibus and ibus-pinyin
- run ibus-setup in a terminal
- select the "Input Method" tab
- click "Add" > Chinese > Pinyin > Add
- select "Chinese - Pinyin"
- click Preferences

Outcome:
1. no dialog appear on screen
2. the following Python stacktrace appears in the terminal:
  Traceback (most recent call last):
    File "/usr/share/ibus-pinyin/setup/main.py", line 428, in <module>
      main()
    File "/usr/share/ibus-pinyin/setup/main.py", line 424, in main
      PreferencesDialog(name).run()
      ^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/share/ibus-pinyin/setup/main.py", line 44, in __init__
      gettext.bind_textdomain_codeset("ibus-pinyin", "UTF-8")
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  AttributeError: module 'gettext' has no attribute 'bind_textdomain_codeset'

The python documentation[1] reports that
gettext.bind_textdomain_codeset(domain, codeset=None) is "Deprecated since
version 3.8, removed in version 3.10", hence the stacktrace.

Let me know if you need further information.

[1]  https://docs.python.org/3.10/library/gettext.html

-- System Information:
Debian Release: 12.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-8-amd64 (SMP w/4 CPU threads; PREEMPT)
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)

Versions of packages ibus-pinyin depends on:
ii  gir1.2-gtk-3.0   3.24.37-2
ii  gir1.2-ibus-1.0  1.5.27-5
ii  libc6            2.36-9
ii  libgcc-s1        12.2.0-14
ii  libglib2.0-0     2.74.6-2
ii  libibus-1.0-5    1.5.27-5
ii  liblua5.4-0      5.4.4-3
ii  libpyzy-1.0-0v5  1.0.1-8
ii  libsqlite3-0     3.40.1-2
ii  libstdc++6       12.2.0-14
ii  python3          3.11.2-1+b1
ii  python3-gi       3.42.2-3+b1
ii  python3-xdg      0.28-2

ibus-pinyin recommends no packages.

ibus-pinyin suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: ibus-pinyin
Source-Version: 1.5.0-9
Done: Gunnar Hjalmarsson <gunnarhj@debian.org>

We believe that the bug you reported is fixed in the latest version of
ibus-pinyin, 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 1036197@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-pinyin 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: Wed, 17 May 2023 08:17:28 +0200
Source: ibus-pinyin
Built-For-Profiles: noudeb
Architecture: source
Version: 1.5.0-9
Distribution: experimental
Urgency: medium
Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Changed-By: Gunnar Hjalmarsson <gunnarhj@debian.org>
Closes: 1036197
Launchpad-Bugs-Fixed: 2019921
Changes:
 ibus-pinyin (1.5.0-9) experimental; urgency=medium
 .
   * Team upload
   * Fix removed python gettext API (closes: #1036197, LP: #2019921)
   * Bump Standards-Version to 4.6.2
   * Specify Gtk version (LP: #2019921)
Checksums-Sha1:
 50d4273f6748bd2017a235ed5c93dc5241df3d44 1811 ibus-pinyin_1.5.0-9.dsc
 7a94a223ce07faba1ef8a269ac8fbfca8ea00a03 10948 ibus-pinyin_1.5.0-9.debian.tar.xz
 50d37919272e5af4f86d5738cace5ad4e843865d 9718 ibus-pinyin_1.5.0-9_source.buildinfo
Checksums-Sha256:
 b22ffafc342551bfabb4f89f295a4995c9e192323f117bb7ac3c6d7c4265ecaa 1811 ibus-pinyin_1.5.0-9.dsc
 057b7651c92e743b11b4d1158b122d4c9497d4c1b332cf42b7f866d908b84857 10948 ibus-pinyin_1.5.0-9.debian.tar.xz
 7e657d1ca17c868aa47acce497514947788ae02dfe9f77410dc3d9044e59ab3c 9718 ibus-pinyin_1.5.0-9_source.buildinfo
Files:
 09ac986012d562d117299db78828e247 1811 utils optional ibus-pinyin_1.5.0-9.dsc
 68a8345936b2181a4490283ab8c4918b 10948 utils optional ibus-pinyin_1.5.0-9.debian.tar.xz
 8efecd6c815c173a2d7c81cb1d340119 9718 utils optional ibus-pinyin_1.5.0-9_source.buildinfo

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

iQEzBAEBCAAdFiEEDP6Ze3JFgKf6cvjP8LEQ51ppLzIFAmRkcpIACgkQ8LEQ51pp
LzJE9Af/frWeBsXzibrdznPGAhZJMh5XCN07WnSphh/Vaji2iMptGdSYfp+e9pHh
0wGTZLeMk/n1jB20p7LxzMLEI7Btr3CzZdnugWVWqdWvjX1i8+iDGgP72XRPvlcC
REt79PJm08coWwdlHG38okTONMwjHVZv3O2ccjBmxRaQdXPbMbHetczHp6GBarWL
4xrE98WLTrfqGuZjuaR/cp9sjwSOcCL0MglzYBUYYQUApnGWy1Z3UDUKfs1mLwPl
qX4QZj5esxJGF0dRWRQ13g9tCdSvRAPbv73wwRV5XhjuGt7OWeZMNW5stGyWQmkH
cBuiLyHljXPI/SnDvXVcIhzdVcQaCw==
=N5FO
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: