Open Bryan2333 opened 8 months ago
RT,报错如下。我用的是2023-12-31 20:57:38 GMT生成的zip文件。
➜ fcitx5_dicts git:(master) ✗ python main.py DEBUG:root:ready Cedict DEBUG:root:libime_pinyindict /tmp/tmp637qqwyl /home/bryan/GithubProjects/fcitx5_dicts/dict/cedict.dict E2024-01-01 20:32:24.140591 pinyindictionary.cpp:761] Failed to parse line: 束手就擒 shu'shou'-'jiu'qin 0.5, skipping. E2024-01-01 20:32:24.142010 pinyindictionary.cpp:761] Failed to parse line: 花腹绿啄木鸟 hua'fu'lü'zhuo'mu'niao 0.5, skipping. E2024-01-01 20:32:24.142206 pinyindictionary.cpp:761] Failed to parse line: 中印半岛 zhong'-'yin'ban'dao 0.5, skipping. E2024-01-01 20:32:24.146507 pinyindictionary.cpp:761] Failed to parse line: 草绿篱莺 cao'lü'li'ying 0.5, skipping. E2024-01-01 20:32:24.149849 pinyindictionary.cpp:761] Failed to parse line: 菲律宾鹃鸠 fei'lü'bin'juan'jiu 0.5, skipping. E2024-01-01 20:32:24.150416 pinyindictionary.cpp:761] Failed to parse line: 律所 lü'suo 0.5, skipping. E2024-01-01 20:32:24.155424 pinyindictionary.cpp:761] Failed to parse line: 楔尾绿鸠 xie'wei'lü'jiu 0.5, skipping. E2024-01-01 20:32:24.155480 pinyindictionary.cpp:761] Failed to parse line: 楚楚可怜 chu'chu'-'ke'lian 0.5, skipping. E2024-01-01 20:32:24.158356 pinyindictionary.cpp:761] Failed to parse line: 蓝绿鹊 lan'lü'que 0.5, skipping. E2024-01-01 20:32:24.159119 pinyindictionary.cpp:761] Failed to parse line: 忐忑不安 tan'te'-'bu'an 0.5, skipping. E2024-01-01 20:32:24.161369 pinyindictionary.cpp:761] Failed to parse line: 橙胸绿鸠 cheng'xiong'lü'jiu 0.5, skipping. E2024-01-01 20:32:24.162145 pinyindictionary.cpp:761] Failed to parse line: 虐心 nüe'xin 0.5, skipping. E2024-01-01 20:32:24.165811 pinyindictionary.cpp:761] Failed to parse line: 欧亚红尾鸲 ou'-'ya'hong'wei'qu 0.5, skipping. E2024-01-01 20:32:24.166064 pinyindictionary.cpp:761] Failed to parse line: 欧美 ou'-'mei 0.5, skipping. E2024-01-01 20:32:24.166672 pinyindictionary.cpp:761] Failed to parse line: 双斑绿柳莺 shuang'ban'lü'liu'ying 0.5, skipping. E2024-01-01 20:32:24.167326 pinyindictionary.cpp:761] Failed to parse line: 伏地挺身 fu'di'-'ting'shen 0.5, skipping. E2024-01-01 20:32:24.169467 pinyindictionary.cpp:761] Failed to parse line: 勾肩搭背 gou'jian'-'da'bei 0.5, skipping. E2024-01-01 20:32:24.173117 pinyindictionary.cpp:761] Failed to parse line: 十成九稳 shi'cheng'-'jiu'wen 0.5, skipping. E2024-01-01 20:32:24.173139 pinyindictionary.cpp:761] Failed to parse line: 十拿九稳 shi'na'-'jiu'wen 0.5, skipping. E2024-01-01 20:32:24.179786 pinyindictionary.cpp:761] Failed to parse line: 屈指可数 qu'zhi'-'ke'shu 0.5, skipping. E2024-01-01 20:32:24.180094 pinyindictionary.cpp:761] Failed to parse line: 印支半岛 yin'-'zhi'ban'dao 0.5, skipping. E2024-01-01 20:32:24.180118 pinyindictionary.cpp:761] Failed to parse line: 印支绿鹊 yin'-'zhi'lü'que 0.5, skipping. E2024-01-01 20:32:24.180296 pinyindictionary.cpp:761] Failed to parse line: 印缅斑嘴鸭 yin'-'mian'ban'zui'ya 0.5, skipping. E2024-01-01 20:32:24.180311 pinyindictionary.cpp:761] Failed to parse line: 印缅褐头雀鹛 yin'-'mian'he'tou'que'mei 0.5, skipping. E2024-01-01 20:32:24.182096 pinyindictionary.cpp:761] Failed to parse line: 厚嘴绿鸠 hou'zui'lü'jiu 0.5, skipping. E2024-01-01 20:32:24.187316 pinyindictionary.cpp:761] Failed to parse line: 暗绿柳莺 an'lü'liu'ying 0.5, skipping. E2024-01-01 20:32:24.187362 pinyindictionary.cpp:761] Failed to parse line: 暗绿绣眼鸟 an'lü'xiu'yan'niao 0.5, skipping. E2024-01-01 20:32:24.187397 pinyindictionary.cpp:761] Failed to parse line: 暗绿背鸬鹚 an'lü'bei'lu'ci 0.5, skipping. E2024-01-01 20:32:24.196093 pinyindictionary.cpp:761] Failed to parse line: 有头有脸 you'tou'-'you'lian 0.5, skipping. E2024-01-01 20:32:24.197487 pinyindictionary.cpp:761] Failed to parse line: 与此同时 yu'ci'-'tong'shi 0.5, skipping. E2024-01-01 20:32:24.199925 pinyindictionary.cpp:761] Failed to parse line: 针尾绿鸠 zhen'wei'lü'jiu 0.5, skipping. E2024-01-01 20:32:24.201016 pinyindictionary.cpp:761] Failed to parse line: 不知所以 bu'zhi'-'suo'yi 0.5, skipping. E2024-01-01 20:32:24.203338 pinyindictionary.cpp:761] Failed to parse line: 捧腹大笑 peng'fu'-'da'xiao 0.5, skipping. E2024-01-01 20:32:24.203355 pinyindictionary.cpp:761] Failed to parse line: 捧腹绝倒 peng'fu'-'jue'dao 0.5, skipping. E2024-01-01 20:32:24.203818 pinyindictionary.cpp:761] Failed to parse line: 公婆 gong'-'po 0.5, skipping. E2024-01-01 20:32:24.207581 pinyindictionary.cpp:761] Failed to parse line: 红翅绿鸠 hong'chi'lü'jiu 0.5, skipping. E2024-01-01 20:32:24.208365 pinyindictionary.cpp:761] Failed to parse line: 淡绿鵙鹛 dan'lü'ju'mei 0.5, skipping. E2024-01-01 20:32:24.208755 pinyindictionary.cpp:761] Failed to parse line: 红顶绿鸠 hong'ding'lü'jiu 0.5, skipping. E2024-01-01 20:32:24.208778 pinyindictionary.cpp:761] Failed to parse line: 红领绿鹦鹉 hong'ling'lü'ying'wu 0.5, skipping. E2024-01-01 20:32:24.208820 pinyindictionary.cpp:761] Failed to parse line: 红颈绿啄木鸟 hong'jing'lü'zhuo'mu'niao 0.5, skipping. E2024-01-01 20:32:24.209773 pinyindictionary.cpp:761] Failed to parse line: 渊渟岳峙 yuan'ting'-'yue'zhi 0.5, skipping. E2024-01-01 20:32:24.213421 pinyindictionary.cpp:761] Failed to parse line: 赴美 fu'-'mei 0.5, skipping. E2024-01-01 20:32:24.213634 pinyindictionary.cpp:761] Failed to parse line: 鳞喉绿啄木鸟 lin'hou'lü'zhuo'mu'niao 0.5, skipping. E2024-01-01 20:32:24.213674 pinyindictionary.cpp:761] Failed to parse line: 鳞腹绿啄木鸟 lin'fu'lü'zhuo'mu'niao 0.5, skipping. E2024-01-01 20:32:24.216918 pinyindictionary.cpp:761] Failed to parse line: 绿喉太阳鸟 lü'hou'tai'yang'niao 0.5, skipping. E2024-01-01 20:32:24.216932 pinyindictionary.cpp:761] Failed to parse line: 绿喉蜂虎 lü'hou'feng'hu 0.5, skipping. E2024-01-01 20:32:24.216961 pinyindictionary.cpp:761] Failed to parse line: 绿嘴地鹃 lü'zui'di'juan 0.5, skipping. E2024-01-01 20:32:24.217009 pinyindictionary.cpp:761] Failed to parse line: 绿孔雀 lü'kong'que 0.5, skipping. E2024-01-01 20:32:24.217025 pinyindictionary.cpp:761] Failed to parse line: 绿宽嘴鸫 lü'kuan'zui'dong 0.5, skipping. E2024-01-01 20:32:24.217046 pinyindictionary.cpp:761] Failed to parse line: 绿尾虹雉 lü'wei'hong'zhi 0.5, skipping. E2024-01-01 20:32:24.218767 pinyindictionary.cpp:761] Failed to parse line: 绿皇鸠 lü'huang'jiu 0.5, skipping. E2024-01-01 20:32:24.218815 pinyindictionary.cpp:761] Failed to parse line: 绿翅短脚鹎 lü'chi'duan'jiao'bei 0.5, skipping. E2024-01-01 20:32:24.218836 pinyindictionary.cpp:761] Failed to parse line: 绿翅金鸠 lü'chi'jin'jiu 0.5, skipping. E2024-01-01 20:32:24.218860 pinyindictionary.cpp:761] Failed to parse line: 绿翅鸭 lü'chi'ya 0.5, skipping. E2024-01-01 20:32:24.218886 pinyindictionary.cpp:761] Failed to parse line: 绿背姬鹟 lü'bei'ji'weng 0.5, skipping. E2024-01-01 20:32:24.218904 pinyindictionary.cpp:761] Failed to parse line: 绿背山雀 lü'bei'shan'que 0.5, skipping. E2024-01-01 20:32:24.218920 pinyindictionary.cpp:761] Failed to parse line: 绿背林鹟 lü'bei'lin'weng 0.5, skipping. E2024-01-01 20:32:24.218943 pinyindictionary.cpp:761] Failed to parse line: 绿胸八色鸫 lü'xiong'ba'se'dong 0.5, skipping. E2024-01-01 20:32:24.218964 pinyindictionary.cpp:761] Failed to parse line: 绿脚山鹧鸪 lü'jiao'shan'zhe'gu 0.5, skipping. E2024-01-01 20:32:24.219102 pinyindictionary.cpp:761] Failed to parse line: 绿头鸭 lü'tou'ya 0.5, skipping. E2024-01-01 20:32:24.219115 pinyindictionary.cpp:761] Failed to parse line: 绿鹭 lü'lu 0.5, skipping. E2024-01-01 20:32:24.220181 pinyindictionary.cpp:761] Failed to parse line: 黄绿鹎 huang'lü'bei 0.5, skipping. E2024-01-01 20:32:24.220242 pinyindictionary.cpp:761] Failed to parse line: 黄脚绿鸠 huang'jiao'lü'jiu 0.5, skipping. E2024-01-01 20:32:24.223327 pinyindictionary.cpp:761] Failed to parse line: 前女友 qian'nü'you 0.5, skipping. E2024-01-01 20:32:24.223558 pinyindictionary.cpp:761] Failed to parse line: 纵纹绿鹎 zong'wen'lü'bei 0.5, skipping. E2024-01-01 20:32:24.228238 pinyindictionary.cpp:761] Failed to parse line: 火尾绿鹛 huo'wei'lü'mei 0.5, skipping. E2024-01-01 20:32:24.231291 pinyindictionary.cpp:761] Failed to parse line: 灰头绿鸠 hui'tou'lü'jiu 0.5, skipping. E2024-01-01 20:32:24.231643 pinyindictionary.cpp:761] Failed to parse line: 美洲绿翅鸭 mei'zhou'lü'chi'ya 0.5, skipping. E2024-01-01 20:32:24.234108 pinyindictionary.cpp:761] Failed to parse line: 斑头绿拟啄木鸟 ban'tou'lü'ni'zhuo'mu'niao 0.5, skipping. E2024-01-01 20:32:24.238403 pinyindictionary.cpp:761] Failed to parse line: 杀人灭口 sha'ren'-'mie'kou 0.5, skipping. E2024-01-01 20:32:24.252581 pinyindictionary.cpp:761] Failed to parse line: 打击报复 da'ji'-'bao'fu 0.5, skipping. E2024-01-01 20:32:24.266685 pinyindictionary.cpp:761] Failed to parse line: 大绿雀鹎 da'lü'que'bei 0.5, skipping. E2024-01-01 20:32:24.270371 pinyindictionary.cpp:761] Failed to parse line: 招蜂引蝶 zhao'feng'-'yin'die 0.5, skipping. DEBUG:root:libime_pinyindict /home/bryan/GithubProjects/fcitx5_dicts/extern/chinese-frequency-word-list /home/bryan/GithubProjects/fcitx5_dicts/dict/chinese-frequency-word-list.dict terminate called after throwing an instance of 'std::ios_base::failure[abi:cxx11]' what(): io fail: iostream error
release 里面有两个做好的,可以先用着试试。
这个我知道,只是release里面的比较旧了,我就打算从cedict的官网上下载最新的词库文件来转换。
RT,报错如下。我用的是2023-12-31 20:57:38 GMT生成的zip文件。