Adressbuch reagiert nicht

Ist mir schon zweimal passiert, dass mein Adressbuch sich zwar öffnen lies, aber nicht mehr reagiert. Hier ist beschrieben warum das so ist und auch eine mögliche Lösung. Ich hab den Eintrag sicherheitshalber kopiert falls es wieder einmal passieren sollte. Den Original Eintrag gibt es hier. Ist übrigens von der Website des Hersteller des tollen OS X Programm „Little Snitch„. Mit Little Snitch kann ich für jedes Programm individuell bestimmen ob und auf welche Seiten / Server es im Internet zugreiffen darf. Kann ich an dieser Stelle jedem empfehlen. 🙂

When your address book contains a smart group whose condition refers to “any group”, Address Book will stop working properly. You will get lots of error messages in the Console:

2008-09-16 09:47:33 Address Book[2689] *** -[NSCFArray insertObject:atIndex:]: attempt to insert nil

and applications that attempt to access the address book data will crash.For example, if you have a smart group with the condition Card is not member of any group:

any-group

you will get into troubles after upgrading to Mac OS X 10.5.5.

How to avoid this problem

  1. If you haven’t yet upgraded to 10.5.5, delete the corresponding smart group before you upgrade.
  2. If you are already running 10.5.5, do not create any smart group that refers to “any group”.

How to fix this problem

If you’ve already upgraded to 10.5.5 and find yourself suffering from this bug, things are a bit more complicated. You cannot simply delete the affected smart group, since Address Book won’t run properly due to this bug.

Solution 1

Although Address Book refuses to accept user input, it still seems to be possible to interact with Address Book via AppleScript.

Launch the Script Editor application (which is located in /Applications/AppleScript), and enter the following script:

tell application "Address Book"

delete (first group whose name is "My Smart Group")

end tell

Replace „My Smart Group“ with the actual name of the problematic smart group (but keep the surrounding quotes). Now run the script, then quit and restart Address Book. The problematic smart group should be gone, and Address Book should work properly again.

Solution 2

An alternative solution how to delete a problematic smart group from Address Book has been posted at http://forums.macosxhints.com/showthread.php?t=91133.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.