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

升级mac鼠须管18之后log.info无效 #340

Closed
Urie96 opened this issue May 8, 2024 · 2 comments
Closed

升级mac鼠须管18之后log.info无效 #340

Urie96 opened this issue May 8, 2024 · 2 comments

Comments

@Urie96
Copy link

Urie96 commented May 8, 2024

不仅如此,下面这个require在16.2上可以,但升级到18之后也会导致lua整个插件失效

package.cpath = os.getenv("HOME") .. "/Library/Rime/lua/lib/lib?.so;" .. package.cpath
local timer = require("timer")
@Urie96 Urie96 closed this as not planned Won't fix, can't repro, duplicate, stale May 12, 2024
@mirtlebot
Copy link

干嘛关掉,用 librime 的 rime_api_console 试了下,稳定复现,不是鼠须管的问题

local function test_log(input)
    print('test_log') 
    log.info('test_log') --> not work
    log.warning('test_log') --> work
    log.error('test_log') --> work
    for _ in input:iter() do
        _.comment = '*'
        yield(_)
    end
end
return test_log

@shewer

@shewer
Copy link
Contributor

shewer commented May 21, 2024

不仅如此,下面这个require在16.2上可以,但升级到18之后也会导致lua整个插件失效

package.cpath = os.getenv("HOME") .. "/Library/Rime/lua/lib/lib?.so;" .. package.cpath
local timer = require("timer")

#313

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

3 participants