[Bug 1645522] [NEW] [SRU] libopencc2: missing files cause librime fail to work

Launchpad Bug Tracker 1645522 at bugs.launchpad.net
Wed Dec 14 16:52:26 UTC 2016


You have been subscribed to a public bug by Aron Xu (happyaron):

[Impact]

A list of missing files from opencc package makes opencc and libopencc2 does not work correctly for its consumers (fcitx-rime, ibus-rime). For example, when using fcitx-rime, fcitx would print the
following error message onto stderr once the user tries to switch to
input Simplified Chinese in Rime (Selecting *月拼音:简化字):

[Test Case]

After installing the updated package, fcitx-rime would not print error
messages when user tries to switch to input Simplified Chinese in Rime.

[Regression Potential]

This updated package would introduce an additional binary call librime-
data, which is actually a backport of version 1.0.4-2 in Debian and
Ubuntu Zesty, potential of regression is low.

== Description from Debian bug ==

In Debian unstable, when using fcitx-rime, fcitx would print the
following error message onto stderr once the user tries to switch to
input Simplified Chinese in rime (Selecting *月拼音:简化字):

E0902 23:45:44.494884 6107 simplifier.cc:126] Error initializing
opencc: t2s.json not found or not accessible.

The t2s.json is supposed to be in /usr/share/opencc. To be concrete,
the following missing files may be needed for opencc to work
correctly:

usr/share/
usr/share/opencc/
usr/share/opencc/HKVariants.ocd
usr/share/opencc/HKVariantsPhrases.ocd
usr/share/opencc/HKVariantsRev.ocd
usr/share/opencc/HKVariantsRevPhrases.ocd
usr/share/opencc/JPVariants.ocd
usr/share/opencc/STCharacters.ocd
usr/share/opencc/STPhrases.ocd
usr/share/opencc/TSCharacters.ocd
usr/share/opencc/TSPhrases.ocd
usr/share/opencc/TWPhrases.ocd
usr/share/opencc/TWPhrasesRev.ocd
usr/share/opencc/TWVariants.ocd
usr/share/opencc/TWVariantsRev.ocd
usr/share/opencc/TWVariantsRevPhrases.ocd
usr/share/opencc/hk2s.json
usr/share/opencc/s2hk.json
usr/share/opencc/s2t.json
usr/share/opencc/s2tw.json
usr/share/opencc/s2twp.json
usr/share/opencc/t2hk.json
usr/share/opencc/t2s.json
usr/share/opencc/t2tw.json
usr/share/opencc/tw2s.json
usr/share/opencc/tw2sp.json

However, they do not exist in any opencc-related packages
(libopencc-dev, libopencc-dbg (Oh, BTW, please migrate to -dbgsym
package), libopencc2 and opencc).

The solution may be either include those files in a library package,
or pack those files into another separate package.

** Affects: opencc (Ubuntu)
     Importance: High
     Assignee: Aron Xu (happyaron)
         Status: Fix Released

** Affects: opencc (Ubuntu Yakkety)
     Importance: High
     Assignee: Aron Xu (happyaron)
         Status: In Progress

** Affects: opencc (Ubuntu Zesty)
     Importance: High
     Assignee: Aron Xu (happyaron)
         Status: Fix Released

** Affects: opencc (Debian)
     Importance: Unknown
         Status: Fix Released

-- 
[SRU] libopencc2: missing files cause librime fail to work
https://bugs.launchpad.net/bugs/1645522
You received this bug notification because you are a member of Ubuntu Package Archive Administrators, which is subscribed to the bug report.



More information about the ubuntu-archive mailing list