Bug 2322650
| Summary: | langtable.py:251:characters:TypeError: unsupported operand type(s) for +: 'LanguagesContentHandler' and 'str' | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | computer_nerd3 | ||||||||||||||||
| Component: | langtable | Assignee: | Mike FABIAN <mfabian> | ||||||||||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | 41 | CC: | anaconda-maint, computer_nerd3, i18n-bugs, kkoukiou, mfabian, mkolman, w | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| Whiteboard: | abrt_hash:2104e017c1f2c288e17f5fafa61bfc4274a89948;VARIANT_ID=kde; | ||||||||||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2025-09-22 02:44:41 UTC | 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: |
|
||||||||||||||||||
|
Description
computer_nerd3
2024-10-30 02:03:22 UTC
Created attachment 2054293 [details]
File: os_info
Created attachment 2054294 [details]
File: environ
Created attachment 2054295 [details]
File: mountinfo
Created attachment 2054296 [details]
File: open_fds
Created attachment 2054297 [details]
File: namespaces
Created attachment 2054298 [details]
File: cpuinfo
Created attachment 2054299 [details]
File: backtrace
Looking at the traceback, this looks like some logic issue in the langtable library:
langtable.py:251:characters:TypeError: unsupported operand type(s) for +: 'LanguagesContentHandler' and 'str'
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/lib64/python3.13/site-packages/pyanaconda/modules/localization/__main__.py", line 23, in <module>
from pyanaconda.modules.localization.localization import LocalizationService
File "/usr/lib64/python3.13/site-packages/pyanaconda/modules/localization/localization.py", line 20, in <module>
import langtable
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 2705, in _init
_read_file('languages.xml', LanguagesContentHandler())
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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 286, in CharacterData
File "/usr/lib/python3.13/site-packages/langtable/langtable.py", line 251, in characters
new_value = old_value + content
~~~~~~~~~~^~~~~~~~~
TypeError: unsupported operand type(s) for +: 'LanguagesContentHandler' and 'str'
Local variables in innermost frame:
self: <langtable.langtable.LanguagesContentHandler object at 0x7fb79428b8c0>
content: '1000'
old_value: <langtable.langtable.LanguagesContentHandler object at 0x7fb79428b8c0>
So reassigning to the langtable component.
I cannot reproduce this. Is this still reproducible on Fedora 42? How? |