Bug 2227067
| Summary: | [abrt] ibus-typing-booster: endElement(): langtable.py:538:endElement:TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | hx | ||||||||||||||||
| Component: | ibus-typing-booster | Assignee: | Mike FABIAN <mfabian> | ||||||||||||||||
| Status: | ASSIGNED --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | 38 | CC: | anish.developer, hx, i18n-bugs, mfabian | ||||||||||||||||
| Target Milestone: | --- | Flags: | mfabian:
needinfo?
(hx) |
||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/bd11838c6bb86f94713089bf0cffea18023a1d8 | ||||||||||||||||||
| Whiteboard: | abrt_hash:68b5066bc4980e6384615173bebf45adb412050c;VARIANT_ID=workstation; | ||||||||||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | Type: | --- | |||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||
| Embargoed: | |||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
Created attachment 1980307 [details]
File: os_info
Created attachment 1980308 [details]
File: environ
Created attachment 1980309 [details]
File: mountinfo
Created attachment 1980310 [details]
File: open_fds
Created attachment 1980311 [details]
File: namespaces
Created attachment 1980312 [details]
File: backtrace
Created attachment 1980313 [details]
File: cpuinfo
Can you reproduce a problem with langtable by just doing $ python3 Python 3.11.4 (main, Jun 7 2023, 00:00:00) [GCC 13.1.1 20230511 (Red Hat 13.1.1-2)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import langtable >>> langtable.info() Project name: = langtable Version: = 0.0.62 Module path: = /usr/lib/python3.11/site-packages Loaded from: /usr/lib/python3.11/site-packages/langtable/langtable.py Data files read: ['/usr/lib/python3.11/site-packages/langtable/data/territories.xml.gz', '/usr/lib/python3.11/site-packages/langtable/data/languages.xml.gz', '/usr/lib/python3.11/site-packa ges/langtable/data/keyboards.xml.gz', '/usr/lib/python3.11/site-packages/langtable/data/timezones.xml.gz', '/usr/lib/python3.11/site-packages/langtable/data/timezoneidparts.xml.gz'] >>> |
Version-Release number of selected component: ibus-typing-booster-2.23.1-1.fc38 Additional info: reporter: libreport-2.17.11 kernel: 6.4.4-200.fc38.x86_64 cmdline: /usr/bin/python3 /usr/share/ibus-typing-booster/engine/main.py --ibus cgroup: 0::/user.slice/user-42.slice/session-c1.scope uid: 42 reason: langtable.py:538:endElement:TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' executable: /usr/share/ibus-typing-booster/engine/main.py type: Python3 package: ibus-typing-booster-2.23.1-1.fc38 runlevel: N 5 exception_type: TypeError crash_function: endElement interpreter: python3-3.11.4-1.fc38.x86_64 Truncated backtrace: langtable.py:538:endElement:TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' Traceback (most recent call last): File "/usr/share/ibus-typing-booster/engine/main.py", line 133, in <module> import factory File "/usr/share/ibus-typing-booster/engine/factory.py", line 38, in <module> import hunspell_table File "/usr/share/ibus-typing-booster/engine/hunspell_table.py", line 53, in <module> import itb_util File "/usr/share/ibus-typing-booster/engine/itb_util.py", line 94, in <module> import langtable # type: ignore ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/langtable/__init__.py", line 1, in <module> from .langtable import * File "/usr/lib/python3.11/site-packages/langtable/langtable.py", line 2633, in <module> __module_init = __ModuleInitializer() ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/langtable/langtable.py", line 2627, in __init__ _init() File "/usr/lib/python3.11/site-packages/langtable/langtable.py", line 2620, in _init _read_file('languages.xml', LanguagesContentHandler()) File "/usr/lib/python3.11/site-packages/langtable/langtable.py", line 937, in _read_file _expat_parse(file, sax_handler) File "/usr/lib/python3.11/site-packages/langtable/langtable.py", line 917, in _expat_parse parser.ParseFile(file) File "/builddir/build/BUILD/Python-3.11.4/Modules/pyexpat.c", line 468, in EndElement File "/usr/lib/python3.11/site-packages/langtable/langtable.py", line 538, in endElement self._consolefonts[str(self._item_id)] = int(self._item_rank) ^^^^^^^^^^^^^^^^^^^^ TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' Local variables in innermost frame: self: <langtable.langtable.LanguagesContentHandler object at 0x7f830bf3bc90> name: 'languageId'