{"action":"created","issue":{"url":"https://api.github.com/repos/ashfinal/awesome-hammerspoon/issues/39","repository_url":"https://api.github.com/repos/ashfinal/awesome-hammerspoon","labels_url":"https://api.github.com/repos/ashfinal/awesome-hammerspoon/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/ashfinal/awesome-hammerspoon/issues/39/comments","events_url":"https://api.github.com/repos/ashfinal/awesome-hammerspoon/issues/39/events","html_url":"https://github.com/ashfinal/awesome-hammerspoon/issues/39","id":242139430,"number":39,"title":"Error loading images","user":{"login":"amitkot","id":654041,"avatar_url":"https://avatars0.githubusercontent.com/u/654041?v=3","gravatar_id":"","url":"https://api.github.com/users/amitkot","html_url":"https://github.com/amitkot","followers_url":"https://api.github.com/users/amitkot/followers","following_url":"https://api.github.com/users/amitkot/following{/other_user}","gists_url":"https://api.github.com/users/amitkot/gists{/gist_id}","starred_url":"https://api.github.com/users/amitkot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitkot/subscriptions","organizations_url":"https://api.github.com/users/amitkot/orgs","repos_url":"https://api.github.com/users/amitkot/repos","events_url":"https://api.github.com/users/amitkot/events{/privacy}","received_events_url":"https://api.github.com/users/amitkot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-11T18:21:03Z","updated_at":"2017-07-12T08:29:29Z","closed_at":null,"body":"Using Hammerspoon 0.9.54 installed using ```brew cask``` on a MacBook running Sierra, when I reload the config I get the following errors:\r\n```\r\n2017-07-11 21:16:50: -- Lazy extension loading enabled\r\n2017-07-11 21:16:50: -- Loading ~/.hammerspoon/init.lua\r\n2017-07-11 21:16:50: -- Loading extension: hotkey\r\n2017-07-11 21:16:50: -- Loading extension: hints\r\n2017-07-11 21:16:50: -- Loading extension: uielement\r\n2017-07-11 21:16:50: -- Loading extension: window\r\n2017-07-11 21:16:50: -- Loading extension: drawing\r\n2017-07-11 21:16:50: -- Loading extension: fs\r\n2017-07-11 21:16:50: 21:16:50     hotkey: Enabled hotkey ⌘⌃R\r\n2017-07-11 21:16:50: -- Loading extension: alert\r\n2017-07-11 21:16:50:              hotkey: Enabled hotkey ⌘⌃L\r\n2017-07-11 21:16:50:              hotkey: Enabled hotkey ⌘⌃S\r\n2017-07-11 21:16:50:              hotkey: Enabled hotkey ⌥D\r\n2017-07-11 21:16:50:              hotkey: Enabled hotkey ⌘⌃⇧R: Reload Configuration\r\n2017-07-11 21:16:50:              hotkey: Enabled hotkey ⌘⌃⇧L: Lock Screen\r\n2017-07-11 21:16:50:              hotkey: Enabled hotkey ⌘⌃⇧T: Show Digital Clock\r\n2017-07-11 21:16:50:              hotkey: Enabled hotkey ⌘⌃⇧SPACE: Toggle Hotkeys Cheatsheet\r\n2017-07-11 21:16:50:              hotkey: Enabled hotkey ⌘⌥LEFT: Lefthalf of Screen\r\n2017-07-11 21:16:50:              hotkey: Enabled hotkey ⌘⌥RIGHT: Righthalf of Screen\r\n2017-07-11 21:16:50:              hotkey: Enabled hotkey ⌘⌥UP: Fullscreen\r\n2017-07-11 21:16:50:              hotkey: Enabled hotkey ⌘⌥DOWN: Resize & Center\r\n2017-07-11 21:16:50:              hotkey: Enabled hotkey ⌘⌥RETURN: Center Window\r\n2017-07-11 21:16:50: -- Loading extension: eventtap\r\n2017-07-11 21:16:50: -- Loading extension: network\r\n2017-07-11 21:16:50: -- Loading extension: osascript\r\n2017-07-11 21:16:50: -- Loading extension: menubar\r\n2017-07-11 21:16:50: -- Loading extension: timer\r\n2017-07-11 21:16:50: -- Loading extension: screen\r\n2017-07-11 21:16:50: -- Loading extension: styledtext\r\n2017-07-11 21:16:50: -- Loading extension: geometry\r\n2017-07-11 21:16:50: -- Loading extension: canvas\r\n2017-07-11 21:16:50: -- Loading extension: image\r\n2017-07-11 21:16:50: *** ERROR: /Users/amit/.hammerspoon/widgets/timelapsed.lua:46: Unable to load image: ./resources/timebg.png\r\nstack traceback:\r\n\t[C]: in function 'hs.image.imageFromPath'\r\n\t/Users/amit/.hammerspoon/widgets/timelapsed.lua:46: in main chunk\r\n\t[C]: in function 'rawrequire'\r\n\t...app/Contents/Resources/extensions/hs/_coresetup/init.lua:529: in function 'require'\r\n\t/Users/amit/.hammerspoon/init.lua:372: in main chunk\r\n\t[C]: in function 'xpcall'\r\n\t...app/Contents/Resources/extensions/hs/_coresetup/init.lua:561: in function 'hs._coresetup.setup'\r\n\t(...tail calls...)\r\n```\r\n\r\nThe image is there in ```~/.hammerspoon/resources```, but for some reason it isn't able to load it."},"comment":{"url":"https://api.github.com/repos/ashfinal/awesome-hammerspoon/issues/comments/314693580","html_url":"https://github.com/ashfinal/awesome-hammerspoon/issues/39#issuecomment-314693580","issue_url":"https://api.github.com/repos/ashfinal/awesome-hammerspoon/issues/39","id":314693580,"user":{"login":"amitkot","id":654041,"avatar_url":"https://avatars0.githubusercontent.com/u/654041?v=3","gravatar_id":"","url":"https://api.github.com/users/amitkot","html_url":"https://github.com/amitkot","followers_url":"https://api.github.com/users/amitkot/followers","following_url":"https://api.github.com/users/amitkot/following{/other_user}","gists_url":"https://api.github.com/users/amitkot/gists{/gist_id}","starred_url":"https://api.github.com/users/amitkot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitkot/subscriptions","organizations_url":"https://api.github.com/users/amitkot/orgs","repos_url":"https://api.github.com/users/amitkot/repos","events_url":"https://api.github.com/users/amitkot/events{/privacy}","received_events_url":"https://api.github.com/users/amitkot/received_events","type":"User","site_admin":false},"created_at":"2017-07-12T08:29:29Z","updated_at":"2017-07-12T08:29:29Z","body":"Changing line 46 worked, thanks!"}}
{"actor":{"display_login":"amitkot"}}