Bug 1049760

Summary: [ALL LANG] Traceback produced when run ibus-table-createdb from terminal.
Product: Red Hat Enterprise Linux 7 Reporter: Lijun Li <lijli>
Component: ibus-tableAssignee: Mike FABIAN <mfabian>
Status: CLOSED CURRENTRELEASE QA Contact: QE Internationalization Bugs <qe-i18n-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 7.0CC: eng-i18n-bugs, mfabian, mshao, qe-i18n-bugs
Target Milestone: rcKeywords: i18n
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 13:05:00 UTC Type: Bug
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
0001-When-tabcreatedb.py-is-called-without-any-options-pr.patch none

Description Lijun Li 2014-01-08 07:11:08 UTC
Description of problem:
[ALL LANG] Traceback produced when run ibus-table-createdb from terminal.

Version-Release number of selected component (if applicable):
ibus-table-1.5.0-2.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. Run ibus-table-createdb from terminal.


Actual results:
$ ibus-table-createdb 
Traceback (most recent call last):
  File "/usr/share/ibus-table/engine/tabcreatedb.py", line 329, in <module>
    main ()
  File "/usr/share/ibus-table/engine/tabcreatedb.py", line 243, in main
    source = bz2.BZ2File ( opts.source, "r" )
IOError: [Errno 2] No such file or directory: 'xingma.txt.bz2'


Expected results:
No such traceback.

Additional info:

Comment 2 Mike FABIAN 2014-01-24 11:25:48 UTC
Created attachment 854894 [details]
0001-When-tabcreatedb.py-is-called-without-any-options-pr.patch

Patch to fix the problem.

Tested in qemu on rhel-everything-7.0-beta-1-x86_64-dvd.iso.

It prints a nice usage message now instead of printing a cryptic backtrace.

Comment 3 Mike FABIAN 2014-02-04 06:57:57 UTC
Pushed to rhel-7.0 branch. Build is here:

https://brewweb.devel.redhat.com/taskinfo?taskID=6996985

Comment 6 Ludek Smid 2014-06-13 13:05:00 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.