Bug 1779129

Summary: [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
Product: [Fedora] Fedora Reporter: Julien Humbert <julroy67>
Component: ibus-anthyAssignee: fujiwara <tfujiwar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: i18n-bugs, shawn.p.huang, tagoh, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/c435eb3ff68ad82045a9a634ed6c21e367c149ae
Whiteboard: abrt_hash:7fd9487994a22353543467a8f4860de6905c7deb;VARIANT_ID=workstation;
Fixed In Version: ibus-anthy-1.5.11-5.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-13 00:54:16 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 Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

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.