FS#42969 - [brise] Old OpenCC config file zht2zhtw_v.ini not found

Attached to Project: Community Packages
Opened by Dan Cecile (dcecile) - Monday, 01 December 2014, 00:46 GMT
Last edited by Felix Yan (felixonmars) - Monday, 17 October 2016, 09:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Two of the Brise YAML files are incompatible with the latest version of OpenCC. This error is generated when trying to use Rime from FCITX:

terminate called after throwing an instance of 'opencc::FileNotFound'
what(): zht2zhtw_v.ini not found or not accessible.

Additional info:
* An older version of OpenCC used ".ini" files for converting between Chinese locales
* These ".ini" files are referenced in 2 of the Brise 0.35-1 YAML files (the "opencc_config" setting)
* It looks like the latest version of Brise (from Git) hasn't yet been updated, so this might be an upstream issue
* In my copy of the YAML file under .config/fcitx/rime/, I replaced 'zht2zhtw_v.ini' with 's2twp.json' and it seems to work even though I don't understand what it's doing
* Full log attached

Steps to reproduce:
* Install FCITX, set up Rime with a Taiwanese input method
* Start typing using that input method
This task depends upon

Closed by  Felix Yan (felixonmars)
Monday, 17 October 2016, 09:02 GMT
Reason for closing:  Fixed
Comment by Felix Yan (felixonmars) - Thursday, 17 December 2015, 11:25 GMT
Please test with latest librime/brise from [community-testing], thanks.

Loading...