alfred-omnifocus-workflow icon indicating copy to clipboard operation
alfred-omnifocus-workflow copied to clipboard

No longer works / Omnifocus 2 & Alfred 2

Open sashagolds opened this issue 8 years ago • 5 comments

typing "todo xxx" doesn't produce any results — as soon as space bar is pressed to begin labeling the task alfred switches to "Google Search" of the input.

sashagolds avatar Apr 01 '16 19:04 sashagolds

I have the same issue. It looks like the ruby script fails to require deps

BenjaminVanRyseghem avatar May 05 '16 18:05 BenjaminVanRyseghem

I have the same problem, too. who can tell me how to fix it.

AngelClover avatar Oct 12 '16 17:10 AngelClover

I tried '/usr/bin/ruby ./main.rb {query}'. It shows that appscript missing. after

sudo gem install rb-appscript

It works.

AngelClover avatar Oct 13 '16 03:10 AngelClover

For those of you who still have issues, I suggest to have a look at the iteration of a similar script discussed on the Alfred forum: https://www.alfredforum.com/topic/1041-create-new-task-in-omnifocus-inbox/?do=findComment&comment=56934

jonathandgall avatar Dec 09 '17 19:12 jonathandgall

sudo gem install rb-appscript Password: Building native extensions. This could take a while... ERROR: Error installing rb-appscript: ERROR: Failed to build gem native extension.

current directory: /Library/Ruby/Gems/2.6.0/gems/rb-appscript-0.6.1

/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0 -r ./siteconf20201125-15532-1e59fo5.rb extconf.rb *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.

Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/$(RUBY_BASE_NAME) extconf.rb:44:in `

': uninitialized constant Config (NameError) Did you mean? RbConfig CONFIG

extconf failed, exit code 1

Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/rb-appscript-0.6.1 for inspection. Results logged to /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-20/2.6.0/rb-appscript-0.6.1/gem_make.out

iT-Boyer avatar Nov 25 '20 08:11 iT-Boyer