Bug 1779129 - [abrt] ibus-anthy-python: on_btn_dict_view_clicked(): main.py:1457:on_btn_dict_view_clicked:TypeError: can only concatenate str (not "list") to str
Summary: [abrt] ibus-anthy-python: on_btn_dict_view_clicked(): main.py:1457:on_btn_dic...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus-anthy
Version: 31
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:7fd9487994a22353543467a8f48...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-03 11:19 UTC by Julien Humbert
Modified: 2019-12-13 00:54 UTC (History)
4 users (show)

Fixed In Version: ibus-anthy-1.5.11-5.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-13 00:54:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (588 bytes, text/plain)
2019-12-03 11:19 UTC, Julien Humbert
no flags Details
File: cpuinfo (2.60 KB, text/plain)
2019-12-03 11:19 UTC, Julien Humbert
no flags Details
File: environ (1.87 KB, text/plain)
2019-12-03 11:19 UTC, Julien Humbert
no flags Details
File: mountinfo (2.69 KB, text/plain)
2019-12-03 11:19 UTC, Julien Humbert
no flags Details
File: namespaces (129 bytes, text/plain)
2019-12-03 11:19 UTC, Julien Humbert
no flags Details
File: open_fds (1.36 KB, text/plain)
2019-12-03 11:19 UTC, Julien Humbert
no flags Details

Description Julien Humbert 2019-12-03 11:19:47 UTC
Description of problem:
When trying to view the "Postal code conversion" dictionnary in the Dictionnary tab of ibus-anthy settings, this error pops up.

Version-Release number of selected component:
ibus-anthy-python-1.5.11-3.fc31

Additional info:
reporter:       libreport-2.11.3
cgroup:         0::/user.slice/user-1000.slice/user/gnome-shell-wayland.service
cmdline:        python3 /usr/share/ibus-anthy/setup/main.py
crash_function: on_btn_dict_view_clicked
exception_type: TypeError
executable:     /usr/share/ibus-anthy/setup/main.py
interpreter:    python3-3.7.5-1.fc31.x86_64
kernel:         5.3.13-300.fc31.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
main.py:1457:on_btn_dict_view_clicked:TypeError: can only concatenate str (not "list") to str

Traceback (most recent call last):
  File "/usr/share/ibus-anthy/setup/main.py", line 1457, in on_btn_dict_view_clicked
    self.__run_message_dialog(_("Your file does not exist: ") + dict_file,
TypeError: can only concatenate str (not "list") to str

Local variables in innermost frame:
self: <__main__.AnthySetup object at 0x7fa20301e910>
widget: <Gtk.Button object at 0x7fa2020c7910 (GtkButton at 0x55948849d340)>
dict_file: ['/usr/share/ibus-anthy/dicts/zipcode.t']
selected_id: 'zipcode'

Comment 1 Julien Humbert 2019-12-03 11:19:51 UTC
Created attachment 1641639 [details]
File: backtrace

Comment 2 Julien Humbert 2019-12-03 11:19:53 UTC
Created attachment 1641640 [details]
File: cpuinfo

Comment 3 Julien Humbert 2019-12-03 11:19:54 UTC
Created attachment 1641641 [details]
File: environ

Comment 4 Julien Humbert 2019-12-03 11:19:56 UTC
Created attachment 1641642 [details]
File: mountinfo

Comment 5 Julien Humbert 2019-12-03 11:19:57 UTC
Created attachment 1641643 [details]
File: namespaces

Comment 6 Julien Humbert 2019-12-03 11:19:59 UTC
Created attachment 1641644 [details]
File: open_fds

Comment 7 fujiwara 2019-12-04 08:13:09 UTC
Thank you for the report.
After I changed anthy to anthy-unicode, I didn't fix zipcode dict.

Comment 8 Fedora Update System 2019-12-04 08:36:56 UTC
FEDORA-2019-df2c5b9dc9 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-df2c5b9dc9

Comment 9 Fedora Update System 2019-12-05 01:23:37 UTC
ibus-anthy-1.5.11-5.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-df2c5b9dc9

Comment 10 Fedora Update System 2019-12-13 00:54:16 UTC
ibus-anthy-1.5.11-5.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, 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.