Closed realav closed 3 years ago
Could you try the new version with most recent Hammerspoon (0.9.80
)?
Using spaces-v0.2.release.tar.gz
Git this...
`2020-09-22 15:09:02: Welcome to the Hammerspoon Console! You can run any Lua code in here.
2020-09-22 15:09:02: -- Lazy extension loading enabled 2020-09-22 15:09:02: -- Loading ~/.hammerspoon/init.lua 2020-09-22 15:09:03: -- Loading extension: uielement 2020-09-22 15:09:03: -- Loading extension: logger 2020-09-22 15:09:03: -- Loading extension: window 2020-09-22 15:09:03: -- Loading extensions: window.filter 2020-09-22 15:09:03: -- Loading extension: settings 2020-09-22 15:09:03: 15:09:03 hhtwm: reading from hs.settings 2020-09-22 15:09:03: hhtwm.tilingCache nil 2020-09-22 15:09:03: hhtwm.floatingCache nil 2020-09-22 15:09:03: -- Loading extension: fnutils 2020-09-22 15:09:03: -- Loading extension: screen 2020-09-22 15:09:03: read from hs.settings 2020-09-22 15:09:03: -- Loading extension: inspect 2020-09-22 15:09:03: cache.spaces {} 2020-09-22 15:09:03: cache.floating {} 2020-09-22 15:09:03: -- Loading extension: mouse 2020-09-22 15:09:03: * ERROR: /Users/xxx/.hammerspoon/hhtwm/init.lua:721: attempt to index a nil value (field 'axuielement') stack traceback: /Users/xxx/.hammerspoon/hhtwm/init.lua:721: in function 'hhtwm.detectTile' /Users/xxx/.hammerspoon/hhtwm/init.lua:531: in upvalue 'shouldFloat' /Users/xxx/.hammerspoon/hhtwm/init.lua:565: in local 'fn' ...on.app/Contents/Resources/extensions/hs/fnutils/init.lua:87: in function 'hs.fnutils.each' /Users/xxx/.hammerspoon/hhtwm/init.lua:554: in function 'hhtwm.tile' /Users/xxx/.hammerspoon/hhtwm/init.lua:852: in function 'hhtwm.start' /Users/xxx/.hammerspoon/init.lua:2: in main chunk [C]: in function 'xpcall' ...app/Contents/Resources/extensions/hs/_coresetup/init.lua:648: in function 'hs._coresetup.setup' (...tail calls...) 2020-09-22 15:09:03: ** 2020-09-22 15:09:03: 15:09:03 ERROR: LuaSkin: hs.application.watcher callback: /Users/xxx/.hammerspoon/hhtwm/init.lua:721: attempt to index a nil value (field 'axuielement') stack traceback: /Users/xxx/.hammerspoon/hhtwm/init.lua:721: in function 'hhtwm.detectTile' /Users/xxx/.hammerspoon/hhtwm/init.lua:531: in upvalue 'shouldFloat' /Users/xxx/.hammerspoon/hhtwm/init.lua:565: in local 'fn' ...on.app/Contents/Resources/extensions/hs/fnutils/init.lua:87: in function 'hs.fnutils.each' /Users/xxx/.hammerspoon/hhtwm/init.lua:554: in function 'hhtwm.tile' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:944: in upvalue 'emit' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:982: in method 'filterEmitEvent' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1004: in method 'emitEvent' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1029: in field 'created' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1397: in upvalue 'appWindowEvent' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1202: in method 'getFocused' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1278: in function <...n.app/Contents/Resources/extensions/hs/window/filter.lua:1267> (...tail calls...) 2020-09-22 15:09:03: **** 2020-09-22 15:09:08: 15:09:08 Warning: wfilter: No accessibility access to app Mail Networking (no watcher pid) 2020-09-22 15:09:47: ** 2020-09-22 15:09:47: 15:09:47 ERROR: LuaSkin: hs.application.watcher callback: /Users/xxx/.hammerspoon/hhtwm/init.lua:721: attempt to index a nil value (field 'axuielement') stack traceback: /Users/xxx/.hammerspoon/hhtwm/init.lua:721: in function 'hhtwm.detectTile' /Users/xxx/.hammerspoon/hhtwm/init.lua:531: in upvalue 'shouldFloat' /Users/xxx/.hammerspoon/hhtwm/init.lua:565: in local 'fn' ...on.app/Contents/Resources/extensions/hs/fnutils/init.lua:87: in function 'hs.fnutils.each' /Users/xxx/.hammerspoon/hhtwm/init.lua:554: in function 'hhtwm.tile' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:944: in upvalue 'emit' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:982: in method 'filterEmitEvent' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1004: in method 'emitEvent' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1029: in field 'created' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1397: in upvalue 'appWindowEvent' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1258: in method 'getCurrentSpaceAppWindows' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1225: in method 'getAppWindows' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1219: in field 'new' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1434: in function <...n.app/Contents/Resources/extensions/hs/window/filter.lua:1423> (...tail calls...) 2020-09-22 15:09:47: **** 2020-09-22 15:09:53: **** 2020-09-22 15:09:53: 15:09:53 ERROR: LuaSkin: hs.application.watcher callback: /Users/xxx/.hammerspoon/hhtwm/init.lua:721: attempt to index a nil value (field 'axuielement') stack traceback: /Users/xxx/.hammerspoon/hhtwm/init.lua:721: in function 'hhtwm.detectTile' /Users/xxx/.hammerspoon/hhtwm/init.lua:531: in upvalue 'shouldFloat' /Users/xxx/.hammerspoon/hhtwm/init.lua:565: in local 'fn' ...on.app/Contents/Resources/extensions/hs/fnutils/init.lua:87: in function 'hs.fnutils.each' /Users/xxx/.hammerspoon/hhtwm/init.lua:554: in function 'hhtwm.tile' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:944: in upvalue 'emit' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:982: in method 'filterEmitEvent' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1004: in method 'emitEvent' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1122: in method 'notVisible' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1178: in method 'destroyed' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1339: in function <...n.app/Contents/Resources/extensions/hs/window/filter.lua:1335> (...tail calls...) 2020-09-22 15:09:54: **** `
I finally got it running without any errors with the latest Hammerspoon. 🥳 Thanks!
Hammerspoon version 0.9.78 axuielement-v1.0.7.3.release.tar.gz spaces-v0.2.release.tar.gz
`2020-08-31 14:57:32: Welcome to the Hammerspoon Console! You can run any Lua code in here.
2020-08-31 14:57:32: -- Lazy extension loading enabled 2020-08-31 14:57:33: -- Loading ~/.hammerspoon/init.lua 2020-08-31 14:57:33: -- Loading extension: uielement 2020-08-31 14:57:33: -- Loading extension: logger 2020-08-31 14:57:33: -- Loading extension: settings 2020-08-31 14:57:33: 14:57:33 hhtwm: reading from hs.settings 2020-08-31 14:57:33: -- Loading extension: window 2020-08-31 14:57:33: -- Loading extensions: window.filter 2020-08-31 14:57:33: -- Loading extension: screen 2020-08-31 14:57:33: -- Loading extension: mouse 2020-08-31 14:57:33: -- Loading extension: fnutils 2020-08-31 14:57:33: -- Loading extension: drawing 2020-08-31 14:57:33: * ERROR: /Users/xxx/.hammerspoon/hhtwm/init.lua:628: attempt to concatenate a nil value (local 'layoutName') stack traceback: /Users/xxx/.hammerspoon/hhtwm/init.lua:628: in local 'fn' ...on.app/Contents/Resources/extensions/hs/fnutils/init.lua:87: in function 'hs.fnutils.each' /Users/xxx/.hammerspoon/hhtwm/init.lua:623: in local 'fn' ...on.app/Contents/Resources/extensions/hs/fnutils/init.lua:87: in function 'hs.fnutils.each' /Users/xxx/.hammerspoon/hhtwm/init.lua:620: in function 'hhtwm.tile' /Users/xxx/.hammerspoon/hhtwm/init.lua:796: in function 'hhtwm.start' /Users/xxx/.hammerspoon/init.lua:2: in main chunk [C]: in function 'xpcall' ...app/Contents/Resources/extensions/hs/_coresetup/init.lua:648: in function 'hs._coresetup.setup' (...tail calls...) 2020-08-31 14:57:33: ** 2020-08-31 14:57:33: 14:57:33 ERROR: LuaSkin: hs.application.watcher callback: /Users/xxx/.hammerspoon/hhtwm/init.lua:628: attempt to concatenate a nil value (local 'layoutName') stack traceback: /Users/xxx/.hammerspoon/hhtwm/init.lua:628: in local 'fn' ...on.app/Contents/Resources/extensions/hs/fnutils/init.lua:87: in function 'hs.fnutils.each' /Users/xxx/.hammerspoon/hhtwm/init.lua:623: in local 'fn' ...on.app/Contents/Resources/extensions/hs/fnutils/init.lua:87: in function 'hs.fnutils.each' /Users/xxx/.hammerspoon/hhtwm/init.lua:620: in function 'hhtwm.tile' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:944: in upvalue 'emit' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:982: in method 'filterEmitEvent' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1004: in method 'emitEvent' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1029: in field 'created' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1397: in upvalue 'appWindowEvent' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1202: in method 'getFocused' ...n.app/Contents/Resources/extensions/hs/window/filter.lua:1278: in function <...n.app/Contents/Resources/extensions/hs/window/filter.lua:1267> (...tail calls...) 2020-08-31 14:57:33: ****`