Hammerspoon / hammerspoon

Staggeringly powerful macOS desktop automation with Lua

Home Page:http://www.hammerspoon.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR: hotkey.lua:415: key must be a string or a number

ys64 opened this issue · comments

commented

I've been encountering this error for the past few days, and as a result, I am unable to use Hammerspoon. Is anyone else experiencing the same issue?

2024-03-17 14:24:29: *** ERROR: ...merspoon.app/Contents/Resources/extensions/hs/hotkey.lua:415: key must be a string or a number
stack traceback:
[C]: in function 'error'
...merspoon.app/Contents/Resources/extensions/hs/hotkey.lua:20: in upvalue 'getKeycode'
...merspoon.app/Contents/Resources/extensions/hs/hotkey.lua:195: in function 'hs.libhotkey.new'
...merspoon.app/Contents/Resources/extensions/hs/hotkey.lua:415: in function 'hs.libhotkey.bind'
(...tail calls...)
./core.fnl:143: in upvalue 'f'
./lib/functional.fnl:155: in local 'f'
./lib/functional.fnl:135: in function 'lib.functional.reduce'
(...tail calls...)
./core.fnl:145: in main chunk
(...tail calls...)
[C]: in function 'rawrequire'
...poon.app/Contents/Resources/extensions/hs/_coresetup.lua:662: in function 'require'
/Users/ys/.hammerspoon/init.lua:15: in main chunk
[C]: in function 'xpcall'
...poon.app/Contents/Resources/extensions/hs/_coresetup.lua:723: in function 'hs._coresetup.setup'
(...tail calls...)