https://bugzilla.redhat.com/show_bug.cgi?id=2326692
Bug ID: 2326692 Summary: [abrt] ibus-typing-booster: endElement(): langtable.py:334:endElement:AttributeError: 'dict' object has no attribute '_names' Product: Fedora Version: 41 Hardware: x86_64 Status: NEW Whiteboard: abrt_hash:32b157848ec9b889f0697dbb2cbc8e8b8ed9f268;VAR IANT_ID=workstation; Component: ibus-typing-booster Assignee: mfabian@redhat.com Reporter: computer_nerd3@hotmail.com QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, mfabian@redhat.com Target Milestone: --- Classification: Fedora
Description of problem: I was adjusting the preferences of the Terminal. Although, ibus-typing-booster seems to crash regardless of what I'm doing.
Version-Release number of selected component: ibus-typing-booster-2.26.8-1.fc41
Additional info: reporter: libreport-2.17.15 kernel: 6.11.7-300.fc41.x86_64 cmdline: /usr/bin/python3 /usr/share/ibus-typing-booster/engine/main.py --ibus cgroup: 0::/user.slice/user-1001.slice/user@1001.service/session.slice/org.freedesktop.IBus.session.GNOME.service uid: 1001 reason: langtable.py:334:endElement:AttributeError: 'dict' object has no attribute '_names' executable: /usr/share/ibus-typing-booster/engine/main.py type: Python3 package: ibus-typing-booster-2.26.8-1.fc41 runlevel: N 5 exception_type: AttributeError crash_function: endElement interpreter: python3-3.13.0-1.fc41.x86_64 comment: I was adjusting the preferences of the Terminal. Although, ibus-typing-booster seems to crash regardless of what I'm doing.
Truncated backtrace: langtable.py:334:endElement:AttributeError: 'dict' object has no attribute '_names'
Traceback (most recent call last): File "/usr/share/ibus-typing-booster/engine/main.py", line 132, in <module> import factory File "/usr/share/ibus-typing-booster/engine/factory.py", line 37, in <module> import hunspell_table File "/usr/share/ibus-typing-booster/engine/hunspell_table.py", line 52, in <module> import itb_util File "/usr/share/ibus-typing-booster/engine/itb_util.py", line 97, in <module> import langtable # type: ignore ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/langtable/__init__.py", line 1, in <module> from .langtable import * File "/usr/lib/python3.13/site-packages/langtable/langtable.py", line 2719, in <module> __module_init = __ModuleInitializer() File "/usr/lib/python3.13/site-packages/langtable/langtable.py", line 2714, in __init__ _init() ~~~~~^^ File "/usr/lib/python3.13/site-packages/langtable/langtable.py", line 2704, in _init _read_file('territories.xml', TerritoriesContentHandler()) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/langtable/langtable.py", line 954, in _read_file _expat_parse(file, sax_handler) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/langtable/langtable.py", line 934, in _expat_parse parser.ParseFile(file) ~~~~~~~~~~~~~~~~^^^^^^ File "/builddir/build/BUILD/python3.13-3.13.0-build/Python-3.13.0/Modules/pyexpat.c", line 473, in EndElement File "/usr/lib/python3.13/site-packages/langtable/langtable.py", line 334, in endElement self._names[str(self._item_id)] = self._item_name ^^^^^^^^^^^ AttributeError: 'dict' object has no attribute '_names'
Local variables in innermost frame: self: <langtable.langtable.TerritoriesContentHandler object at 0x7f2a140f0440> name: 'name'
https://bugzilla.redhat.com/show_bug.cgi?id=2326692
Mike FABIAN mfabian@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|NEW |CLOSED Last Closed| |2025-11-10 14:26:19
--- Comment #8 from Mike FABIAN mfabian@redhat.com --- I could never reproduce this unfortunately. `import langtable` works fine for me.
I think I can close this bug.
If you can still reproduce it on Fedora 43, please reopen it with more details on how to reproduce it.
i18n-bugs@lists.fedoraproject.org