nate-parrott / Flashlight

The missing Spotlight plugin system
http://flashlight.nateparrott.com
Other
5.39k stars 411 forks source link

Doesn't seem to work #38

Open sound214 opened 9 years ago

sound214 commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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

brandonweiss commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

@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 commented 9 years ago

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 commented 9 years ago

@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 commented 9 years ago

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 commented 9 years ago

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

Stooovie commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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

LouisCAD commented 9 years ago

Doesn't work since 10.10.4 update for me too…

Bzzz666 commented 9 years ago

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 commented 9 years ago

same as Bzzz666

flodi commented 9 years ago

It seems a known problem (https://github.com/nate-parrott/Flashlight/issues/494) even if not perfectly managed.

juhucoding commented 9 years ago

+1, fresh install on os x 10.10.4.

guest4849384 commented 9 years ago

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

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

auraz commented 9 years ago

Do not work as well, 10.10.4

elvista commented 9 years ago

Does not work on 10.10.4.

Absolutely new Macbook (literally bought two days ago)

lordpengwin commented 9 years ago

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

mattandrews commented 9 years ago

Yep, broke for me upon upgrading to 10.10.4 :crying_cat_face:

tommcgurl commented 9 years ago

+1

davidpp commented 9 years ago

+1

chadthornton commented 9 years ago

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

brandonweiss commented 9 years ago

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 commented 9 years ago

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

brandonweiss commented 9 years ago

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

nntoan commented 9 years ago

@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 commented 9 years ago

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