Bug 2272902 - ibus-pinyin preferences window fails to open
Summary: ibus-pinyin preferences window fails to open
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus-pinyin
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Peng Wu
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-03 07:25 UTC by David Lunn
Modified: 2024-04-19 21:32 UTC (History)
4 users (show)

Fixed In Version: ibus-pinyin-1.5.1-1.fc39 ibus-pinyin-1.5.1-1.fc40
Clone Of:
Environment:
Last Closed: 2024-04-17 02:19:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Lunn 2024-04-03 07:25:40 UTC
By running ibus-setup from a terminal, I am able to diagnose the origin of this issue with this output: 
```Traceback (most recent call last):
  File "/usr/share/ibus-pinyin/setup/main.py", line 31, in <module>
    from xdg import BaseDirectory
ModuleNotFoundError: No module named 'xdg'
```

The module 'xdg' has been deprecated in favour of 'xdg-base-dirs'. It would be possible to rewrite the code to use 'xdg-base-dirs', however upstream has simply removed that line of code in this [commit](https://github.com/ibus/ibus-pinyin/commit/616770084991de0f36bea7b5861ef1b1657c9a31#diff-be8f20178455c0f31580ba5c7360a832cc2baf0dab1b6c0cfe5a88525fec94d2)

Reproducible: Always

Steps to Reproduce:
1. Open "Preferences" for ibus-pinyin from the keyboard layout switcher in GNOME top bar
Actual Results:  
Nothing happens.

Expected Results:  
The preferences window for ibus-pinyin should open.

I notice that Debian considers ibus-pinyin deprecated. I’d like some clarification if possible on Fedora’s stance on continuing to maintain the ibus-pinyin package, as the aforementioned commit didn't seem to find its way into the Fedora package, either when it was committed or in the 6 years since then.

Comment 1 Fedora Update System 2024-04-09 08:41:32 UTC
FEDORA-2024-6afedad036 (ibus-pinyin-1.5.1-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-6afedad036

Comment 2 Fedora Update System 2024-04-09 08:41:33 UTC
FEDORA-2024-10a3c4d940 (ibus-pinyin-1.5.1-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-10a3c4d940

Comment 3 Fedora Update System 2024-04-09 18:16:26 UTC
FEDORA-2024-10a3c4d940 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-10a3c4d940`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-10a3c4d940

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2024-04-09 18:22:40 UTC
FEDORA-2024-6afedad036 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-6afedad036`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-6afedad036

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2024-04-17 02:19:01 UTC
FEDORA-2024-10a3c4d940 (ibus-pinyin-1.5.1-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2024-04-19 21:32:50 UTC
FEDORA-2024-6afedad036 (ibus-pinyin-1.5.1-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.