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

部署日志提示有错误 #178

Closed
llpub opened this issue Apr 10, 2023 · 11 comments
Closed

部署日志提示有错误 #178

llpub opened this issue Apr 10, 2023 · 11 comments

Comments

@llpub
Copy link

llpub commented Apr 10, 2023

部署之后log.ERROR里出现了问题,不过打字、词库、表情这些基本正常,也许出错受影响的功能还没用到😢

E0410 23:18:51.125272  1258 engine.cc:315] error creating processor: 'lua_processor'
E0410 23:18:51.204347  1258 engine.cc:349] error creating translator: 'lua_translator'
E0410 23:18:51.206553  1258 engine.cc:349] error creating translator: 'lua_translator'
E0410 23:18:51.206604  1258 engine.cc:366] error creating filter: 'lua_filter'
E0410 23:18:51.206692  1258 engine.cc:366] error creating filter: 'lua_filter'
E0410 23:18:51.206723  1258 engine.cc:366] error creating filter: 'lua_filter'

以上错误重复大约300行,麻烦再检查一下

@iDvel
Copy link
Owner

iDvel commented Apr 10, 2023

你是 Windows 小狼毫官方发行版吗?
你用默认配置输入 rug 第一候选项是「如果」还是 rug?
如果不是「如果」,那要更新一下 librime,参考 #133

@everyx
Copy link
Contributor

everyx commented Apr 11, 2023

部署之后log.ERROR里出现了问题,不过打字、词库、表情这些基本正常,也许出错受影响的功能还没用到cry

E0410 23:18:51.125272  1258 engine.cc:315] error creating processor: 'lua_processor'
E0410 23:18:51.204347  1258 engine.cc:349] error creating translator: 'lua_translator'
E0410 23:18:51.206553  1258 engine.cc:349] error creating translator: 'lua_translator'
E0410 23:18:51.206604  1258 engine.cc:366] error creating filter: 'lua_filter'
E0410 23:18:51.206692  1258 engine.cc:366] error creating filter: 'lua_filter'
E0410 23:18:51.206723  1258 engine.cc:366] error creating filter: 'lua_filter'

以上错误重复大约300行,麻烦再检查一下

是否有可能是和现有的 lua 脚本有冲突?我在 Arch Linux 下没碰到过。

@iDvel 倒是有一些其他的错误或警告,如下:

W20230411 08:47:40.866381 71761 entry_collector.cc:202] duplicate word definition '': [niang].
E20230411 08:47:55.131435 71761 entry_collector.cc:135] Encode failure: '一骑当千  yi qi dang qian'.
E20230411 08:47:55.131606 71761 entry_collector.cc:135] Encode failure: '一骑当千  yi ji dang qian'.

@dilokomi
Copy link
Contributor

倒是有一些其他的错误或警告

翻了一下log,同样的warning

@dilokomi
Copy link
Contributor

以上错误重复大约300行

这个数量好多,但是你只给了这么点,也不好看出来是什么问题

@wxyzh
Copy link
Contributor

wxyzh commented Apr 11, 2023

https://github.com/iDvel/rime-ice/blob/1d660e2bf0608565c2d2ecbc91e65dbdb3611bfe/cn_dicts/others.dict.yaml#L98:L99
一骑当千 yi qi dang qian
一骑当千 yi ji dang qian
这种处理似乎不符合预期。我输入 yi ji dang qian 没有匹配到字典

@iDvel
Copy link
Owner

iDvel commented Apr 11, 2023

「一骑当千」是Tab/空格的问题。
「嬢」是同一个词库重复了一个,重复没多大问题。
已经修复了,等会push。

@llpub
Copy link
Author

llpub commented Apr 11, 2023

以上错误重复大约300行

这个数量好多,但是你只给了这么点,也不好看出来是什么问题

后面剩余行都是这6行的重复😅

@iDvel
Copy link
Owner

iDvel commented Apr 11, 2023

楼主你的 librime 是什么版本呢?
打开 installation.yaml 可以看到:

rime_version: 1.8.5

@llpub
Copy link
Author

llpub commented Apr 11, 2023

感谢iDvel和大家参与回复,这个ERROR似乎仅在Linux (Debian 11 / fcitx5-rime 5.0.4-1)下出现,可能是部分rime版本的问题。
在win7 x32/weasel 1.4.3下测试了没有,win7下ERROR很少,仅有下面这行:

Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0411 11:36:35.327855  2688 lua_gears.cc:15] LuaTranslation::Next error(2): C:\0apps\weaseldata7/rime.lua:192: attempt to call a nil value (method 'get_list')

@llpub
Copy link
Author

llpub commented Apr 11, 2023

@iDvel
installation.yaml 如下:

Debian 11 / fcitx5-rime 5.0.4-1

distribution_code_name: "fcitx-rime"
distribution_name: Rime
distribution_version: 5.0.4
install_time: "Fri Feb 17 10:27:34 2023"
installation_id: "xxxxx"
rime_version: 1.6.1

@llpub llpub closed this as completed Apr 11, 2023
@dilokomi
Copy link
Contributor

这个ERROR似乎仅在Linux (Debian 11 / fcitx5-rime 5.0.4-1)下出现

debian系好像要单独安装librime

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

5 participants