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

Unable to load from Hammerspoon #10

Open
cbtum opened this issue Feb 27, 2021 · 5 comments
Open

Unable to load from Hammerspoon #10

cbtum opened this issue Feb 27, 2021 · 5 comments

Comments

@cbtum
Copy link

cbtum commented Feb 27, 2021

Just tried to install shiftit as described in the alternative installations section

When reloading the config, I get the following error. Any ideas what I might be missing?

2021-02-27 10:26:09: *** ERROR: /Users/user/.hammerspoon/init.lua:3: attempt to index a nil value (global 'spoon')
stack traceback:
/Users/user/.hammerspoon/init.lua:3: in main chunk
[C]: in function 'xpcall'
...app/Contents/Resources/extensions/hs/_coresetup/init.lua:702: in function 'hs._coresetup.setup'
(...tail calls...)

@peterklijn
Copy link
Owner

Hi,

Could you verify if you have the right permissions set?
#9 (comment)

@cbtum
Copy link
Author

cbtum commented Feb 27, 2021

yes, permissions are granted. Rebooting didn't help either

@L33t-HAXXOR
Copy link

Oh oops
I just made the same issue here #16

@peterklijn
Copy link
Owner

Apologies for the delay, it looks like there is something misconfigured in your Hammerspoon config.

Could you please share the following configurations:

  1. The configuration of Hammerspoon, found in ~/.hammerspoon/init.lua (you can also open it via the Hammerspoon icon in the menu bar and click on "Open Config")
  2. The output of this command: ls -la ~/.hammerspoon/Spoons

My guess is that the name of the installed spoon and the string in the loadSpoon command don't match.

@L33t-HAXXOR
Copy link

Will do!

@fchimpan fchimpan mentioned this issue Nov 29, 2022
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