Jump to content

Tarique Naseem

Member
  • Posts

    19
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Tarique Naseem

  1. Hi dfay, I did try that before, via Onyx and the terminal, but it didn't work. However, after you suggested it, I tried it again - Although initially I got the same result as before, I then tried the following variation: sudo mdutil -i off /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user sudo mdutil -i on I then went into Alfred and Clicked on Rebuild macOS Metadata, ticking the 'Delete /.Spotlight-V100' for good measure. It now looks like it's rebuilding the index, including the apps. So, many thanks for your suggestion! One issue now though is that half my apps have lost their icons. Will check this in the morning... It's a bit late for my little brain. Update: Removing the finder plist file from ~/Library/Preferences, followed by a reboot fixed the latter problem. All's well now Many thanks for your help, @dfay!
  2. I've asked this in the Apple Forums with no response, so I thought I'd ask here in case someone could shed some light on it. The problem actually started with newer apps being installed not coming up in Alfred search results. So, I went into Preferences and cleared the Application Cache, followed by Rebuild MacOS Metadata. This kicked off Spotlight indexing again, but when it finished I could no longer see any results for local applications, folders or files. All I get back are results from the Workflows and Features. I then checked the same in Spotlight, and got the same issue (no apps, etc being found, only bookmark links, Siri suggestions, etc). I've been racking my brain to find out why this occurred, and am totally lost now, after trying everything I can to get the blasted thing to work. I have tried the following so far: Added/removed the hard drive from the Privacy settings in Spotlight System Preferences. Added/removed *just* the applications folder from the same to see if a specific folder might work (everything here is actually ticked normally). Removing all the items and re-adding from the 'Search Results' tab in Spotlight System Preferences. Stopped the mdutil service and deleted the /.Spotlight-V100 folder. As above and booted into Safe Mode and back to normal mode. As above followed by CMD-OPTION-P-R to reset the PRAM. sudo mdutil -i off sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist (had to turn off system integrity protection to get it to allow this). sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist sudo mdutil -i on Somebody also suggested deleting /.metadata_never_index but this folder doesn't exist on my drive. Run Onyx to clean things up. And numerous other 'fixes' I've found scouring the internet (I can no longer remember, I've tried so many now!) In each case, the Spotlight index to starts to rebuild, but never seems to return the apps, etc. It *does* appear to be indexing the main drive though, as sudo mdutil -sa reports, as shown in bold below: /: Indexing enabled. /Volumes/DocBrown: Indexing and searching disabled. /Volumes/DocBrown/Backups.backupdb: Indexing enabled. /Volumes/Marvin: Indexing and searching disabled. /Volumes/Moriarty: Indexing and searching disabled. /Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/Colossus/2017-11- 29-094813/MacOS: Index is read-only. /Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/Colossus/2017-11- 29-221804/MacOS: Error: unknown indexing state. /private/var/vm: Indexing and searching disabled. Totally confused now, as I've never come across this before. Usually, a simple Spotlight rebuild does the trick. So any help would be most appreciated! This is on MacOS High Sierra 10.13.1. FYI, I have 330GB of space left on my SSD, so it's not a space issue.
  3. Old post, but just adding this here in case it helps someone (thanks for the scripts by the way!). It's easy enough to change the scripts so it doesn't have to be an exact match of the URL. Just change the following line: if url of theTab is q then to this: if q is in url of theTab then
  4. Just a head up... I sent a support request to LastPass (I'm a paid up member), and this was their response: Ah well...
  5. Hi Vero / Andrew, That makes total sense now. Although, I don't normally use Dash's snippet expansion, I thought I'd just try that with the LastPass plugin too. It appears that LastPass is affecting its snippet expansion too! So, it's definitely not isolated to Alfred. I apologise for not doing this earlier. It's only just occurred to me now to try it, after your replies. Really sorry for giving you the runaround with this! Cheers, Tarique.
  6. Hi Vero, I'm afraid it's still exhibiting the same problems on the new build (663). What I might do is prise one of my kids Macbooks off them and test on that. I'm wondering why the issue isn't reproducible on your machines, so makes me think there's something else at play here. Actually, while I'm at it, I'll try under a new user account too. If you can wait until tomorrow, that'd be great. 2.30am here, and I've already turned into a pumpkin. Time for bed!
  7. Hi Vero, - To bring up the LastPass menu, I just click on the toolbar icon. Comes up all the time, regardless of the page being displayed. Not sure why this isn't working for you? - I don't have any hotkeys set up in LastPass. I just click on the toolbar icon to work with it. - OSX 10.11.5 / Safari 9.1.1 (11601.6.17) / LastPass 4.1.1 - Other plugins installed: Adblock Plus 1.11 / Evernote Web Clipper 6.7 / Pinbar 2.78 / Save to pocket 1.9.19 / LiveReload 2.1.0 ​Weird Discovery... Now, I was wondering why you couldn't recreate it at your end, so I started to do some digging around here, and I think I may have found the reason why it's working for you, and not for me... When logging into LastPass I have the 'Remember Email' ticked all the time. With this ticked, and when I log in, and THEN bring up the menu afterwards, this is when the snippets stop working. Now, on another one my hunches (I seem to have a lot of these. Quasimodo would be very proud) I decided to log out and restart Safari to reset it. This time I un-ticked the 'Remember Email' when logging in. Brought up the LastPass menu again, and this time it didn't affect the snippets at all. They carried on working. Did this a few times, and couldn't make the snippets stop working. So, I tried it with the 'Remember Email' ticked again, and this time the snippets stopped working again. So, it's something to do with remembering the email. Very strange. So, can you try the same thing your end? ie. make sure 'Remember Email' is ticked when logging in? So, to reproduce: - Click on the LastPass toolbar icon. - Type in your email address. - Type in your password. - Click 'Remember Email'. - Click 'Log In'. - Check a snippet. Should work fine. - Now click the LastPass toolbar icon again to bring up it's menu. - Type a snippet again. This time it won't work. Hope this drivel makes sense! Being a developer myself I know it's a real pain trying to find bugs like this until you can recreate the issue consistently. Nothing worse than bug hunting these kinds of problems! Let me know how you get on! Cheers, Tarique. Edit: Just an update for what it's worth. I uninstalled all the plugins apart from LastPass, and that didn't make a difference to this issue. Just a heads up really.
  8. Hi Andrew, Just upgraded. Unfortunately, that one still has the problem. Weird one this. Not sure why I can make it happen all the time. I wonder if there's something else at play here too? I did uninstall lastPass and cleaned out all the prefs, etc for the same. Re-installed, and it still exhibited the same issues. Very confused now! Cheers, Tarique.
  9. Hi Andrew, I'm afraid that doesn't fix the issue for me. As mentioned in my email, I can make this happen every time by bringing up the LastPass menu in Safari (make sure you're logged in first though to bring this up! The password dropbox doesn't affect the snippets, only the menu once it's logged in). Did you try the same at your end? Cheers, Tarique.
  10. Ok. Looks like my hunch was right. The LastPass Safari plugin is the problem. I can make it happen every time... Snippets work fine until I bring up the LastPass menu in Safari. Happens every time. Disabling/enabling the plugin and the snippets start working again. I've also tried this on Chrome, but that doesn't appear to affect the snippets. So, it's only the Safari version of the plugin that this happens with. I've attached a gif to illustrate this. As you can see, I'm using a test snippet '!h' which brings up "Hello, this is a snippet". It works, then I bring up the LastPass menu, and try again, and this time it stops. I've sent this to support too, but posting here to help anyone else. Be good to hear if this is the same issue with the everyone, or maybe just one of the apps/plugins that are interfering.
  11. Right. Update on my findings. I had contacted Support (as mentioned in my last post) and they had asked me to close apps one by one until it started working again, assuming it's a conflict with one of the apps. So, that's what I did this time, when it finally happened again (took 2 days this time!) I managed to narrow it down to Safari (or at least one of the extensions within). By snippets started working again once I closed Safari (and re opened). The next time this happens instead of closing Safari, I'll disable the Safari extensions one by one to see if it's any of them that are causing a conflict with Alfred snippets. I have a hunch though that it might be LastPass extension doing this (I was fiddling with LastPass username/passwords at the time), but will now for sure the next time I can test! If this happens to anyone else, could you try the same and see if this works? Be good to get some more heads on this to isolate the issue for the Alfred Support peeps!
  12. Not a problem. I'll get the all the info emailed to you asap... But also answer some of those points here, allowing others to compare their answers: - Whether you're encountering the issue in all apps, or only certain apps All apps. Once it happens, I open up a blank plain text document to test with, when enabling / disabling features as part of diagnosing the problem. - What snippet keywords you're using and in what context you're writing it My main one is '!e' which I use to auto expand to my email address: 'tarique@<domain.com>'. I then try all the others in an open text document to see if they work (they don't!). All are enabled in Alfred Prefs. Will send screenshots of the settings in my email, as not sure how to include inline images here! - Whether the issue occurs every time, occasionally or as a one-off that can't be replicated Occasionally, during the day, seemingly at random. But once they stop working, it remains that way until I either reboot or logout and login again. - Check Console.app to see whether there is a crash log for Alfred Text Service (if so, please email it to beta@ with details) 19/05/16 6:11:45.658 PM Alfred Text Service[60498]: [default] Failed to updated bookmark for item (null) [C1ABF467-1A8C-42FD-9A5F-14956F5978DA] - URL:file:///Users/tarique/Library/Mobile%20Documents/com~apple~TextEdit/Documents/Untitled.txt with error Error Domain=NSCocoaErrorDomain Code=260 "The file couldn’t be opened because it doesn’t exist." 19/05/16 6:11:45.658 PM Alfred Text Service[60498]: -[sFLListItem synthesizeMissingPropertyValues] Failed to updated bookmark for item (null) [C1ABF467-1A8C-42FD-9A5F-14956F5978DA] - URL:file:///Users/tarique/Library/Mobile%20Documents/com~apple~TextEdit/Documents/Untitled.txt with error Error Domain=NSCocoaErrorDomain Code=260 "The file couldn’t be opened because it doesn’t exist." 19/05/16 6:12:38.536 PM Alfred Text Service[60655]: [default] Failed to updated bookmark for item (null) [00CBCC34-EFB2-4643-AE51-D1354D1CFBC7] - URL:file:///Users/tarique/Library/Mobile%20Documents/com~apple~TextEdit/Documents/Untitled.txt with error Error Domain=NSCocoaErrorDomain Code=260 "The file couldn’t be opened because it doesn’t exist." 19/05/16 6:12:38.536 PM Alfred Text Service[60655]: -[sFLListItem synthesizeMissingPropertyValues] Failed to updated bookmark for item (null) [00CBCC34-EFB2-4643-AE51-D1354D1CFBC7] - URL:file:///Users/tarique/Library/Mobile%20Documents/com~apple~TextEdit/Documents/Untitled.txt with error Error Domain=NSCocoaErrorDomain Code=260 "The file couldn’t be opened because it doesn’t exist." 19/05/16 6:12:38.536 PM Alfred Text Service[60655]: [default] Failed to updated bookmark for item (null) [C1ABF467-1A8C-42FD-9A5F-14956F5978DA] - URL:file:///Users/tarique/Library/Mobile%20Documents/com~apple~TextEdit/Documents/Untitled.txt with error Error Domain=NSCocoaErrorDomain Code=260 "The file couldn’t be opened because it doesn’t exist." 19/05/16 6:12:38.536 PM Alfred Text Service[60655]: -[sFLListItem synthesizeMissingPropertyValues] Failed to updated bookmark for item (null) [C1ABF467-1A8C-42FD-9A5F-14956F5978DA] - URL:file:///Users/tarique/Library/Mobile%20Documents/com~apple~TextEdit/Documents/Untitled.txt with error Error Domain=NSCocoaErrorDomain Code=260 "The file couldn’t be opened because it doesn’t exist." - Any other useful information about your keyboard language, layout, etc ​Language is set to New Zealand, US Keyboard. Other possible relevant apps running: Dash, Better Touch Tool, PopClip, Bartender, Evernote Helper, iStat Menus. Development software running: iTerm2, Visual Studio Code, Unity 5, Maya LT. - Whether you have "Expand Snippets mid-string" checked in the cog prefs for expansion This setting is off. Hope this is useful! Will email this, with screenshots, etc to the beta@ address. Cheers, Tarique.
  13. I'm having the similar issues to 'stever777'... In my case snippets generally work, but for some unknown reason (and seemingly at random) they stop auto expanding. Of course, I have ALL the necessary settings in place. In fact I go back and unset, and reset the Accessibility settings, restarting alfred, unchecking/checking 'Automatically expand snippets'. This has happened on two occasions today already. The only way to get snippets working again is to either restart, or log out and back in again. So, *something* is stopping the snippets from working after a while. Mac is running El Capitan 10.11.5 and this is with Alfred build 645, but was also happening in the 2 builds prior to that. Just downloading build 648 now and will report back. Edit: Just realised this is in the 'Closed' section. Not quite sure why that is, as it, obviously, still needs resolving.
  14. Actually a GB is 1024MB in real terms. Take it from a programmer with over 25 years experience. This confusion has only come about because of HD manufacturers who resorted to measure GB as 1000MB to make their capacities seem larger than they actually were. More a marketing thing than anything. This is why when you get info from your PC on HD space it always comes to lower than whats written on the sticker, as the PC is measuring it properly, in base 2. As a conversion, I'd recommend sticking to the base 2 definition. That's what computers work with
  15. I know it's been a while, but I just grabbed this workflow with the same issue as you, Buja. Not sure why the author hasnt replied to you, but it's simple enough to fix, if you don't mind digging into the Python script. Go to the Convert Currency workflow. Double click the Script Filter, then click on 'Open Workflow Folder' in the dialog that comes up. A Finder window will pop up. In there, you need to edit the 'filelist.py' script. A few lines down, in that script, you'll see: dir_path = '~/Desktop/test/' Change this line to: dir_path = 'test/' And save the file. This will now just create the 'test' folder in the currency converter folder. So, no more unsightly temp folders on the desktop. There is probably a better way, but I can't really be bothered looking, so this will have to do for now. Hope this helps anyone who comes across this workflow. Cheers, Tarique.
  16. Many thanks Will give it a go. I did go back to the AppleScript though, and put a 'tell application' block around the 'open location' which did the trick. Just me being lazy with my scripts by not putting it in, in the first place.
  17. And drag select! (command + select) to select multiple nodes to move them around, etc.
  18. Just found a workaround. Updating here in case anyone else comes across the above issue... Rather than running an AppleScript, I've now replaced the action with 'Open URL', and entered the vnc address (vnc://magneto.local:5900) into the address field, leaving the other settings as they are. This will actually launch the screen sharing app. Job's a good 'un.
  19. Ok. I've migrated to Version 2 and upgraded the PowerPack. I've reworked all my Scripts/AppleScripts to work with the new workflow system. Most are working fine. However, I'm having issues with one particular workflow, using a 'Keyword->Run NSAppleScript'. Entering the keyword runs the workflow, but the VNC session does not start. I'm running a keyword with no argument, and the AppleScript is as follows: on alfred_script(q) open location "vnc://magneto.local:5900" end alfred_script I've also replaced with the local IP address of the server, and still no go. By the way, this works fine in Alfred 1.x. Appreciate some help with this Cheers, Tarique.
×
×
  • Create New...