cht電腦資訊gcin已解決問題
adm Find login register

gtab自訂詞長度超過17個字會使「匯入詞庫」失敗

winlin
1 gtab自訂詞長度超過17個字會使「匯入詞庫」失敗
Promote 0 Bookmark 02014-01-08quote  

eliu兄好:

內定輸入法設為「五四三倉頡」時,
使用「匯入詞庫」功能,若詞庫檔內有任何自訂詞長度超過17個字(如附件),會造成匯入失敗。
終端機錯誤訊息如下:
cj543.gtab.append.gtab.tsin-db
phsz 4 keybits:6
keymap ' abcdefghijklmnopqrstuvwxyz',.\;/[]()~!:'
!!!!gtab-keys 6 5 abcdefghijklmnopqrstuvwxyz',.\;/[]()~!:
Sorting ....
before delete duplicate N:500030
/usr/share/gcin/script/tsin-gtab-import: line 19:  7690 Segmentation fault      (core dumped) $GCIN_BIN_DIR/tsa2d32 $fsrc $f

感謝~

有發現~/.gcin有生出一顆core檔,但是63MB,傳不上來...抱歉

edited: 2
winlin
2
Promote 0 Bookmark 02014-01-12quote  

eliu兄好:

試了最新的gcin.tbz,發現匯入上一篇的附件時還是會出現下列錯誤:

cj543.gtab.append.gtab.tsin-db
phsz 4 keybits:6
keymap ' abcdefghijklmnopqrstuvwxyz',.;/[]()~!:\'
!!!!gtab-keys 6 5 abcdefghijklmnopqrstuvwxyz',.;/[]()~!:\
Sorting ....
before delete duplicate N:1112187
/usr/share/gcin/script/tsin-gtab-import: line 19:  6236 Segmentation fault      $GCIN_BIN_DIR/tsa2d32 $fsrc $f

感謝~

winlin
3
Promote 0 Bookmark 02014-01-12quote  

發現另一個會讓「匯入詞庫」失敗的狀況(如本篇附件),測試方法:
將「五四三倉頡」設為內定輸入法,
下載本篇的附件,使用「匯入詞庫」來加入這個詞,會發現下列錯誤訊息:

cj543.gtab.append.gtab.tsin-db
phsz 4 keybits:6
keymap ' abcdefghijklmnopqrstuvwxyz',.;/[]()~!:\'
!!!!gtab-keys 6 5 abcdefghijklmnopqrstuvwxyz',.;/[]()~!:\
Sorting ....
before delete duplicate N:1112191
/usr/share/gcin/script/tsin-gtab-import: line 19: 11964 Segmentation fault      $GCIN_BIN_DIR/tsa2d32 $fsrc $f

感謝~

winlin
4
Promote 0 Bookmark 02014-01-13quote  

eliu兄:確定今天的gcin.tbz沒有問題了,感謝!

cht電腦資訊gcin已解決問題
adm Find login register
views:11367