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

开机就会弹出waesel.server的报错,跟lua脚本有关,但似乎不影响程序正常使用 #132

Open
iHambourg opened this issue Jan 9, 2025 · 4 comments

Comments

@iHambourg
Copy link

error

在 rime.waesel 文件夹中找到的报错都与lua脚本有关,部分如下:

E20250109 16:32:52.775371 12820 lua_gears.cc:83] Lua Compoment of autoload error:( module: *select_character name_space: *select_character status: 2 ):
no field package.preload['select_character']
C:\Users\Harbour\AppData\Roaming\Rime\lua\select_character.lua
no file 'D:\Program Files\Rime\weasel-0.16.3\select_character.dll'
no file 'D:\Program Files\Rime\weasel-0.16.3..\lib\lua\5.4\select_character.dll'
no file 'D:\Program Files\Rime\weasel-0.16.3\loadall.dll'
no file '.\select_character.dll'

E20250109 16:32:52.775811 12820 lua_gears.cc:131] Lua Compoment of initialize error:( module: *select_character name_space: *select_character func type: string ): func type error expect function

E20250109 16:37:38.411560 10648 lua_gears.cc:104] Lua Compoment of initialize error:( module: *aux_code name_space: *aux_code status: 2 ): C:\Users\Harbour\AppData\Roaming\Rime\lua\aux_code.lua:82: attempt to index a string value (local 'line')

E20250109 16:44:31.066395 11076 lua_gears.cc:229] LuaProcessor::ProcessKeyEvent of *select_character error(2): ([^=]+)=(.+)

@gaboolic
Copy link
Owner

gaboolic commented Jan 9, 2025

https是://github.com/gaboolic/rime-frost/blob/master/lua/aux_code.lua 文件82行报错了
可能找不到辅助码文件

@iHambourg
Copy link
Author

屏幕截图 2025-01-09 180851
屏幕截图 2025-01-09 180858

是有这个aux_code.lua文件的,定位的位置没搞懂出错在哪

@iHambourg
Copy link
Author

我检查了用户文件夹,是没有缺失文件的

@gaboolic
Copy link
Owner

gaboolic commented Jan 9, 2025

按定位的位置看,是line为空,但是文件不为空(因为前面几行 文件为空就return了),很奇怪啊

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