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

Flashlight results don't appear in spotlight since update to public beta 10.10.4 #494

Closed
nicohein opened this issue May 27, 2015 · 84 comments

Comments

@nicohein
Copy link

After I updated Mac OS to the fourth public beta 10.10.4 (14E26a) there aren't any Flashlight results in Spotlight anymore.

FlashlightSIMBLAgent.app is still running.

After disabling and enabling flashlight these messages show up in Console:

com.nateparrott.Flashlight.FlashlightSIMBLAgent[3288]: SETTINGS CHANGED
com.nateparrott.Flashlight.FlashlightSIMBLAgent[3288]: warning: failed to get scripting definition from /System/Library/CoreServices/Spotlight.app; it may not be scriptable.
com.nateparrott.Flashlight.FlashlightSIMBLAgent[3288]: AppleEvents: Send port for process has no send right, port=( port:26615/0x67f7 rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
com.nateparrott.Flashlight.FlashlightSIMBLAgent[3288]: AppleEvents: Send port for process has no send right, port=( port:26615/0x67f7 rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
com.nateparrott.Flashlight.FlashlightSIMBLAgent[3288]: warning: failed to get scripting definition from /System/Library/CoreServices/Spotlight.app; it may not be scriptable.
com.nateparrott.Flashlight.FlashlightSIMBLAgent[3288]: AppleEvents: Send port for process has no send right, port=( port:26615/0x67f7 rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
com.nateparrott.Flashlight.FlashlightSIMBLAgent[3288]: AppleEvents: Send port for process has no send right, port=( port:26615/0x67f7 rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread

Is there somebody else dealing with this issue?

@Sajonara
Copy link

It is not only the public beta, but the regular developer build, too. I can confirm this issue.

@toph-allen
Copy link

Same here, on both my machines running 10.10.4.

@marcocarrara
Copy link

It's the same for me too, I updated my OS to 10.10.4 public beta this morning and Flashlight doesn't work anymore..

@shatteringlass
Copy link

Issue is upstream
norio-nomura/EasySIMBL#25

@yashendra2797
Copy link

Same for me!

@yzlnew
Copy link

yzlnew commented May 30, 2015

Same issue for me.

@tomibennett
Copy link

Not working for me as well.

@iamvicliu
Copy link

me too

10.10.4 (14E26a)
image

@iiiGerardoiii
Copy link

Same problem here, I'm on version 10.10.4 (14E26a)

@shatteringlass
Copy link

Please stop reporting the issue, it's obvious we're all going to encounter this problem until there is a fix. @darwin and @norio-nomura are working upstream to get easySIMBL working.

@iamvicliu
Copy link

OSX 10.11更新了,spotlight功能增强 = =

@dacz
Copy link

dacz commented Jun 13, 2015

Flashlight is not registered as an Spotlight plugin/extension. I do not know if it should be (but is not working on 10.10.4).

@FutureProg
Copy link

Upon getting the app it didn't function as intended. Using OSX 10.10.3

@matthewdias
Copy link
Contributor

@norio-nomura has pretty much declared EasySIMBL dead. Apparently the original SIMBL works on 10.10.4. Could we switch to that?

@alanma
Copy link

alanma commented Jul 2, 2015

+1

@fuzzy76
Copy link

fuzzy76 commented Jul 3, 2015

Not quite. An altered SIMBL installation (moved to a different location owned by root) works. And since SIMBL seems abandoned, I wouldn't count on it getting updated anytime soon. It seems like Apple would like to kill the kind of injection that EasySIMBL and SIMBL relies on. :-/

@dacz
Copy link

dacz commented Jul 3, 2015

@fuzzy76 Are any instructions available how to get altered SIMBL installation... to get working flashlight?

@stididup
Copy link

stididup commented Jul 3, 2015

@fuzzy76 @dacz I up your comment. Using Flashlight is so good. This issue is boring me. Any solution?

@alicoding
Copy link

I shouldn't have update to OS X 10.10.4 now I kinda regret updating that :/

@owenmead
Copy link

owenmead commented Jul 4, 2015

+1 on a fresh install

@mavci
Copy link

mavci commented Jul 4, 2015

+1

@sofianhw
Copy link

sofianhw commented Jul 4, 2015

@Ankirama
Copy link

Ankirama commented Jul 5, 2015

@sofianhw Sorry but I don't understand how to change this.
I installed SIMBL but I don't know what I have to move from FlashLight can you help us a little bit? :)

@mesqueeb
Copy link

mesqueeb commented Jul 7, 2015

When will flashlight release a fix?

@jimcky
Copy link

jimcky commented Jul 22, 2015

Getting similar result, what's weird is that it used to work some time ago, then suddenly I find that it is not working anymore and have no ideas what have I done that made it so.

I've also tried the SIMBL solution here: https://gist.github.com/hetima/51b71091aedf622f61f7 but still no luck. The problem is that I haven't installed EasySIMBL on my Mac in the first place (might be installed by FlashLight as a dependency?). I followed the remaining steps anyway, but FlashLight is still not working.

Anyone out there has got Flashlight to work again?

Here is the logs:

21/7/15 18:25:33.804 com.nateparrott.Flashlight.FlashlightSIMBLAgent[4153]: SETTINGS CHANGED
21/7/15 18:25:33.887 com.nateparrott.Flashlight.FlashlightSIMBLAgent[4153]: warning: failed to get scripting definition from /System/Library/CoreServices/Spotlight.app; it may not be scriptable.
21/7/15 18:25:33.894 com.nateparrott.Flashlight.FlashlightSIMBLAgent[4153]: AppleEvents: Send port for process has no send right, port=( port:30063/0x756f rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
21/7/15 18:25:33.895 com.nateparrott.Flashlight.FlashlightSIMBLAgent[4153]: AppleEvents: Send port for process has no send right, port=( port:30063/0x756f rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
21/7/15 18:25:34.021 com.nateparrott.Flashlight.FlashlightSIMBLAgent[4153]: warning: failed to get scripting definition from /System/Library/CoreServices/Spotlight.app; it may not be scriptable.
21/7/15 18:25:34.021 com.nateparrott.Flashlight.FlashlightSIMBLAgent[4153]: AppleEvents: Send port for process has no send right, port=( port:30063/0x756f rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
21/7/15 18:25:34.022 com.nateparrott.Flashlight.FlashlightSIMBLAgent[4153]: AppleEvents: Send port for process has no send right, port=( port:30063/0x756f rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread

@plttn
Copy link

plttn commented Jul 22, 2015

@jimcky 10.10.4 broke SIMBL.

You'd have to recompile Flashlight to use the new SIMBL, but that would only be a solution until 10.11 comes out, as code injection just flat out doesn't work anymore in El Capitan.

@dacz
Copy link

dacz commented Jul 22, 2015

@plttn Please, step-by-step instructions how to recompile Flashlight with SMIBL would be great. I'm not OSX developer, sorry. If the recompiled app may be published without need to download xcode would be even better. Thanks a lot.

@dacz
Copy link

dacz commented Jul 22, 2015

I would love the Flashlight functionality and openess (but have never chance to see it working) and I'm looking for another ways how to make it working. But I'm not OSX developer.

My general question is: do the plugins for interaction with OS and app (like creating events in Cal, sending messages with Messgs) need Spotlight functionality or Spotlight is here just for obvious way how to get user input and present output?

I'm thinking about some chat-like UI (written in js/node) that would employ all great plugins, here.

Thanks for help and opinions if you would have any.

@plttn
Copy link

plttn commented Jul 22, 2015

@dacz I don't have step by step instructions, as OSX dev isn't my area.

What I do know from looking around:
The code injection flashlight uses was broken in 10.10.4.
There is a way to fix it on 10.10.4
That fix is somewhat pointless, as code injection will simply not work at all on 10.11

@guest4849384
Copy link

@plttn What is the way to fix the injection in 10.10.4 ?
Because nearly everyone has here 10.10.4 including me!
I will avoid updating to 10.11, as I often did if something won't going to work.

@plttn
Copy link

plttn commented Jul 26, 2015

@guest4849384 to rephrase: there is a method of code injection on 10.10.4, as totalfinder still works. What that method is though, I don't know.

@hufufuf
Copy link

hufufuf commented Jul 28, 2015

You can try to run the following Script :
tell application "Spotlight" to inject SIMBL into Snow Leopard

Run it at login and it should work.
I found this workaround here : norio-nomura/EasySIMBL#25

For me, it works.
And I did the same thing with Safari for SafariStand

@mvaneijgen
Copy link

@hufufuf do you need the change Snow leopard to Yosemite? tell application "Spotlight" to inject SIMBL into Yosemite, cause tell application "Spotlight" to inject SIMBL into Snow Leopard doesn't work for me on 10.10.4

@hufufuf
Copy link

hufufuf commented Jul 28, 2015

No, it's Snow Leopard.
But I think you have to install SIMBL too
http://culater.net/software/SIMBL/SIMBL.php

And put SpotlightSIMBL.bundle into ~/Library/Application Support/SIMBL/Plugins/
And put Flashlight.osax into ~/Library/ScriptingAdditions/

Both files are into Flashlight.app

@selaromi
Copy link

Do you remember what you did specifically to make it work?

  • Install SIMBL
  • then Flashlight
  • then ran the script?

Can you tell us this to try to replay the steps?

Thanks

On Tue, Jul 28, 2015 at 3:14 PM, hufufuf notifications@github.com wrote:

No, it's Snow Leopard.
But I think you have to install SIMBL too
http://culater.net/software/SIMBL/SIMBL.php


Reply to this email directly or view it on GitHub
#494 (comment)
.

Ignacio Morales
Tlf +34-665332477
We Wanted To Be Astronauts

@hufufuf
Copy link

hufufuf commented Jul 28, 2015

Here are the steps I made.
It's really really ugly and now Flashlight doesn't allow me to download new plugins from the app. But it is working more or less.
I'm not sure all is really required but I don't want to test each step independently. You can do it if you want.

  • Install SIMBL http://culater.net/software/SIMBL/SIMBL.php
  • Copy SpotlightSIMBL.bundle to /Library/Application Support/SIMBL/Plugins/
  • Copy Flashlight.osax to ~/Library/ScriptingAdditions/
  • Disable Flashlight
  • Enable Flashlight
  • Run the script

Flashlight.osax and SpotlightSIMBL.bundle are in
/Applications/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/PlugIns/
and
/Applications/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/Resources/SIMBLPlugins/

@pastak
Copy link

pastak commented Jul 28, 2015

@hufufuf It works on my OSX 10.10.4 by fixing your comment 👍

@sidmonta
Copy link

@hufufuf It works, thanks 👍

@hufufuf
Copy link

hufufuf commented Jul 28, 2015

Please note that when the application will be updated, you will have to remove these files

@mvaneijgen
Copy link

Amazing it works thanks @hufufuf

@nunoh
Copy link

nunoh commented Jul 28, 2015

worked for me too 👍 thanks @hufufuf

@wladston
Copy link

@hufufuf, does this work on OS X Yosemite 10.10.4? Did you have to do anything else besides that 6 steps? Can anyone else confirm that these instructions work for Yosemite?

@selaromi
Copy link

@hufufuf I think you're the most liked guy here. Thank you for responding
with such detailed steps.

On Tue, Jul 28, 2015 at 4:22 PM, Wladston Viana Ferreira Filho <
notifications@github.com> wrote:

@hufufuf https://github.com/hufufuf, does this work on OS X Yosemite
10.10.4? Did you have to do anything else besides that 6 steps? Can
anyone else confirm that these instructions work for Yosemite?


Reply to this email directly or view it on GitHub
#494 (comment)
.

Ignacio Morales
Tlf +34-665332477
We Wanted To Be Astronauts

@mvaneijgen
Copy link

@wladston it works in Yosemite. What I did is remove every instance of EasySIMBL (follow their instructions) and completely remove Flashlight using AppCleaner and then follow the steps of @hufufuf

@hufufuf
Copy link

hufufuf commented Jul 28, 2015

It is only for 10.10.4
There is no need for 10.10.3 and before.
And I don't think this is enough for El Capitan (well, I have no idea at all if it works with El Capitan)

I didn't have to do anything else.

Le 28 juil. 2015 à 16:23, Wladston Viana Ferreira Filho notifications@github.com a écrit :

@hufufuf, does this work on OS X Yosemite 10.10.4? Did you have to do anything else besides that 6 steps? Can anyone else confirm that these instructions work for Yosemite?


Reply to this email directly or view it on GitHub.

@hufufuf
Copy link

hufufuf commented Jul 28, 2015

Well, it's nothing. Just a dirty hack.
Moving the files to a place where the old SIMBL can find them. And force the injection.
It will make the wait for the next update of the app more confortable ;)

Le 28 juil. 2015 à 16:42, selaromi notifications@github.com a écrit :

@hufufuf I think you're the most liked guy here. Thank you for responding
with such detailed steps.

On Tue, Jul 28, 2015 at 4:22 PM, Wladston Viana Ferreira Filho <
notifications@github.com> wrote:

@hufufuf https://github.com/hufufuf, does this work on OS X Yosemite
10.10.4? Did you have to do anything else besides that 6 steps? Can
anyone else confirm that these instructions work for Yosemite?


Reply to this email directly or view it on GitHub
#494 (comment)
.

Ignacio Morales
Tlf +34-665332477
We Wanted To Be Astronauts

Reply to this email directly or view it on GitHub.

@wladston
Copy link

Great, thanks for the help :) hopefully when el capitain rolls we'll have a fix for that too.

@wladston
Copy link

@hufufuf, @mvaneijgen Ok, so I did all the steps, but it didn't work. Even rebooted the machine. I moved the files doing this:

cp -r /Applications/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/Resources/SIMBLPlugins/SpotlightSIMBL.bundle "/Library/Application Support/SIMBL/Plugins"
cp -r /Applications/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/PlugIns/Flashlight.osax ~/Library/ScriptingAdditions/

What should I do for the "Run the script" part? Is just launching Spotlight enough?

@plttn
Copy link

plttn commented Jul 28, 2015

@wladston In terms of El Capitan, that'll be significantly trickier (if at all possible).

@hufufuf
Copy link

hufufuf commented Jul 28, 2015

@wladston open script editor and create a new script with the following line : (and yes, you have to write Snow Leopard and not Yosemite)

tell application "Spotlight" to inject SIMBL into Snow Leopard

Then launch spotlight and see if it works. It should.
If yes, you will want to export the script as an app as you will have to run it each time you open your session.

If it doesn't, well, bad luck I suppose. I won't be able to do much for you

Le 28 juil. 2015 à 17:16, Wladston Viana Ferreira Filho notifications@github.com a écrit :

@hufufuf, @mvaneijgen Ok, so I did all the steps, but it didn't work. Even rebooted the machine. I moved the files doing this:

cp -r /Applications/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/Resources/SIMBLPlugins/SpotlightSIMBL.bundle "/Library/Application Support/SIMBL/Plugins"
cp -r /Applications/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/PlugIns/Flashlight.osax ~/Library/ScriptingAdditions/
What should I do for the "Run the script" part? Is just launching Spotlight enough?


Reply to this email directly or view it on GitHub.

@wladston
Copy link

Awesome, it worked!! Thanks :) 🙇

@nate-parrott
Copy link
Owner

@selaromi published a gist with instructions on how to get Flashlight working on 10.10.4.

BinaryAge, which makes a number of commercial products based on tweaking OS X system apps, has folded their hands and said they won't be able to continue messing with system apps in El Capitan. [1]

It doesn't make sense to continue trying to hack Spotlight. But I think Flashlight has a bright future outside Spotlight, as its own app.

[1] You can technically continue to tweak system apps if you reboot into a recovery partition and turn off System Integrity Protection, but user's aren't going to do that. And it's probably ridiculous to ask anyone — even a very technical user — to do it.

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