Jump to content

SmokyBarnable

Member
  • Posts

    3
  • Joined

  • Last visited

SmokyBarnable's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. OK, I removed the require statement for "mjolnir._asm.hydra.applescript" and re-ran "mj:install" -- and it now appears to be working! Thanks! This looks really cool, I'm excited to dig into mjolnir and lua a bit now ...
  2. Ah - sorry. I overlooked running mj:install, thanks. That appeared to complete successfully. [EDIT: I also ran "mj:find mjolnir", and a popup alerted me that the command had been set in the workflow ] -- but after doing that, I restarted the mjolnir app (which I have in /Applications/Mjolnir.app), and now the lua console pops open with this error : -- Loading ~/.mjolnir/init.lua /Users/rarnold/.mjolnir/init.lua:20: module 'mjolnir._asm.hydra.applescript' not found: no field package.preload['mjolnir._asm.hydra.applescript'] no file '/usr/local/share/lua/5.2/mjolnir/_asm/hydra/applescript.lua' no file '/usr/local/share/lua/5.2/mjolnir/_asm/hydra/applescript/init.lua' no file '/usr/local/lib/lua/5.2/mjolnir/_asm/hydra/applescript.lua' no file '/usr/local/lib/lua/5.2/mjolnir/_asm/hydra/applescript/init.lua' no file './mjolnir/_asm/hydra/applescript.lua' no file '/usr/local/lib/lua/5.2/mjolnir/_asm/hydra/applescript.so' no file '/usr/local/lib/lua/5.2/loadall.so' no file './mjolnir/_asm/hydra/applescript.so' no file '/usr/local/lib/lua/5.2/mjolnir.so' no file '/usr/local/lib/lua/5.2/loadall.so' no file './mjolnir.so' stack traceback: [C]: in function 'require' /Users/rarnold/.mjolnir/init.lua:20: in main chunk [C]: in function 'xpcall' /Applications/Mjolnir.app/Contents/Resources/setup.lua:73: in main chunk ...I thought maybe I needed to install the "mjolnir._asm.hydra" rock, so I ran "luarocks install mjolnir._asm.hydra", but that produced this error: Installing http://rocks.moonscript.org/mjolnir._asm.hydra-0.2-1.macosx-x86_64.rock... stat: cannot read file system information for ‘%A’: No such file or directory chmod: invalid mode: ‘ File: "/usr/local/lib/luarocks/rocks/mjolnir._asm.hydra/0.2-1/lua/mjolnir/_asm/hydra/init.lua"’ Try 'chmod --help' for more information. stat: cannot read file system information for ‘%A’: No such file or directory chmod: invalid mode: ‘ File: "/usr/local/lib/luarocks/rocks/mjolnir._asm.hydra/0.2-1/lib/mjolnir/_asm/hydra/internal.so"’ Try 'chmod --help' for more information. Updating manifest for /usr/local/lib/luarocks/rocks Double Jeopardy! I'm new to lua, so any further tips are welcomed and appreciated :^) Also - I tried running a few of the window movement commands, and I get the following in Alfred's debug window: INFO: alfred.workflow.input.keyword] Processing output 'alfred.workflow.action.script' with arg '' [INFO: alfred.workflow.input.keyword] Processing output 'alfred.workflow.action.script' with arg ''
  3. This sounded interesting to me, so I walked through the steps to install Mjolnir/Luarocks and your workflow, but when I run the workflow in debug mode it prints this: ERROR: alfred.workflow.action.script] Code 127: /bin/bash: line 29: -c: command not found Any ideas?
×
×
  • Create New...