Tag: finder

“AFP_VFS afpfs_DoReconnect: connect on failed” causing Finder crash

Mac Finder Icon

The Problem

“AFP_VFS afpfs_DoReconnect: connect on failed”: I’ve been plagued by this error for some weeks, which relates to waking my Macbook Air from sleep after being connected to my synology NAS at work. The console is replete with hundreds of these messages as it tries to re-connect to the server that is no longer available and there does not seem to be a routine that allows it detect that the server is no longer available and stop attempting to reconnect. As a result the finder simply ceases to be responsive and if you force quit it, it does not spawn properly again.

How to fix it

After getting frustrated with having to log out and log back in again to regain a responsive finder, I googled and failed to find a solution so I turned to the Activity Monitor where I noticed substantial activity from the “soagent” and found that if I force quit that – don’t worry it’ll respawn unharmed – then I got my finder back. Not the most elegant of solutions but quicky, dirty and more importantly successful. I hope the bug will get corrected in a future release of OS X (at the time of writing I’m using 10.10.3) but in the meantime this works.

Update

Okay that solution didn’t work frequently enough but this new one, thanks to Krysole at superuser.com does indeed work. I generally check which smb mounts are malfunctioning from the console and then go to terminal and use the following command:

sudo umount -f /Volumes/”volume name”

And bye, bye problem!

PPS

This problem has now been fixed by El Capitan… Woot!

Filed under: Help, TechTagged with: ,

Psst… Want to Know Some Secrets?

My friend the irresistible @tsmarsh just reminded me of the wonders of custom preference panes for OS X, with this delectable tweet:

@tsmarsh

Sweet! http://tinyurl.com/568fkc Now I can break my mac with the same impunity as the freetards.

I’ve been using Secrets, the preference pane he’s referring to, since March 2008 after I first stumbled across it via the renowned macosxhints.com site shortly after I believe it was released. It is a cheats way to change ‘secret’ settings in both the OS and other programs for those of us who are sometimes too timid to resort to the terminal or just want to be able to tick a box to apply or more importantly sometimes unapply a secret setting.

It’s exactly the sort of program I love: simple, clean, straightforward, and community driven. It’s open source so if you stumble across a new secret whilst browsing an obscure blog, then you can post it to the site and once verified (I presume) it’ll be added to the program forthwith. If you want to refresh your secrets just click the handy update button and off it goes… reporting back new secrets under the new secret option at the top.

Secrets Preference Pane

The fact that Secrets even exists is proof positive for me that many Apple users don’t always believe the Apple way is the right way and want the ability to easily change some basic fundamental settings of their favourite programs to perform the way that is best for them rather than they way Apple or other program writers have decided is best by default.

So let me let you in on a few of my secret preferences (in no particular order)

  • Mail – Send Windows friendly attachments (why this isn’t activated by default beats me!?)
  • Dictionary – Reuse dictionary definition window (I use dictionary alot, so I like not to have dozens of dictionary windows open, just the one…)
  • Dock – Dim hidden apps (absolutely essential, Apple should have added this feature as a default years ago!)
  • Finder – Enable finder quit menu item (yes finder sometimes I’d like to be able to just quit you, especially when my keyboard is not responding :-()
  • Finder – Use .DS_Stores on network (uncheck and bye bye pesky .DS files!)
  • iTunes – Allow half star ratings (for those songs that just don’t quite make a full five stars!)

These are just a fraction of the customisations I’ve activated so trot along to the Secrets website and join the Mac personalisation revolution now!

Filed under: GeneralTagged with: , , , , , , , , ,

Quicklook Magic

Looking through a large set of files has become increasingly easy since Apple released Leopard, and although this feature does not get a great deal of promotional praise from the Apple community it is in my opinion one of the unsung heroes features of the OS.

With the update to Snow Leopard you can now use quicklook just about everywhere, from the finder and spotlight as you might expect, but also from places as diverse as your printer list (to check which document might be causing your printer to play-up or move a file up the queue) to your open dialog box (say to check you are attaching the right file to an email. And I am sure many more places I’m yet to discover.

Apple has enabled Quicklook to work with essential files such as word documents, excel spreadsheets and of course pdfs, as well as just about any image you’d ever be likely to encounter in a normal business environment. It is however possible to extend the usefulness of this system by installing plugins to enable you to look at many other types of files that Apple has not added native support for.

Quicklook plugins are indicated by the file ending: .qlgenerator. To install them you copy them to your /Library/QuickLook/ or ~/Library/QuickLook/ folder.

Install your Quicklook Plugins here
Install your Quicklook Plugins here

The folder should already exist, but if it doesn’t feel free to create it. Out of preference I normally install these files into my root library rather than the user library as they are then available to any user of the computer. I have encountered no additional increase in load on the system of running these plugins.

Once installed you have to run the following command in terminal if you want them to be loaded straight away without needing to logout. This is as easy as cutting and pasting this command into the terminal app (hiding away in utilities):

qlmanage -r

which forces the OS to look in these folders and thereby load the new plugins you have added.

I also take a very broad sweep when installing this type of plugin as it is not possible to encounter every file type that a business or yourself will encounter and I have therefore installed pretty much every plugin that I have been able to lay my hands on, occasionally checking back at great sites like www.quicklookplugins.com or www.qlplugins.com when I need to find another plugin.

I currently have installed on my system the following plugins:

Adium Chat Log

– yes easy peaking in my favourite IM’s chat logs

Photoshop Brush Viewer

– does what it says on the tin, kindly developed by Laura Dickey.

Source Code Highlight

– view source code files with syntax highlighting courtesy of Samuel Toulouse.

EPS Files

– look at EPS files courtesy of Eternal Storm Software it’s donationware so if you use it lots donate!

Folder Contents

– if you still us 10.5, seems to have stopped working in 10.6, :-(

GIS Data

– view vector data and raster grids, helpful to those in the property development game courtesy of Bernhard Jenny.

Text and Picture Clippings

– have a look at annoying clippings files!

Adobe Illustrator

– this one is a bit more complicated but it is definitely worth the effort for detailed instructions see: here. Thanks Hrmpf!

Web Page Archives from IE

– helpful for legacy files and archives that your client might have and not realise that they later need.

CHM Archives

– again that legacy file support that can be so useful at times, thanks go to Qian Qian.

Applescript Viewer

– take a peek at any applescripts you might have, thanks go to Kainjow.

Suspicious Package

– for the cautious amongst you who want to checkout what that installer package contains, thanks to Mothers Ruin Software.

Textmate

– essential for all you textmate fans, thanks go to Ciarán Walsh.

Zips etc.

– Look inside those zip files without having to unzip them.

And that’s the end of my list, but I’d love to hear any recommendations anyone might have. Many thanks to all the cool developers who have spent time creating these incredibly useful plugins.

Filed under: GeneralTagged with: , , , , ,