-
Notifications
You must be signed in to change notification settings - Fork 286
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
Problems launching applications #1777
Comments
Hm, I've scrubbed my caches and deleted settings (renamed my QS app support folder and deleted my prefs.plist) and still the same behaviour... |
And on another machine (both are on Mavericks 10.9.1), I don't have this problem, 4009 allows me to open, reveal etc an application.... I've moved my App support/Quicksilver folder rather than rename it, same problem. One interesting thing is even if I remove everything (both cache folders, app support folder and prefs plists), QS still seems to be getting some settings from somewhere because the setup dialog that normally greets me on a new QS install is not shown... |
There are definitely some changes to the way files are created and actions are listed. We found and fixed a number of issues, but maybe something was overlooked. Let’s start with this…
If you didn’t know, you can make it easier to read by identifying it as XML to GitHub. |
Preferences are cached like crazy in 10.9. Instead of deleting the file, just run |
I reverted to 4008, but here is the requisite textmate entry from yesterday morning's deleted cache file: <dict>
<key>class</key>
<string>QSObject</string>
<key>data</key>
<dict>
<key>public.data</key>
<string>/Applications/TextMate.app</string>
</dict>
<key>properties</key>
<dict>
<key>QSObjectName</key>
<string>TextMate.app</string>
<key>QSObjectObjectID</key>
<string>/Applications/TextMate.app</string>
<key>QSObjectType</key>
<string>public.data</string>
</dict>
</dict> And this morning from the working cache (build 4008): <dict>
<key>class</key>
<string>QSObject</string>
<key>data</key>
<dict>
<key>NSFilenamesPboardType</key>
<string>/Applications/TextMate.app</string>
</dict>
<key>properties</key>
<dict>
<key>QSObjectName</key>
<string>TextMate.app</string>
<key>QSObjectObjectID</key>
<string>/Applications/TextMate.app</string>
<key>QSObjectType</key>
<string>NSFilenamesPboardType</string>
</dict>
</dict> Many many thanks for all your (you, Patrick and the others) hard work and energy on QS by the way!!! |
One micro point regarding "It does that whenever the build number changes", indeed I can see the cache auto-deleted going from 4008 -> 4009 -- but reverting from 4009 -> 4008 and I need to delete cache manually. So cache seems to auto-clear on build number increment only (fair enough as I doubt many people downgrade their build)... |
Correct. I didn’t want to go into all the details, but clearing caches on downgrade is something that was actually just added in 4009. As for the actual problem: The contents of the cache file look like what I would expect, so I’m not sure exactly what’s going on. There are some other issues I’ve run across. Hopefully, while investigating those, I’ll find the answer to this as well. |
Same problem here. Tried to step back down to a previous version. Seemed to work, but then forgot autoupdate was on. Definitely having a regression on launching apps on the most recent drop. Can't use QS any longer as such and am resorting to other options until we get this default functionality back. |
Note that if you have 4009, you’re all set up to get developer previews and problems like this are always a possibility. If you want something more reliable, I’d suggest switching the update type (in Preferences → Extras). I’m not trying to steer anyone away from developer previews. This issue is a perfect example of why we need people to test them. But I want everyone to be aware so they can decide for themselves. Now, is there anything “unusual” on your systems, like Spotlight disabled, home directories on a different disk, etc.? |
So spotlight has not been working right and I disabled it for some time. I also have my home (Users) ln'd to another volume... So yeah, a little non-standard stuff going on on this side. :) |
Nothing that we shouldn’t be able to accommodate, though. That gives us somewhere to start. @iandol, it would help if you can tell us if you’ve done either of those things as well. |
@ylluminate:If you switch from developer previews to prerelease candidates in prefs → extras then you won't auto-update to 4009; that is my fix to keep a working QS on my broken installs. @skurfer: 4009 works fine on some of my machines not on others, I have working spotlight and no redirected root home folders on any of those machines. I think I do have a redirected (linked) music folder within my home folder on one of the non-working 4009s -- I'll try disabling iTunes plugin and/or that link and see if it makes a difference... here is the xml from <dict>
<key>class</key>
<string>QSObject</string>
<key>data</key>
<dict>
<key>public.data</key>
<string>/Applications/TextMate.app</string>
<key>qs.process</key>
<dict>
<key>Attributes</key>
<integer>4096</integer>
<key>BundlePath</key>
<string>/Applications/TextMate.app</string>
<key>CFBundleExecutable</key>
<string>/Applications/TextMate.app/Contents/MacOS/TextMate</string>
<key>CFBundleIdentifier</key>
<string>com.macromates.TextMate.preview</string>
<key>CFBundleName</key>
<string>TextMate</string>
<key>CFBundleVersion</key>
<integer>0</integer>
<key>FileCreator</key>
<string>avin</string>
<key>FileType</key>
<string>APPL</string>
<key>Flavor</key>
<integer>3</integer>
<key>IsCheckedInAttr</key>
<true/>
<key>IsHiddenAttr</key>
<false/>
<key>LSBackgroundOnly</key>
<false/>
<key>LSCheckInTime*</key>
<date>2014-02-17T07:42:03Z</date>
<key>LSLaunchTime</key>
<date>2014-02-17T07:42:03Z</date>
<key>LSSystemWillDisplayDeathNotification</key>
<false/>
<key>LSUIElement</key>
<false/>
<key>LSUIPresentationMode</key>
<integer>0</integer>
<key>NSApplicationBundleIdentifier</key>
<string>com.macromates.TextMate.preview</string>
<key>NSApplicationName</key>
<string>TextMate</string>
<key>NSApplicationPath</key>
<string>/Applications/TextMate.app</string>
<key>NSApplicationProcessIdentifier</key>
<integer>75757</integer>
<key>NSApplicationProcessSerialNumberHigh</key>
<integer>0</integer>
<key>NSApplicationProcessSerialNumberLow</key>
<integer>7309048</integer>
<key>PSN</key>
<integer>7309048</integer>
<key>ParentPSN</key>
<integer>7304951</integer>
<key>pid</key>
<integer>75757</integer>
</dict>
</dict>
<key>properties</key>
<dict>
<key>QSObjectName</key>
<string>TextMate.app</string>
<key>QSObjectObjectID</key>
<string>/Applications/TextMate.app</string>
<key>QSObjectType</key>
<string>public.data</string>
</dict>
</dict> |
Here is what console tells me on my broken 4009 machine, nothing very relevant:
Disabling iTunes plugin doesn't fix it, neither does deleting my symlinked music folder from ~/ -- looking in my cache the xml from my broken 4009 install is now similar to my working 4009 install: <dict>
<key>class</key>
<string>QSObject</string>
<key>data</key>
<dict>
<key>public.data</key>
<string>/Applications/TextMate.app</string>
<key>qs.process</key>
<dict>
<key>Attributes</key>
<integer>4096</integer>
<key>BundlePath</key>
<string>/Applications/TextMate.app</string>
<key>CFBundleExecutable</key>
<string>/Applications/TextMate.app/Contents/MacOS/TextMate</string>
<key>CFBundleIdentifier</key>
<string>com.macromates.TextMate.preview</string>
<key>CFBundleName</key>
<string>TextMate</string>
<key>CFBundleVersion</key>
<integer>0</integer>
<key>FileCreator</key>
<string>avin</string>
<key>FileType</key>
<string>APPL</string>
<key>Flavor</key>
<integer>3</integer>
<key>IsCheckedInAttr</key>
<true/>
<key>IsHiddenAttr</key>
<false/>
<key>LSBackgroundOnly</key>
<false/>
<key>LSCheckInTime*</key>
<date>2014-02-14T10:00:53Z</date>
<key>LSLaunchTime</key>
<date>2014-02-14T10:00:53Z</date>
<key>LSSystemWillDisplayDeathNotification</key>
<false/>
<key>LSUIElement</key>
<false/>
<key>LSUIPresentationMode</key>
<integer>0</integer>
<key>NSApplicationBundleIdentifier</key>
<string>com.macromates.TextMate.preview</string>
<key>NSApplicationName</key>
<string>TextMate</string>
<key>NSApplicationPath</key>
<string>/Applications/TextMate.app</string>
<key>NSApplicationProcessIdentifier</key>
<integer>34620</integer>
<key>NSApplicationProcessSerialNumberHigh</key>
<integer>0</integer>
<key>NSApplicationProcessSerialNumberLow</key>
<integer>20063009</integer>
<key>PSN</key>
<integer>20063009</integer>
<key>pid</key>
<integer>34620</integer>
</dict>
</dict>
<key>properties</key>
<dict>
<key>QSObjectName</key>
<string>TextMate.app</string>
<key>QSObjectObjectID</key>
<string>/Applications/TextMate.app</string>
<key>QSObjectType</key>
<string>public.data</string>
</dict>
</dict> |
The difference in the cache entries can be explained by whether or not TextMate is running during indexing. It doesn’t help, I’m afraid. The |
Thanks @iandol good call for right now since I don't have the time to dig into this issue much. I'll change this on all my machines. I am curious, off the top (vs digging into the files myself), do you know which config / pref files I should delete that would have been altered by the last couple updates? When I step back my apps no longer will start as it is showing the question mark icon for them all vs the actual app icons. |
@skurfer: Not unless a version in Trash could cause this (I did a "system files included" spotlight search)? I do sometimes mount a disk image clone of a / system drive that could cause a second QS app but I don't think that was the case today when I reported the console output. I'm not at my broken 4009 machine but I'm pretty sure only one instance was running. I also see the
@ylluminate: Yes, to go back to 4008 you currently need to delete your cache to get it working: http://qsapp.com/wiki/FAQ#How_do_I_clear_Quicksilver.27s_cache.3F |
@iandol thanks, I had hoped it would just be a matter of |
OK, try this test build. http://cl.ly/0P1w0c2a1m3G It should be identical to 4009, with a couple of logging statements added where I suspect the problem might be. If you check the console, you should see messages like “paths for…” and “actions for…” for every file you select in the first pane. So select TextMate (or something else known to be broken) and share the output. I should have asked, but do the correct actions seem to be there for other items or for non-application files? |
Almost everything I select is broken in 4009, so for example selecting Folders (no move/reveal etc only the "Make New" action is available), files (no actions available at all) or apps (only Open File available). Contacts show only contacts related actions from the plugin OK, as do playlists for only iTunes actions, but for example openmeta tags don't show any actions. Interestingly no logging information shows up in console.app (system log queries > All Messages) when I select textmate, or switch between textmate, textedit and sublime text in the first pane. Neither do I get any logging when tabbing to the second pane. All 3 apps are equally "broken" in the actions performable. For some reason other apps/entries trigger logging, so for example selecting between Scrivener and Screen Sharing (which is an alias in I also see console output going between an openmeta tag and a file and a PDF: https://gist.github.com/iandol/9074471#file-openmeta-file-pdf |
That’s interesting. The messages you’re seeing aren’t the ones I added, but they are coming from the place I was going to check next. Were they not there before? Doesn’t matter, really… Here’s another build with more logging right before the “unable to find actions for…” part. Select some things and share the console output. |
Will have to wait till I get to work tomorrow, that's the machine with the broken 4009... |
Here's the new build selecting textmate: https://gist.github.com/iandol/9074471#file-a-newer-build-selecting-textmate-in-first-pane If I try to disable the terminal plugin and restart QS then I only see |
I've also tried removing all plugins and restarting but still not working, I see a new console error but I assume it's unrelated:
|
This is 153 for me. Even with only the built-in plug-ins enabled, it’s 42. We’re getting closer. Here’s another build that should be nice and noisy. I prefixed all the new messages with “i1777” this time, so just search for that in the Console to get the messages we care about. I don’t know if it will give us the answer, but it will tell me where to look next. (I don’t suppose you know how to build QS in Xcode? 😉) |
https://gist.github.com/iandol/9074471#file-even-more-logging-selecting-textmate I did used to build my own QS back in the dark ol' days when QS was semi-abandoned, but there has been no point since you lovely chaps started regular development. I'm not an XCode or obj-c developer (I'm forced to install XCode because of a Matlab dependancy), but I suspect building is much easier now than it used to be... |
OK, it looks like you’re missing actions that apply to all file types as well as actions that apply to all items, but I suspect the problems have the same cause, so I’m only going to look at files. Once again… This build should log a bunch of stuff as it loads and discovers actions, but you should also call up QS and select TextMate. I assume it will have to wait until tomorrow. |
Running QS and selecting Textmate: https://gist.github.com/iandol/9074471#file-verbosity-to-the-max Note I seem to have 3 actions now for Textmate: |
OK, now we’re getting down to it. See all those actions it adds for the type No need to do anything in the UI this time. All of the interesting stuff should be logged when Quicksilver launches. |
https://gist.github.com/iandol/9074471#file-asterisktastic It seems to love multimarkdown (I think it's pretty spiffy too!); and claims to add 30 actions for |
Maybe a little too much… The file UTI should remain I suspect some application has defined that type and it’s confusing the UTI system. So the next question: Is that application doing something wrong, or are we? If you can tell me which application(s) might be involved, I might be able to download them and see what’s going on. You could also try temporarily zipping or trashing those apps to see if Quicksilver starts working. (I suspect it will.) |
Bingo!!! I had an older V1 of Multimarkdown Composer (by Fletcher Penny, same dev as multimarkdown itself) installed. I updated it to V2 and QS is now working. V1 isn't available any more so this isn't going to be a problem for most users. I realise I overwrote it so don't have the V1 app package available if you wanted to try and debug further, sorry! If @ylluminate could check if he has MMC V1 installed and confirm this? If not then he could install the last test build and see what other dastardly UTI hijacker may be culpable. Thanks for the sleuthing Rob! :squirrel: 🚔 |
EDIT: just confirmed on another computer with a broken 4009 it also had V1 of MMC installed. I have that app package if anything would be helpful to use. |
I’d like to see it, or at least its |
Here it is: https://db.tt/06KIxXuQ The extracted info.plist: https://gist.github.com/iandol/9074471#file-info-plist |
I have the same issue with |
I don’t know this area very well, but I’ve looked at the property lists and some documentation. I think what these apps are trying to say is “allow any file to be treated as [type X]”, when what they really said was “allow any file with the extension But since we have this new function that attempts to turn anything into a UTI, it was treating If you can’t wait, and you’re inclined, check out the |
I've just upgraded to the developer build 4009 from developer build 4008 and I cannot now launch applications, for example textmate.app, chromium.app etc. only offers an "open file..." action:
I nevertheless still have all my actions (124 actions in my "All actions" list):
I will scrub my caches etc. and restart QS, just thought I'd report this anyway.
The text was updated successfully, but these errors were encountered: