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

Doesn't seem to work #38

Open
sound214 opened this issue Nov 14, 2014 · 36 comments
Open

Doesn't seem to work #38

sound214 opened this issue Nov 14, 2014 · 36 comments
Labels

Comments

@sound214
Copy link

I've enabled and tested every single one of the plugins, neither of which works. I'm clueless.

I'm running the latest version of Flashlight (v0.5, as of current), on OS X 10.10.1 (14B23).

@nate-parrott
Copy link
Owner

That's very weird. So you're downloading and installing plugins fine, but they don't seem to do anything?

Do you have any previous versions of Flashlight on your system? Delete them and toggle "Enable Spotlight Plugins."

Do you see FlashlightSIMBLAgent in Activity Monitor?

Can you search "SIMBL" in console.app and attach the logs?

Can you search "Querying Flashlight plugins" in console.app?

Do you have a weird Python situation?

@kopischke
Copy link

Same issue here with Flashlight 0.7.1. As OP doesn’t seem to respond, I’ll answer your questions:

  • no previous installs, toggling does not change anything

  • SIMBL Agent is running

  • Console logs (attached) point to a permission issue for the ~/Library/ScriptingAdditions directory, and, sure enough, that is locked for anyone but the system group (I guess Apple are serious about deprecating scripting additions in Yosemite):

    20.11.14 12:03:48,300 com.nateparrott.Flashlight.FlashlightSIMBLAgent[66890]: #EasySIMBL Got plugins: SpotlightSIMBL.bundle from /Users/martin/Downloads/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/Resources/SIMBLPlugins
    20.11.14 12:03:48,374 com.nateparrott.Flashlight.FlashlightSIMBLAgent[66890]: warning: failed to get scripting definition from /System/Library/CoreServices/Spotlight.app; it may not be scriptable.
    20.11.14 12:03:48,385 com.nateparrott.Flashlight.FlashlightSIMBLAgent[66890]: Cannot make directory /Users/martin/Library/ScriptingAdditions/Flashlight.osax: Permission denied
    20.11.14 12:03:48,482 com.nateparrott.Flashlight.FlashlightSIMBLAgent[66890]: #EasySIMBL linkItemAtPath error:Error Domain=NSCocoaErrorDomain Code=513 "“Flashlight.osax” couldn’t be linked because you don’t have permission to access “ScriptingAdditions”." UserInfo=0x7f8868f2ffb0 {NSSourceFilePathErrorKey=/Users/martin/Downloads/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/PlugIns/Flashlight.osax, NSUserStringVariant=(
    Link
    ), NSDestinationFilePath=/Users/martin/Library/ScriptingAdditions/Flashlight.osax, NSFilePath=/Users/martin/Downloads/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/PlugIns/Flashlight.osax, NSUnderlyingError=0x7f8868f093c0 "The operation couldn’t be completed. Permission denied"}
    
  • no “Querying Flashlight plugins” in the logs

  • not sure what you mean by “weird python situation” (personally, I find all of Python weird :P): which python points to my Brew install of Python 2.7.8, no pyenv stuff or similar…

@brandonweiss
Copy link
Contributor

I have a similar problem.

11/22/14 12:03:33.238 AM com.nateparrott.Flashlight.FlashlightSIMBLAgent[75799]: #EasySIMBL Got plugins: SpotlightSIMBL.bundle from /Applications/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/Resources/SIMBLPlugins
11/22/14 12:03:33.241 AM com.nateparrott.Flashlight.FlashlightSIMBLAgent[75799]: warning: failed to get scripting definition from /System/Library/CoreServices/Spotlight.app; it may not be scriptable.
11/22/14 12:03:33.241 AM com.nateparrott.Flashlight.FlashlightSIMBLAgent[75799]: AppleEvents: Send port for process has no send right, port=( port:26667/0x682b rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
11/22/14 12:03:33.242 AM com.nateparrott.Flashlight.FlashlightSIMBLAgent[75799]: AppleEvents: Send port for process has no send right, port=( port:26667/0x682b rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread

It seem to not be the directory permission error above, but a port-related issue.

@brandonweiss
Copy link
Contributor

Actually, wait. I tried using the weather command and I got signed out. Then when I signed in it showed the warning that Flashlight had been blocked. I have my app permission set to only allow apps to run from the Mac App Store and "identified developers". I don't know why it ran previously, but it seems like something I did with Spotlight triggered the security warning. After allowing Flashlight, now I get the same scripting error in my console as @kopischke.

@brandonweiss
Copy link
Contributor

The latest update (0.9) seems to have fixed the issue. Installed plugins now override the default Spotlight search result(s). The errors I was seeing in Console still show, so I guess those were unrelated.

The first thing I did was follow the instructions for creating a plugin so I could create some simple custom searches, but I couldn't get it to work. The plugin shows up in the installed list and there aren't any errors in Console, but it doesn't change the Spotlight search results.

The only Python I have installed is from the system (/usr/bin/python) and is version 2.7.6. Let me know if there's any more information I can give that will help.

@brandonweiss
Copy link
Contributor

One other thing I noticed is that while the installed plugins have (or generate) a plugin.pyc file, the custom plugins I wrote don't. I don't know much about Python, but this would seem to indicate the plugin.py isn't being loaded or run.

@kopischke
Copy link

@nate-parrott issue persist (with unchanged log about missing permissions to create the osax directory) with FlashLight release 0.9.1.

01.12.14 12:26:07,657 com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.oneshot.0x1000002f.Flashlight[81877]) Service exited due to signal: Killed: 9
01.12.14 12:26:23,210 Flashlight[82298]: DetectedSpotlightVersion: 916
01.12.14 12:26:29,096 Flashlight[82298]: Sparkle: ===== Flashlight =====
01.12.14 12:26:33,769 Flashlight[82298]: Bundle (null) does not have an FileProviderModuleClass entry.
01.12.14 12:26:33,822 com.nateparrott.Flashlight.FlashlightSIMBLAgent[82703]: Bundle (null) does not have an FileProviderModuleClass entry.
01.12.14 12:26:33,871 com.nateparrott.Flashlight.FlashlightSIMBLAgent[82703]: warning: failed to get scripting definition from /System/Library/CoreServices/Spotlight.app; it may not be scriptable.
01.12.14 12:26:33,872 com.nateparrott.Flashlight.FlashlightSIMBLAgent[82703]: Cannot make directory /Users/martin/Library/ScriptingAdditions/Flashlight.osax: Permission denied
01.12.14 12:26:33,885 com.nateparrott.Flashlight.FlashlightSIMBLAgent[82703]: #Flashlight SIMBLlinkItemAtPath error:Error Domain=NSCocoaErrorDomain Code=513 "“Flashlight.osax” couldn’t be linked because you don’t have permission to access “ScriptingAdditions”." UserInfo=0x7f9eabd582d0 {NSSourceFilePathErrorKey=/Applications/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/PlugIns/Flashlight.osax, NSUserStringVariant=(
    Link
), NSDestinationFilePath=/Users/martin/Library/ScriptingAdditions/Flashlight.osax, NSFilePath=/Applications/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/PlugIns/Flashlight.osax, NSUnderlyingError=0x7f9eabd57b90 "The operation couldn’t be completed. Permission denied"}
01.12.14 12:26:34,069 com.nateparrott.Flashlight.FlashlightSIMBLAgent[82703]: warning: failed to get scripting definition from /System/Library/CoreServices/Spotlight.app; it may not be scriptable.
01.12.14 12:26:34,070 com.nateparrott.Flashlight.FlashlightSIMBLAgent[82703]: Cannot make directory /Users/martin/Library/ScriptingAdditions/Flashlight.osax: Permission denied
01.12.14 12:26:34,079 com.nateparrott.Flashlight.FlashlightSIMBLAgent[82703]: #Flashlight SIMBLlinkItemAtPath error:Error Domain=NSCocoaErrorDomain Code=513 "“Flashlight.osax” couldn’t be linked because you don’t have permission to access “ScriptingAdditions”." UserInfo=0x7f9eabff74b0 {NSSourceFilePathErrorKey=/Applications/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/PlugIns/Flashlight.osax, NSUserStringVariant=(
    Link
), NSDestinationFilePath=/Users/martin/Library/ScriptingAdditions/Flashlight.osax, NSFilePath=/Applications/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/PlugIns/Flashlight.osax, NSUnderlyingError=0x7f9eabff7380 "The operation couldn’t be completed. Permission denied"}
01.12.14 12:27:50,033 Flashlight[2089]: DetectedSpotlightVersion: 916
01.12.14 12:36:33,951 Flashlight[2089]: Bundle (null) does not have an FileProviderModuleClass entry.

Any progress or recommendations on this? I’m loath to simply overwrite Apple’s permissions for ScriptingAdditions to be less restrictive, and besides, that is hardly a solution one could recommend to new users.

@nate-parrott
Copy link
Owner

Sorry, I completely missed these messages. @kopischke, is Flashlight still not working for you? I've always got the warning: failed to get scripting definition warning, even when Flashlight works fine, so I don't think that's related.

@kopischke
Copy link

@nate-parrott non-functional still, yes. Do you also get the messages that the EasySIMBL scripting extension cannot be installed (see my original report)? That sounds like an issue worth looking into to me…

@MarkFull
Copy link

Similar problem as @brandonweiss

11/1/15 10:51:42.199 am com.nateparrott.Flashlight.FlashlightSIMBLAgent[19428]: warning: failed to get scripting definition from /System/Library/CoreServices/Spotlight.app; it may not be scriptable.
11/1/15 10:51:42.202 am com.nateparrott.Flashlight.FlashlightSIMBLAgent[19428]: AppleEvents: Send port for process has no send right, port=( port:26851/0x68e3 rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
11/1/15 10:51:42.202 am com.nateparrott.Flashlight.FlashlightSIMBLAgent[19428]: AppleEvents: Send port for process has no send right, port=( port:26851/0x68e3 rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
11/1/15 10:51:42.320 am com.nateparrott.Flashlight.FlashlightSIMBLAgent[19428]: warning: failed to get scripting definition from /System/Library/CoreServices/Spotlight.app; it may not be scriptable.
11/1/15 10:51:42.320 am com.nateparrott.Flashlight.FlashlightSIMBLAgent[19428]: AppleEvents: Send port for process has no send right, port=( port:26851/0x68e3 rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
11/1/15 10:51:42.320 am com.nateparrott.Flashlight.FlashlightSIMBLAgent[19428]: AppleEvents: Send port for process has no send right, port=( port:26851/0x68e3 rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
11/1/15 10:51:42.405 am Spotlight[19430]: #Flashlight SIMBLGot plugins: SpotlightSIMBL.bundle from /Applications/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/Resources/SIMBLPlugins

@filliph
Copy link

filliph commented Jan 16, 2015

Same problem as @brandonweiss and @MarkFull - log entries are identical. App not working at all as a result.

@Stooovie
Copy link

Not working here as well. Latest version on 10.10.1:

17.01.15 11:58:55,312 com.nateparrott.Flashlight.FlashlightSIMBLAgent[1264]: AppleEvents: Send port for process has no send right, port=( port:26647/0x6817 rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread

@mika76
Copy link

mika76 commented Jun 11, 2015

Doesn't work for me either. Yosemite 10.10.3

All my logs pertaining to Flashlight

2015/06/11 10:36:06,500 AM Flashlight[12019]: DetectedSpotlightVersion: 917
2015/06/11 10:36:06,667 AM Flashlight[12019]: *** Assertion failure in -[SUUpdatePermissionPrompt initWithWindowNibPath:owner:], /SourceCache/AppKit/AppKit-1347.57/Controllers/NSWindowController.m:194
2015/06/11 10:36:06,668 AM Flashlight[12019]: Invalid parameter not satisfying: windowNibPath
2015/06/11 10:36:06,690 AM Flashlight[12019]: (
    0   CoreFoundation                      0x00007fff905e603c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff8889b76e objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff905e5e1a +[NSException raise:format:arguments:] + 106
    3   Foundation                          0x00007fff8d0618cb -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
    4   AppKit                              0x00007fff92f1375e -[NSWindowController initWithWindowNibPath:owner:] + 139
    5   Sparkle                             0x0000000106502ee8 -[SUWindowController initWithHost:windowNibName:] + 404
    6   Sparkle                             0x00000001064fe928 -[SUUpdatePermissionPrompt initWithHost:systemProfile:delegate:] + 102
    7   Sparkle                             0x00000001064feac0 +[SUUpdatePermissionPrompt promptWithHost:systemProfile:delegate:] + 211
    8   Sparkle                             0x000000010650018a -[SUUpdater startUpdateCycle] + 934
    9   Foundation                          0x00007fff8cfe441b __NSFireDelayedPerform + 364
    10  CoreFoundation                      0x00007fff905392e4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
    11  CoreFoundation                      0x00007fff90538f73 __CFRunLoopDoTimer + 1059
    12  CoreFoundation                      0x00007fff905ac53d __CFRunLoopDoTimers + 301
    13  CoreFoundation                      0x00007fff904f4608 __CFRunLoopRun + 2024
    14  CoreFoundation                      0x00007fff904f3bd8 CFRunLoopRunSpecific + 296
    15  HIToolbox                           0x00007fff8f81456f RunCurrentEventLoopInMode + 235
    16  HIToolbox                           0x00007fff8f8141ee ReceiveNextEventCommon + 179
    17  HIToolbox                           0x00007fff8f81412b _BlockUntilNextEventMatchingListInModeWithFilter + 71
    18  AppKit                              0x00007fff92c7e9bb _DPSNextEvent + 978
    19  AppKit                              0x00007fff92c7df68 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
    20  AppKit                              0x00007fff92c73bf3 -[NSApplication run] + 594
    21  AppKit                              0x00007fff92bf0354 NSApplicationMain + 1832
    22  libdyld.dylib                       0x00007fff973985c9 start + 1
)
2015/06/11 10:36:06,711 AM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.domain.pid.Flashlight.12019) Failed to bootstrap path: path = /Applications/Flashlight.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle, error = 20: Not a directory
2015/06/11 10:36:23,111 AM com.nateparrott.Flashlight.FlashlightSIMBLAgent[12024]: SETTINGS CHANGED
2015/06/11 10:36:23,553 AM com.nateparrott.Flashlight.FlashlightSIMBLAgent[12024]: warning: failed to get scripting definition from /System/Library/CoreServices/Spotlight.app; it may not be scriptable.
2015/06/11 10:36:23,630 AM com.nateparrott.Flashlight.FlashlightSIMBLAgent[12024]: AppleEvents: Send port for process has no send right, port=( port:30575/0x776f rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
2015/06/11 10:36:23,631 AM com.nateparrott.Flashlight.FlashlightSIMBLAgent[12024]: AppleEvents: Send port for process has no send right, port=( port:30575/0x776f rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
2015/06/11 10:36:23,672 AM Spotlight[294]: #Flashlight SIMBLGot plugins: SpotlightSIMBL.bundle from /Applications/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/Resources/SIMBLPlugins
2015/06/11 10:36:23,970 AM com.nateparrott.Flashlight.FlashlightSIMBLAgent[12024]: warning: failed to get scripting definition from /System/Library/CoreServices/Spotlight.app; it may not be scriptable.
2015/06/11 10:36:23,970 AM com.nateparrott.Flashlight.FlashlightSIMBLAgent[12024]: AppleEvents: Send port for process has no send right, port=( port:30575/0x776f rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
2015/06/11 10:36:23,971 AM com.nateparrott.Flashlight.FlashlightSIMBLAgent[12024]: AppleEvents: Send port for process has no send right, port=( port:30575/0x776f rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
2015/06/11 10:36:24,038 AM Spotlight[12027]: #Flashlight SIMBLGot plugins: SpotlightSIMBL.bundle from /Applications/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/Resources/SIMBLPlugins
2015/06/11 10:36:24,062 AM Spotlight[12027]: Hello from Flashlight! (/Applications/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/Resources/SIMBLPlugins/SpotlightSIMBL.bundle)
2015/06/11 10:36:28,579 AM Flashlight[12019]: Installing plugin: weather
2015/06/11 10:37:00,028 AM Flashlight[12019]: Successfully installed plugin: weather
2015/06/11 10:37:00,099 AM Flashlight[12019]: Installing plugin: shutdown
2015/06/11 10:37:01,404 AM Flashlight[12019]: Successfully installed plugin: shutdown
2015/06/11 10:37:01,444 AM Flashlight[12019]: Installing plugin: timezone
2015/06/11 10:37:02,781 AM Flashlight[12019]: Successfully installed plugin: timezone
2015/06/11 10:37:02,834 AM Flashlight[12019]: Installing plugin: copycolor
2015/06/11 10:37:03,717 AM Flashlight[12019]: Successfully installed plugin: copycolor
2015/06/11 10:37:03,768 AM Flashlight[12019]: Installing plugin: emoji
2015/06/11 10:37:09,880 AM Flashlight[12019]: Successfully installed plugin: emoji
2015/06/11 10:43:41,759 AM Flashlight[12117]: DetectedSpotlightVersion: 917
2015/06/11 10:43:41,865 AM Flashlight[12117]: *** Assertion failure in -[SUUpdatePermissionPrompt initWithWindowNibPath:owner:], /SourceCache/AppKit/AppKit-1347.57/Controllers/NSWindowController.m:194
2015/06/11 10:43:41,865 AM Flashlight[12117]: Invalid parameter not satisfying: windowNibPath
2015/06/11 10:43:41,867 AM Flashlight[12117]: (
    0   CoreFoundation                      0x00007fff905e603c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff8889b76e objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff905e5e1a +[NSException raise:format:arguments:] + 106
    3   Foundation                          0x00007fff8d0618cb -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
    4   AppKit                              0x00007fff92f1375e -[NSWindowController initWithWindowNibPath:owner:] + 139
    5   Sparkle                             0x000000010c01aee8 -[SUWindowController initWithHost:windowNibName:] + 404
    6   Sparkle                             0x000000010c016928 -[SUUpdatePermissionPrompt initWithHost:systemProfile:delegate:] + 102
    7   Sparkle                             0x000000010c016ac0 +[SUUpdatePermissionPrompt promptWithHost:systemProfile:delegate:] + 211
    8   Sparkle                             0x000000010c01818a -[SUUpdater startUpdateCycle] + 934
    9   Foundation                          0x00007fff8cfe441b __NSFireDelayedPerform + 364
    10  CoreFoundation                      0x00007fff905392e4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
    11  CoreFoundation                      0x00007fff90538f73 __CFRunLoopDoTimer + 1059
    12  CoreFoundation                      0x00007fff905ac53d __CFRunLoopDoTimers + 301
    13  CoreFoundation                      0x00007fff904f4608 __CFRunLoopRun + 2024
    14  CoreFoundation                      0x00007fff904f3bd8 CFRunLoopRunSpecific + 296
    15  HIToolbox                           0x00007fff8f81456f RunCurrentEventLoopInMode + 235
    16  HIToolbox                           0x00007fff8f8142ea ReceiveNextEventCommon + 431
    17  HIToolbox                           0x00007fff8f81412b _BlockUntilNextEventMatchingListInModeWithFilter + 71
    18  AppKit                              0x00007fff92c7e9bb _DPSNextEvent + 978
    19  AppKit                              0x00007fff92c7df68 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
    20  AppKit                              0x00007fff92c73bf3 -[NSApplication run] + 594
    21  AppKit                              0x00007fff92bf0354 NSApplicationMain + 1832
    22  libdyld.dylib                       0x00007fff973985c9 start + 1
)
2015/06/11 10:43:41,868 AM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.domain.pid.Flashlight.12117) Failed to bootstrap path: path = /Applications/Flashlight.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle, error = 20: Not a directory
2015/06/11 10:44:46,276 AM Flashlight[12147]: DetectedSpotlightVersion: 917
2015/06/11 10:44:46,373 AM Flashlight[12147]: *** Assertion failure in -[SUUpdatePermissionPrompt initWithWindowNibPath:owner:], /SourceCache/AppKit/AppKit-1347.57/Controllers/NSWindowController.m:194
2015/06/11 10:44:46,374 AM Flashlight[12147]: Invalid parameter not satisfying: windowNibPath
2015/06/11 10:44:46,375 AM Flashlight[12147]: (
    0   CoreFoundation                      0x00007fff905e603c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff8889b76e objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff905e5e1a +[NSException raise:format:arguments:] + 106
    3   Foundation                          0x00007fff8d0618cb -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
    4   AppKit                              0x00007fff92f1375e -[NSWindowController initWithWindowNibPath:owner:] + 139
    5   Sparkle                             0x000000010860bee8 -[SUWindowController initWithHost:windowNibName:] + 404
    6   Sparkle                             0x0000000108607928 -[SUUpdatePermissionPrompt initWithHost:systemProfile:delegate:] + 102
    7   Sparkle                             0x0000000108607ac0 +[SUUpdatePermissionPrompt promptWithHost:systemProfile:delegate:] + 211
    8   Sparkle                             0x000000010860918a -[SUUpdater startUpdateCycle] + 934
    9   Foundation                          0x00007fff8cfe441b __NSFireDelayedPerform + 364
    10  CoreFoundation                      0x00007fff905392e4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
    11  CoreFoundation                      0x00007fff90538f73 __CFRunLoopDoTimer + 1059
    12  CoreFoundation                      0x00007fff905ac53d __CFRunLoopDoTimers + 301
    13  CoreFoundation                      0x00007fff904f4608 __CFRunLoopRun + 2024
    14  CoreFoundation                      0x00007fff904f3bd8 CFRunLoopRunSpecific + 296
    15  HIToolbox                           0x00007fff8f81456f RunCurrentEventLoopInMode + 235
    16  HIToolbox                           0x00007fff8f8142ea ReceiveNextEventCommon + 431
    17  HIToolbox                           0x00007fff8f81412b _BlockUntilNextEventMatchingListInModeWithFilter + 71
    18  AppKit                              0x00007fff92c7e9bb _DPSNextEvent + 978
    19  AppKit                              0x00007fff92c7df68 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
    20  AppKit                              0x00007fff92c73bf3 -[NSApplication run] + 594
    21  AppKit                              0x00007fff92bf0354 NSApplicationMain + 1832
    22  libdyld.dylib                       0x00007fff973985c9 start + 1
)
2015/06/11 10:44:46,378 AM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.domain.pid.Flashlight.12147) Failed to bootstrap path: path = /Applications/Flashlight.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle, error = 20: Not a directory
2015/06/11 11:38:28,154 AM WindowServer[164]: CGError post_notification(const CGSNotificationType, void *const, const size_t, const bool, const CGSRealTimeDelta, const int, const CGSConnectionID *const, const pid_t): Timed out 0.250 second wait for reply from "FlashlightSIMBLAgent" for synchronous notification type 100 (kCGSDisplayWillReconfigure) (CID 0x19467, PID 12024)
2015/06/11 11:41:17,354 AM Flashlight[12869]: DetectedSpotlightVersion: 917
2015/06/11 11:41:17,465 AM Flashlight[12869]: *** Assertion failure in -[SUUpdatePermissionPrompt initWithWindowNibPath:owner:], /SourceCache/AppKit/AppKit-1347.57/Controllers/NSWindowController.m:194
2015/06/11 11:41:17,465 AM Flashlight[12869]: Invalid parameter not satisfying: windowNibPath
2015/06/11 11:41:17,468 AM Flashlight[12869]: (
    0   CoreFoundation                      0x00007fff905e603c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff8889b76e objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff905e5e1a +[NSException raise:format:arguments:] + 106
    3   Foundation                          0x00007fff8d0618cb -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
    4   AppKit                              0x00007fff92f1375e -[NSWindowController initWithWindowNibPath:owner:] + 139
    5   Sparkle                             0x000000010de31ee8 -[SUWindowController initWithHost:windowNibName:] + 404
    6   Sparkle                             0x000000010de2d928 -[SUUpdatePermissionPrompt initWithHost:systemProfile:delegate:] + 102
    7   Sparkle                             0x000000010de2dac0 +[SUUpdatePermissionPrompt promptWithHost:systemProfile:delegate:] + 211
    8   Sparkle                             0x000000010de2f18a -[SUUpdater startUpdateCycle] + 934
    9   Foundation                          0x00007fff8cfe441b __NSFireDelayedPerform + 364
    10  CoreFoundation                      0x00007fff905392e4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
    11  CoreFoundation                      0x00007fff90538f73 __CFRunLoopDoTimer + 1059
    12  CoreFoundation                      0x00007fff905ac53d __CFRunLoopDoTimers + 301
    13  CoreFoundation                      0x00007fff904f4608 __CFRunLoopRun + 2024
    14  CoreFoundation                      0x00007fff904f3bd8 CFRunLoopRunSpecific + 296
    15  HIToolbox                           0x00007fff8f81456f RunCurrentEventLoopInMode + 235
    16  HIToolbox                           0x00007fff8f8141ee ReceiveNextEventCommon + 179
    17  HIToolbox                           0x00007fff8f81412b _BlockUntilNextEventMatchingListInModeWithFilter + 71
    18  AppKit                              0x00007fff92c7e9bb _DPSNextEvent + 978
    19  AppKit                              0x00007fff92c7df68 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
    20  AppKit                              0x00007fff92c73bf3 -[NSApplication run] + 594
    21  AppKit                              0x00007fff92bf0354 NSApplicationMain + 1832
    22  libdyld.dylib                       0x00007fff973985c9 start + 1
)
2015/06/11 11:41:17,472 AM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.domain.pid.Flashlight.12869) Failed to bootstrap path: path = /Applications/Flashlight.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle, error = 20: Not a directory

@flodi
Copy link

flodi commented Jul 2, 2015

Same here. Fresh install, no previous install of Flashlight, OS X 10.10.4

The SIMBL agent is running, nothing in the console, but spotlight ignore plugins commands.

@leongeyer
Copy link

Hi. Have this issue been solved? I have a similar problem, seems. Flashlight installed, 1.01, Yosemite 10.10.4, FlashlightSIMBLAgent running, Querying Flashlight plugins gives 0, SIMBL does show a lot:

I get from console mainly 3 kind of readings about this agent:
a) failed to get scripting definition from /System/Library/CoreServices/Spotlight.app; it may not be scriptable.
b) the ports stuff: AppleEvents: Send port for process has no send right, port=( port:28711/0x7027 rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
c) without having changed, I think: SETTINGS CHANGED

Greetings, thnx for the app, anyway, hope it runs someday down here

@markreid
Copy link

markreid commented Jul 3, 2015

Updated Yosemite to 10.10.4 yesterday and now getting this problem, I also have the "Send port for process has no send right" logs. Can provide extra logs, info etc if it helps.

@ymfa
Copy link

ymfa commented Jul 3, 2015

Same problem here on OS X 10.10.4, fresh install. FlashlightSIMBLAgent is running.

Here are my Console logs upon re-enabling Flashlight.

03/07/2015 20:34:43.282 com.nateparrott.Flashlight.FlashlightSIMBLAgent[3804]: SETTINGS CHANGED
03/07/2015 20:34:43.432 com.nateparrott.Flashlight.FlashlightSIMBLAgent[3804]: warning: failed to get scripting definition from /System/Library/CoreServices/Spotlight.app; it may not be scriptable.
03/07/2015 20:34:43.457 com.nateparrott.Flashlight.FlashlightSIMBLAgent[3804]: AppleEvents: Send port for process has no send right, port=( port:30911/0x78bf rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
03/07/2015 20:34:43.458 com.nateparrott.Flashlight.FlashlightSIMBLAgent[3804]: AppleEvents: Send port for process has no send right, port=( port:30911/0x78bf rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
03/07/2015 20:34:43.465 com.apple.xpc.launchd[1]: (com.apple.Spotlight[3802]) Service exited due to signal: Terminated: 15
03/07/2015 20:34:43.576 com.nateparrott.Flashlight.FlashlightSIMBLAgent[3804]: warning: failed to get scripting definition from /System/Library/CoreServices/Spotlight.app; it may not be scriptable.
03/07/2015 20:34:43.576 com.nateparrott.Flashlight.FlashlightSIMBLAgent[3804]: AppleEvents: Send port for process has no send right, port=( port:30911/0x78bf rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
03/07/2015 20:34:43.577 com.nateparrott.Flashlight.FlashlightSIMBLAgent[3804]: AppleEvents: Send port for process has no send right, port=( port:30911/0x78bf rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
03/07/2015 20:34:44.768 sandboxd[278]: ([3099]) mdworker(3099) deny file-read-data /Users/????/Library/Preferences/com.apple.security.revocation.plist (import fstype:hfs fsflag:480D000 flags:250000025E diag:0 isXCode:0 uti:com.apple.application-bundle plugin:/Library/Spotlight/Application.mdimporter - find suspect file using: sudo mdutil -t 95337345)
03/07/2015 20:34:44.774 sandboxd[278]: ([3099]) mdworker(3099) deny file-read-data /Users/????/Library/Preferences/com.apple.security.revocation.plist (import fstype:hfs fsflag:480D000 flags:250000025E diag:0 isXCode:0 uti:com.apple.application-bundle plugin:/Library/Spotlight/Application.mdimporter - find suspect file using: sudo mdutil -t 95337345)
03/07/2015 20:34:44.780 sandboxd[278]: ([3099]) mdworker(3099) deny file-read-data /Users/????/Library/Preferences/com.apple.security.revocation.plist (import fstype:hfs fsflag:480D000 flags:250000025E diag:0 isXCode:0 uti:com.apple.application-bundle plugin:/Library/Spotlight/Application.mdimporter - find suspect file using: sudo mdutil -t 95337345)
03/07/2015 20:34:44.787 sandboxd[278]: ([3099]) mdworker(3099) deny file-read-data /Users/????/Library/Preferences/com.apple.security.revocation.plist (import fstype:hfs fsflag:480D000 flags:250000025E diag:0 isXCode:0 uti:com.apple.application-bundle plugin:/Library/Spotlight/Application.mdimporter - find suspect file using: sudo mdutil -t 95337345)
03/07/2015 20:34:45.252 Spotlight[3806]: applications query - started
03/07/2015 20:34:45.431 Spotlight[3806]: applications query - finished in 0.18 seconds

@materemias
Copy link

same here, doesnt work since I updated to 10.10.4 I have the same error messages in console

@LouisCAD
Copy link

LouisCAD commented Jul 6, 2015

Doesn't work since 10.10.4 update for me too…

@Bzzz666
Copy link

Bzzz666 commented Jul 7, 2015

Doesn't work 10.10.4

07/07/15 04:16:14,179 com.nateparrott.Flashlight.FlashlightSIMBLAgent[743]: warning: failed to get scripting definition from /System/Library/CoreServices/Spotlight.app; it may not be scriptable.
07/07/15 04:16:14,196 com.nateparrott.Flashlight.FlashlightSIMBLAgent[743]: AppleEvents: Send port for process has no send right, port=( port:29975/0x7517 rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
07/07/15 04:16:14,197 com.nateparrott.Flashlight.FlashlightSIMBLAgent[743]: AppleEvents: Send port for process has no send right, port=( port:29975/0x7517 rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
07/07/15 04:16:14,505 com.nateparrott.Flashlight.FlashlightSIMBLAgent[743]: warning: failed to get scripting definition from /System/Library/CoreServices/Spotlight.app; it may not be scriptable.
07/07/15 04:16:14,505 com.nateparrott.Flashlight.FlashlightSIMBLAgent[743]: AppleEvents: Send port for process has no send right, port=( port:29975/0x7517 rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
07/07/15 04:16:14,506 com.nateparrott.Flashlight.FlashlightSIMBLAgent[743]: AppleEvents: Send port for process has no send right, port=( port:29975/0x7517 rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread

@nieschumi
Copy link

same as Bzzz666

@flodi
Copy link

flodi commented Jul 7, 2015

It seems a known problem (#494) even if not perfectly managed.

@juhucoding
Copy link

+1, fresh install on os x 10.10.4.

@guest4849384
Copy link

Hey did anyone tried [this](https://gist.github.com/hetima/51b71091aedf622f61f7) ?

https://gist.github.com/hetima/51b71091aedf622f61f7

@auraz
Copy link

auraz commented Jul 17, 2015

Do not work as well, 10.10.4

@elvista
Copy link

elvista commented Jul 19, 2015

Does not work on 10.10.4.

Absolutely new Macbook (literally bought two days ago)

@lordpengwin
Copy link

Doesn't work for me either, same error as above

@mattandrews
Copy link

Yep, broke for me upon upgrading to 10.10.4 😿

@tommcgurl
Copy link

+1

1 similar comment
@davidpp
Copy link

davidpp commented Jul 22, 2015

+1

@chadthornton
Copy link

Also no longer working, and it did work before. On 10.10.4.

@brandonweiss
Copy link
Contributor

Everyone can stop +1-ing. It doesn't work for anyone (or at least mostly everyone). @nate-parrott can't fix it because he's working at Apple over the summer. If you want it fixed you'll have to fork it and fix it yourself.

@nntoan
Copy link

nntoan commented Jul 27, 2015

@brandonweiss 👍 Agree with you, +1-ing should be stop and switch to emoji instead 😄
Could you tell me how to fix it?

@brandonweiss
Copy link
Contributor

@nntoan I have no idea. Presumably if anyone knew how to fix it they would have forked it done it already.

@nntoan
Copy link

nntoan commented Jul 27, 2015

@brandonweiss I do some research over issues, and someone said, other plugins like TotalFinder... will be weird after do transitioning with EasySIMBL SIBML.. and that is not good for me.

@selaromi
Copy link

Thank to @hufufuf help, For pointing out a way to hack to make it work for 10.10.4 without painlessly.
http://bit.ly/1D7Rg1L

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests