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

Projects

None yet
@nicohein

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

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

@toph-allen

Same here, on both my machines running 10.10.4.

@marcocarrara

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..

@yashendra2797

Same for me!

@yzlnew

Same issue for me.

@mahloun

Not working for me as well.

@vicliu1990

me too

10.10.4 (14E26a)
image

@iiiGerardoiii

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

@shatteringlass

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.

@vicliu1990

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

@dacz

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

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

@matthewdias

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

@alanma

+1

@fuzzy76

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

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

@stididup

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

@alicoding

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

@owenmead

+1 on a fresh install

@mavci

+1

@Ankirama

@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

When will flashlight release a fix?

@tth135

+1

@svendvd

+1

@theunraveler

Please stop +1ing this. The developer is aware of the problem.

@alicoding

Can the dev or collaborator of this repo just lock this issue until further notice? +1 isn't helpful here at all.

@owenmead

Agreed @alicoding

If you merely want to know when progress has been made, turn on Notifications for this issues (Just to the right of the first top comment)

@texastoland

Nate hasn't been active since May but I tweeted him in reference to this issue. Everyone just checking in—refer back to @shatteringlass's comments for explanation.

@xremix

As far as I know Nate has paused the work on the project for an internship this summer. Seems we need to wait a little.

@starkshaw

Same issue here!

@tomarrell

Can someone confirm the dev is working on the issue or do we need to come up with a fix ourselves?

@mesqueeb

I cannot believe how a project like this could be put on hold.
It's probably one of the biggest projects with most app users as flashlight probably has received half of the users from the widely used Alfred.
The author of this app could become rich as I think me and everyone who uses flashlight would easily pay a buck for this app........

@alongat

Dude,
1. Nate don't owe anyone nothing. he can do whatever he likes.
2. this is open source, you are welcome branch out and fix it

agree with @owenmead and @alicoding , stop spamming this thread, when dev have insights they will share, meanwhile we're spamming each-other mailboxes :)

@tomarrell

@alongat essentially you are correct. No-one owes the community anything and anyone with the ability can freely make the required fixes.

However, this is a piece of software some people rely on for their everyday workflow. It is by no means a small project and the people with the specific skills to work on it and who have in the past should at least give an indication as to their intents for the project. By no means is anyone forcing anyone to do anything, simply word as to whether something we enjoy using regularly will be making a debut on OSX El Capitan is more than enough.

Heck I know if half the people here were able to contribute the time and skills (myself included) they would, but unfortunately not my area of expertise. Everyone relies on someone else for the maintenance of software in some form or another, no need to bash anyone for it.

@alongat

@tomarrell :) just didn't like @mesqueeb tone...

I'm sure dev are aware how much this tool means to everyone, specially since this issue breaks it altogether.
.
I think we spammed enough, lets hope the next post in this thread will be
"we found the issue/issue fix/you need to something something as w/a"
:)

@dacz

@guest4849384 I have Flashlight installed (but not working) but I have not EasySIMBL. Should I have it?

@owenmead
@NilsEckelt

No. Installing SIMBL 0.9.9 didn't fixed Flashlite for me!
We have to wait for a fix. ...Or spent some time in fixing it ourself. Happy to hear from anyone to pick up this issue.

@gemueselasagne

Hey everyone! Nate won't be fixing this as he is working at Apple for the summer. He MIGHT work on flashlight at a later point in time. Read it yourself: https://twitter.com/nateparrott/status/620336639529713664

@xremix

Isn't that what I just said above?
I'm congratulating Nate on his internship and am happy that he stared this project. So far it doesn't make sense to discuss here further more about Nate, but only if some try finding the bug and have new statuses on that.
Hopefully somebody has some knowledge on that part of the project, as I don't. But if I would, I'd love to help this project resuming.

@gemueselasagne

@xremix well kind of. This is the official confirmation of what you assumed. Pretty sure some are happy to read Nates tweet. Don't get the point of your comment to be honest.
I'm very thankful for what Nate did with flashlight in the past. Very excited to see if the project comes back to life somewhen.

@xremix

@gemueselasagne Ok sorry for not being clear enough. The second part of my message was more on that discussion about him going on in this issue, not directly to your post.

@joshmanders

@nate-parrott Thanks for Flashlight, it was great, I hope while at Apple you incorporate it into OS X. :) Good luck.

@auraz

No working, but thanks, hope to see it working in the future, go back to Alfred for a while.

@xiajinchun

Me too on OS X 10.10.4

@mesqueeb
@wladston

would also pay USD 5 to see this working, I never got the chance to use it, tried to install it now and saw that it isn't working :(

I call also help debug/fix, but I'm by no means an OS X expert...

@gemueselasagne
@MrLoh

Cavan you PLEASE stop spamming this thread. I do won't to get notified, if something actually happens but all these completely useless messages here will not help and just spam up my mail. STOP IT, this is GitHub, it's for discussing technical issues and bugs, not for +1ing !!!

@nate-parrott

Hey all —
appreciate the concern. Just to reiterate (or not, not sure if I mentioned this) but I'm not allowed to be working on this while I'm at Apple. If someone else wants to get this working (and it should be possible; TotalFinder still gets code injection done on El Capitan) I'll find someone to merge the fix and issue an update.
Thanks!

@plttn

@nate-parrott Unfortunately, it looks like TotalFinder is completely broken as well as of the most recent El Capitan update.

@jimcky

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

@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

@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

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

@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

@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

@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

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

@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

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
@hufufuf

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

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

@sidmonta

@hufufuf It works, thanks 👍

@hufufuf

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

@mvaneijgen

Amazing it works thanks @hufufuf

@nunoh

worked for me too 👍 thanks @hufufuf

@wladston

@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
@mvaneijgen

@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
@hufufuf
@wladston

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

@wladston

@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

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

@hufufuf
@wladston

Awesome, it worked!! Thanks :) 🙇

@nate-parrott

@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