Bug 2175009 - [abrt] ibus-typing-booster: get_active_window_xprop(): itb_active_window.py:278:get_active_window_xprop:IndexError: list index out of range
Summary: [abrt] ibus-typing-booster: get_active_window_xprop(): itb_active_window.py:2...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus-typing-booster
Version: 37
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mike FABIAN
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:78f49ee372a021879fa593d71dd...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-02 20:11 UTC by Aiham Alkaseer
Modified: 2023-05-03 03:50 UTC (History)
3 users (show)

Fixed In Version: ibus-typing-booster-2.22.4-1.fc38 ibus-typing-booster-2.22.4-1.fc37 ibus-typing-booster-2.22.4-1.fc36
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-28 02:36:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.16 KB, text/plain)
2023-03-02 20:11 UTC, Aiham Alkaseer
no flags Details
File: cpuinfo (2.84 KB, text/plain)
2023-03-02 20:11 UTC, Aiham Alkaseer
no flags Details
File: environ (1.37 KB, text/plain)
2023-03-02 20:11 UTC, Aiham Alkaseer
no flags Details
File: mountinfo (3.38 KB, text/plain)
2023-03-02 20:11 UTC, Aiham Alkaseer
no flags Details
File: namespaces (172 bytes, text/plain)
2023-03-02 20:11 UTC, Aiham Alkaseer
no flags Details
File: open_fds (3.64 KB, text/plain)
2023-03-02 20:11 UTC, Aiham Alkaseer
no flags Details

Description Aiham Alkaseer 2023-03-02 20:11:22 UTC
Description of problem:
Wake up after suspend.

Version-Release number of selected component:
ibus-typing-booster-2.19.10-1.fc37

Additional info:
reporter:       libreport-2.17.4
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/org.freedesktop.IBus.session.GNOME.service
cmdline:        /usr/bin/python3 /usr/share/ibus-typing-booster/engine/main.py --ibus
crash_function: get_active_window_xprop
exception_type: IndexError
executable:     /usr/share/ibus-typing-booster/engine/main.py
interpreter:    python3-3.11.1-1.fc37.x86_64
kernel:         6.0.15-300.fc37.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
itb_active_window.py:278:get_active_window_xprop:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/share/ibus-typing-booster/engine/hunspell_table.py", line 6302, in do_focus_in
    self.do_focus_in_id('', '')
  File "/usr/share/ibus-typing-booster/engine/hunspell_table.py", line 6343, in do_focus_in_id
    _window_title) = itb_active_window.get_active_window()
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/ibus-typing-booster/engine/itb_active_window.py", line 315, in get_active_window
    (program_name, window_title) = get_active_window_xprop()
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/ibus-typing-booster/engine/itb_active_window.py", line 278, in get_active_window_xprop
    program_name = result.stdout.split(
                   ^^^^^^^^^^^^^^^^^^^^
IndexError: list index out of range

Local variables in innermost frame:
program_name: ''
window_title: ''
xprop_binary: '/usr/bin/xprop'
result: CompletedProcess(args=['/usr/bin/xprop', '-id', '0x1600070', '-f', 'WM_CLASS', '0s', 'WM_CLASS'], returncode=0, stdout='WM_CLASS:  not found.\n', stderr='')
window_id: '0x1600070'

Comment 1 Aiham Alkaseer 2023-03-02 20:11:25 UTC
Created attachment 1947579 [details]
File: backtrace

Comment 2 Aiham Alkaseer 2023-03-02 20:11:26 UTC
Created attachment 1947580 [details]
File: cpuinfo

Comment 3 Aiham Alkaseer 2023-03-02 20:11:27 UTC
Created attachment 1947581 [details]
File: environ

Comment 4 Aiham Alkaseer 2023-03-02 20:11:28 UTC
Created attachment 1947582 [details]
File: mountinfo

Comment 5 Aiham Alkaseer 2023-03-02 20:11:29 UTC
Created attachment 1947583 [details]
File: namespaces

Comment 6 Aiham Alkaseer 2023-03-02 20:11:31 UTC
Created attachment 1947584 [details]
File: open_fds

Comment 7 Fedora Update System 2023-04-24 15:26:19 UTC
FEDORA-2023-c2d078c8b8 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c2d078c8b8

Comment 8 Fedora Update System 2023-04-24 15:26:54 UTC
FEDORA-2023-8b38314f42 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8b38314f42

Comment 9 Fedora Update System 2023-04-24 17:16:28 UTC
FEDORA-2023-c0ac36357b has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c0ac36357b

Comment 10 Fedora Update System 2023-04-25 03:21:25 UTC
FEDORA-2023-c0ac36357b has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-c0ac36357b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-c0ac36357b

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

Comment 11 Fedora Update System 2023-04-25 03:26:50 UTC
FEDORA-2023-8b38314f42 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-8b38314f42`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-8b38314f42

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

Comment 12 Fedora Update System 2023-04-25 03:51:50 UTC
FEDORA-2023-c2d078c8b8 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-c2d078c8b8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-c2d078c8b8

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

Comment 13 Fedora Update System 2023-04-28 02:36:07 UTC
FEDORA-2023-c0ac36357b has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2023-05-03 03:01:17 UTC
FEDORA-2023-8b38314f42 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2023-05-03 03:50:18 UTC
FEDORA-2023-c2d078c8b8 has been pushed to the Fedora 36 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.