-
Notifications
You must be signed in to change notification settings - Fork 45
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崩溃? #280
Comments
比较可能是用了 |
不知道是否可以把 notifier 的注册放到 |
确实,我把插件停用了之后,自动同步就能正常进行: I2023-10-15 14:21:11.479027 addonmanager.cpp:193] Loaded addon rime
I2023-10-15 14:51:10.446784 instance.cpp:1179] Running autosave...
I2023-10-15 14:51:10.463585 instance.cpp:1181] End autosave
这个算是Lua的类写法?刚接触lua不是很清楚应该怎么修改比较好,目前暂时只会根据wiki上的教程把函数传递过去 |
参考这边的代码我改改看: librime-lua/sample/lua/component_test.lua Lines 45 to 97 in 757a014
|
不是 lua 通用的写法,是本项目的特殊约定。请见 |
感谢回复,经过修改确实不会崩溃了。而且通过控制台输出可以判断,保存的时候确实会初始化一遍: ** AuxCode filter aux_filter
** AuxCode filter read Aux code txt: ZRM_Aux-code_4.3.txt
I2023-10-15 15:57:42.446871 instance.cpp:1179] Running autosave...
I2023-10-15 15:57:42.459369 instance.cpp:1181] End autosave
** AuxCode filter aux_filter
** AuxCode filter read Aux code txt: ZRM_Aux-code_4.3.txt
|
不确定是我开发的这个插件的原因,还是前几天manjaro源更新的原因,fcitx输入法每隔半小时(每小时的37分和07分)就准时崩溃一次。但开启插件使用是完全正常的。
然后使用命令行查看,有如下的报错输出:
感觉最大的可能是定时自动同步的问题,不确定在这边反馈对不对,但是崩溃报告里确实有librime-lua.so,先在这边咨询一下,感谢大佬们的解答!
The text was updated successfully, but these errors were encountered: