https://bugzilla.redhat.com/show_bug.cgi?id=2131410
Bug ID: 2131410 Summary: [abrt] ibus-table: write_xml(): main.py:281:write_xml:AttributeError: 'NoneType' object has no attribute 'lower' Product: Fedora Version: 36 Hardware: x86_64 Status: NEW Whiteboard: abrt_hash:c1c988c5171ac578b2c05008cd0b68c23521a949;VAR IANT_ID=workstation; Component: ibus-table Assignee: mfabian@redhat.com Reporter: htl10@users.sourceforge.net QA Contact: extras-qa@fedoraproject.org CC: dchen@redhat.com, i18n-bugs@lists.fedoraproject.org, kent.neo@gmail.com, mfabian@redhat.com, pwu@redhat.com, shawn.p.huang@gmail.com Target Milestone: --- Classification: Fedora
Description of problem:
Version-Release number of selected component: ibus-table-1.16.12-1.fc36
Additional info: reporter: libreport-2.17.4 cgroup: 0::/system.slice/packagekit.service cmdline: /usr/bin/python3 /usr/share/ibus-table/engine/main.py --xml crash_function: write_xml exception_type: AttributeError executable: /usr/share/ibus-table/engine/main.py interpreter: python3-3.10.6-1.fc36.i686 kernel: 5.19.7-200.fc36.x86_64 runlevel: N 5 type: Python3 uid: 0
Truncated backtrace: main.py:281:write_xml:AttributeError: 'NoneType' object has no attribute 'lower'
Traceback (most recent call last): File "/usr/share/ibus-table/engine/main.py", line 390, in <module> main() File "/usr/share/ibus-table/engine/main.py", line 344, in main write_xml() File "/usr/share/ibus-table/engine/main.py", line 281, in write_xml _locale = locale.getlocale(locale.LC_MESSAGES)[0].lower() AttributeError: 'NoneType' object has no attribute 'lower'
Local variables in innermost frame: dbs: ['cns11643.db', 'latex.db', 'emoji-table.db'] _all_dbs: ['/usr/share/ibus-table/tables/cns11643.db', '/usr/share/ibus-table/tables/latex.db', '/usr/share/ibus-table/tables/emoji-table.db'] _db: '/usr/share/ibus-table/tables/cns11643.db' egs: <Element 'engines' at 0x7f808256e390> _sq_db: <tabsqlitedb.TabSqliteDb object at 0x7f8082bfd900> _engine: <Element 'engine' at 0x7f808273a3e0> _name: <Element 'name' at 0x7f808273a5c0> engine_name: 'cns11643' setup_arg: '/usr/libexec/ibus-setup-table --engine-name table:cns11643' _longname: <Element 'longname' at 0x7f808273a840>
https://bugzilla.redhat.com/show_bug.cgi?id=2131410
--- Comment #7 from Hin-Tak Leung htl10@users.sourceforge.net --- Similar problem has been detected:
restarting gnome-shell, I think.
reporter: libreport-2.17.4 cgroup: 0::/system.slice/packagekit.service cmdline: /usr/bin/python3 /usr/share/ibus-table/engine/main.py --xml crash_function: write_xml exception_type: AttributeError executable: /usr/share/ibus-table/engine/main.py interpreter: python3-3.10.7-1.fc36.i686 kernel: 5.19.12-200.fc36.x86_64 package: ibus-table-1.16.12-1.fc36 reason: main.py:281:write_xml:AttributeError: 'NoneType' object has no attribute 'lower' runlevel: N 5 type: Python3 uid: 0
https://bugzilla.redhat.com/show_bug.cgi?id=2131410
--- Comment #8 from Hin-Tak Leung htl10@users.sourceforge.net --- Similar problem has been detected:
No idea - don't remember doing anything around then.
reporter: libreport-2.17.4 cgroup: 0::/system.slice/packagekit.service cmdline: /usr/bin/python3 /usr/share/ibus-table/engine/main.py --xml crash_function: write_xml exception_type: AttributeError executable: /usr/share/ibus-table/engine/main.py interpreter: python3-3.10.7-1.fc36.i686 kernel: 6.0.5-200.fc36.x86_64 package: ibus-table-1.16.12-1.fc36 reason: main.py:281:write_xml:AttributeError: 'NoneType' object has no attribute 'lower' runlevel: N 5 type: Python3 uid: 0
https://bugzilla.redhat.com/show_bug.cgi?id=2131410
Mike FABIAN mfabian@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value Status|NEW |ASSIGNED
--- Comment #9 from Mike FABIAN mfabian@redhat.com --- $ LC_MESSAGES=nonsense python3 Python 3.10.6 (main, Aug 2 2022, 00:00:00) [GCC 12.1.1 20220507 (Red Hat 12.1.1-1)] on linux Type "help", "copyright", "credits" or "license" for more information.
import locale locale.setlocale(locale.LC_ALL, '')
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python3.10/locale.py", line 620, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting
locale.getlocale(locale.LC_MESSAGES)
(None, None)
https://bugzilla.redhat.com/show_bug.cgi?id=2131410
--- Comment #10 from Mike FABIAN mfabian@redhat.com --- Fix (will be in the next release): https://github.com/mike-fabian/ibus-table/commit/ca296cba952e56a9171b4daed47...
https://bugzilla.redhat.com/show_bug.cgi?id=2131410
Mike FABIAN mfabian@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Github | |mike-fabian/ibus-table/issu | |es/130
https://bugzilla.redhat.com/show_bug.cgi?id=2131410
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-9a3b4c745e has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-9a3b4c745e
https://bugzilla.redhat.com/show_bug.cgi?id=2131410
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |ERRATA Status|MODIFIED |CLOSED Fixed In Version| |ibus-table-1.16.14-1.fc38 Last Closed| |2022-11-10 14:32:45
--- Comment #12 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-9a3b4c745e has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=2131410
--- Comment #13 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-b6eda3aa30 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-b6eda3aa30
https://bugzilla.redhat.com/show_bug.cgi?id=2131410
--- Comment #14 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-af9a944a01 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-af9a944a01
https://bugzilla.redhat.com/show_bug.cgi?id=2131410
--- Comment #15 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-2daf69d418 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-2daf69d418
https://bugzilla.redhat.com/show_bug.cgi?id=2131410
--- Comment #16 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-b6eda3aa30 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-b6eda3aa30` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-b6eda3aa30
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=2131410
--- Comment #17 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-af9a944a01 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-2022-af9a944a01` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-af9a944a01
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=2131410
--- Comment #18 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-2daf69d418 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-2022-2daf69d418` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-2daf69d418
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=2131410
--- Comment #19 from Hin-Tak Leung htl10@users.sourceforge.net --- Similar problem has been detected:
Possibly happened when restarting gnome-shell?
reporter: libreport-2.17.4 cgroup: 0::/system.slice/packagekit.service cmdline: /usr/bin/python3 /usr/share/ibus-table/engine/main.py --xml crash_function: write_xml exception_type: AttributeError executable: /usr/share/ibus-table/engine/main.py interpreter: python3-3.10.8-1.fc36.i686 kernel: 6.0.5-200.fc36.x86_64 package: ibus-table-1.16.13-1.fc36 reason: main.py:281:write_xml:AttributeError: 'NoneType' object has no attribute 'lower' runlevel: N 5 type: Python3 uid: 0
https://bugzilla.redhat.com/show_bug.cgi?id=2131410
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|ibus-table-1.16.14-1.fc38 |ibus-table-1.16.14-1.fc38 | |ibus-table-1.16.14-1.fc36
--- Comment #20 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-af9a944a01 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=2131410
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|ibus-table-1.16.14-1.fc38 |ibus-table-1.16.14-1.fc38 |ibus-table-1.16.14-1.fc36 |ibus-table-1.16.14-1.fc36 | |ibus-table-1.16.14-1.fc35
--- Comment #21 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-b6eda3aa30 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=2131410
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|ibus-table-1.16.14-1.fc38 |ibus-table-1.16.14-1.fc38 |ibus-table-1.16.14-1.fc36 |ibus-table-1.16.14-1.fc36 |ibus-table-1.16.14-1.fc35 |ibus-table-1.16.14-1.fc35 | |ibus-table-1.16.14-1.fc37
--- Comment #22 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-2daf69d418 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
i18n-bugs@lists.fedoraproject.org