Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fcitx5 version (5.0.14-1) 最新的字典文件无法加载 #41

Open
ikool-cn opened this issue Dec 14, 2024 · 4 comments
Open

fcitx5 version (5.0.14-1) 最新的字典文件无法加载 #41

ikool-cn opened this issue Dec 14, 2024 · 4 comments

Comments

@ikool-cn
Copy link

fcitx5 -r
I2024-12-14 14:35:49.186213 instance.cpp:1394] Override Enabled Addons: {}
I2024-12-14 14:35:49.186236 instance.cpp:1395] Override Disabled Addons: {}
I2024-12-14 14:35:49.188483 addonmanager.cpp:191] Loaded addon xcb
I2024-12-14 14:35:49.191217 addonmanager.cpp:191] Loaded addon quickphrase
I2024-12-14 14:35:49.191573 addonmanager.cpp:191] Loaded addon imselector
I2024-12-14 14:35:49.205235 addonmanager.cpp:191] Loaded addon keyboard
I2024-12-14 14:35:49.207567 addonmanager.cpp:191] Loaded addon dbus
I2024-12-14 14:35:49.225028 addonmanager.cpp:191] Loaded addon fcitx4frontend
I2024-12-14 14:35:49.241531 addonmanager.cpp:191] Loaded addon ibusfrontend
I2024-12-14 14:35:49.243054 addonmanager.cpp:191] Loaded addon xim
I2024-12-14 14:35:49.244340 addonmanager.cpp:191] Loaded addon wayland
I2024-12-14 14:35:49.246250 addonmanager.cpp:191] Loaded addon dbusfrontend
I2024-12-14 14:35:49.247475 addonmanager.cpp:191] Loaded addon clipboard
I2024-12-14 14:35:49.248016 addonmanager.cpp:191] Loaded addon waylandim
I2024-12-14 14:35:49.248428 addonmanager.cpp:191] Loaded addon unicode
I2024-12-14 14:35:49.249792 addonmanager.cpp:191] Loaded addon pinyinhelper
I2024-12-14 14:35:49.280502 inputmethodmanager.cpp:198] Found 713 input method(s) in addon keyboard
I2024-12-14 14:35:49.295849 addonmanager.cpp:191] Loaded addon kimpanel
I2024-12-14 14:35:49.312405 addonmanager.cpp:191] Loaded addon classicui
I2024-12-14 14:35:49.312605 addonmanager.cpp:191] Loaded addon notificationitem
I2024-12-14 14:35:49.313296 addonmanager.cpp:191] Loaded addon notifications
I2024-12-14 14:35:49.313758 addonmanager.cpp:191] Loaded addon punctuation
E2024-12-14 14:35:49.363943 pinyin.cpp:764] Failed to load pinyin dict /home/ubuntu/.local/share/fcitx5/pinyin/dictionaries/zhwiki-20240426.dict: Invalid pinyin version.
I2024-12-14 14:35:49.363971 addonmanager.cpp:191] Loaded addon pinyin
I2024-12-14 14:35:49.367350 addonmanager.cpp:191] Loaded addon cloudpinyin
I2024-12-14 14:35:49.367620 kimpanel.cpp:117] Kimpanel new owner

只能用老版本: https://github.com/felixonmars/fcitx5-pinyin-zhwiki/releases/download/0.2.4/zhwiki-20220416.dict
新版本 zhwiki-20240426.dict 换了几个都不行

@CoelacanthusHex
Copy link

你用的什么版本的 libime?目测是上古版本 libime 不支持新的 zstd 压缩的问题

@ikool-cn
Copy link
Author

你用的什么版本的 libime?目测是上古版本 libime 不支持新的 zstd 压缩的问题
系统是Ubuntu 22.04

dpkg -l | grep libime
ii libime-bin 1.0.11-1build1 amd64 Generic Input Method Implementation (tools)
ii libime-data 1.0.11-1build1 all Generic Input Method Implementation library (data files)
ii libime-data-language-model:amd64 1.0.11-1build1 amd64 Generic Input Method Implementation library (language model)
ii libimecore0:amd64 1.0.11-1build1 amd64 Generic Input Method Implementation (core library)
ii libimepinyin0:amd64 1.0.11-1build1 amd64 Generic Input Method Implementation (pinyin library)
ii libimetable0:amd64 1.0.11-1build1 amd64 Generic Input Method Implementation (table library)

@CoelacanthusHex
Copy link

2023 年九月底发布的 1.1.2 引入的 zstd 压缩(version=0x03),你这个太旧了(都是 2021 年底的版本了)。

@ikool-cn
Copy link
Author

好的,谢谢。不过发版的时候建议还是能出一个支持非zstd 压缩的字典包。
毕竟22的系统用的人还是蛮多的。

apt-cache policy libime-bin
libime-bin:
  Installed: 1.0.11-1build1
  Candidate: 1.0.11-1build1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants