Address book unexpectedly quitting

Whenever I go to add a new contact in Address Book, it "unexpectedly quits".
I've tried moving the preferences folder to the desktop, then logging out and logging back in to see if it was a preference problem, but it didn't do anything. Then I tried taking out the Library>Application Support>AddressBook folder and putting it on the desktop, then log out and log back in to see if it was something with the contacts, but that still didn't work. So I don't know what to do. If you have any ideas.. please post!
Thanks!
Brien

Date/Time: 2006-07-11 21:33:55.747 -0400
OS Version: 10.4.7 (Build 8J135)
Report Version: 4
Command: Address Book
Path: /Applications/Address Book.app/Contents/MacOS/Address Book
Parent: WindowServer [1040]
Version: 4.0.3 (477.6)
Build Version: 366
Project Name: AddressBook
Source Version: 4770600
PID: 1075
Thread: 0
Exception: EXCBADACCESS (0x0001)
Codes: KERNPROTECTIONFAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 com.apple.CoreFoundation 0x907bec88 CFArrayGetValueAtIndex + 276
1 com.apple.CoreText 0x90263a38 TSplicedFontDescriptor::CopyCharacterSet() const + 96
2 com.apple.CoreText 0x90242c8c TPhysicalDescriptor::CopyAttribute(TCFStr const&) const + 720
3 com.apple.CoreText 0x9021f22c TPhysicalDescriptor::CopyAttribute(__CFString const*) const + 352
4 com.apple.AppKit 0x936f18d8 -[__NSFontTypefaceInfo _nominalCharacterCoverage] + 112
5 com.apple.AppKit 0x936f1764 -[__NSSharedFontInstanceInfo _characterCoverage] + 264
6 com.apple.AppKit 0x93742a04 -[NSMutableAttributedString(NSMutableAttributedStringKitAdditions) fixFontAttributeInRange:] + 992
7 com.apple.AppKit 0x93742410 -[NSMutableAttributedString(NSMutableAttributedStringKitAdditions) fixAttributesInRange:] + 68
8 com.apple.AppKit 0x93aabfec __NSCreateRenderingContextForString + 232
9 com.apple.AppKit 0x93726144 _NSStringDrawingCore + 1260
10 com.apple.AppKit 0x93725c28 _NXDrawTextCell + 620
11 com.apple.AppKit 0x937256e0 -[NSTextFieldCell drawInteriorWithFrame:inView:] + 464
12 ...apple.AddressBook.framework 0x94ccd694 -[ABPeopleTableTextFieldCell drawInteriorWithFrame:inView:] + 1452
13 com.apple.AppKit 0x937253bc -[NSTextFieldCell drawWithFrame:inView:] + 316
14 com.apple.AppKit 0x9377ffc8 -[NSTableView _drawContentsAtRow:column:clipRect:] + 756
15 com.apple.AppKit 0x9377f854 -[NSTableView drawRow:clipRect:] + 220
16 com.apple.AppKit 0x9377f610 -[NSTableView drawRowIndexes:clipRect:] + 108
17 com.apple.AppKit 0x9377ec98 -[NSTableView drawRect:] + 1144
18 com.apple.AppKit 0x93713858 -[NSView _drawRect:clip:] + 2128
19 com.apple.AppKit 0x93712e18 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 404
20 com.apple.AppKit 0x937123e0 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 196
21 com.apple.AppKit 0x937129a8 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 1676
22 com.apple.AppKit 0x937129a8 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 1676
23 com.apple.AppKit 0x937129a8 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 1676
24 com.apple.AppKit 0x937129a8 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 1676
25 com.apple.AppKit 0x937129a8 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 1676
26 com.apple.AppKit 0x937129a8 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 1676
27 com.apple.AppKit 0x93733044 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 192
28 com.apple.AppKit 0x9370c054 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 384
29 com.apple.AppKit 0x93701348 -[NSView displayIfNeeded] + 248
30 com.apple.AppKit 0x937011b8 -[NSWindow displayIfNeeded] + 180
31 com.apple.AppKit 0x93701064 _handleWindowNeedsDisplay + 200
32 com.apple.CoreFoundation 0x907db73c __CFRunLoopDoObservers + 352
33 com.apple.CoreFoundation 0x907db9dc __CFRunLoopRun + 420
34 com.apple.CoreFoundation 0x907db47c CFRunLoopRunSpecific + 268
35 com.apple.HIToolbox 0x931eb740 RunCurrentEventLoopInMode + 264
36 com.apple.HIToolbox 0x931ead4c ReceiveNextEventCommon + 244
37 com.apple.HIToolbox 0x931eac40 BlockUntilNextEventMatchingListInMode + 96
38 com.apple.AppKit 0x936cdae4 _DPSNextEvent + 384
39 com.apple.AppKit 0x936cd7a8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
40 com.apple.AppKit 0x936c9cec -[NSApplication run] + 472
41 com.apple.AppKit 0x937ba87c NSApplicationMain + 452
42 com.apple.AddressBook 0x00008bcc 0x1000 + 31692
43 com.apple.AddressBook 0x000086bc 0x1000 + 30396
44 com.apple.AddressBook 0x0000a0d4 0x1000 + 37076

Similar Messages

  • Address Book unexpected application close

    Hi,
    Does anyone know of any limitations of Address Book regarding number of contacts in the database? I have about 16,000 contacts, and when I try to have Address Book "Find Duplicate Records", it terminates unexpectedly.
    What's the deal?
    Ron

    After further investigation, I find that Address Book does indeed have a limitation as to the number of contacts supported - which is about 10,000. This is probably more of a memory limitation (table or array size construction within the program). I came to this conclusion by breaking down my contact database into chunks and did a "Find Duplicates" on each chunk to make sure it worked. I then built my new contact database a chunk at a time, performing a "Find Duplicates" at each stage. When I approach 10,000 contacts, Address Book consistently crashed. It will also crash when performing extensive adds/moves/changes when the database approaches this size, and even corrupt the database or completely reinstate a new database if the existing one becomes too corrupted.
    Am I even in the right group for this thread (nobody responded to my initial post)?
    Any suggestions where I can take this issue for possible resolution?

  • Address Book - "Forced Quit" lost all data

    I had a significant problem with Address Book (4.0.6) and its back-up. I am running 10.4.11 on a Power Mac (Dual 450 MHz PowerPC G4).
    While in Address Book, it did not respond so I did a Force Quit. Upon reopening Address Book, all of my data (over 1000 items) was gone and only two addresses existed. In checking my account>Library>Application Support>Address Book, all that existed in the main address was 16 KB. A version of the Address Book from 2005 existed but not the current one.
    In checking my back-up drive (backed up once a day), backed up by Retrospect (Destination = Replaced Corresponding Files, Selecting = Users Folders and Prefs (OS X), the only Address Book file was from 2005, probably when I first used Retrospect. In other words, the daily back-up was not capturing the most recent file.
    One, what happened to the Address Book file when I did Forced Quit? Is it still on my hard drive under some other name? If so, how can I find it and can I use it?
    FYI, I did run Apple’s Disk Utility and Verified the Hard drive which was OK.

    Try this:
    Quit Address Book.
    In folder ~/Library/Application Support/AddressBook drag file AddressBook.data to the desktop. Rename AddressBook.data.previous to AddressBook.data and restart AB. If your contacts are not back quit AB again and repeat the drag/rename process, this time with AddressBook.data.beforesave.
    If you get your contacts back, now is probably a good time to use the AB menu item File/Back up Address Book.
    AK

  • Preview  & Font Book Unexpectedly Quit

    Every time I try to launch Preview or Font Book I get an error message that says that the application has quit unexpectedly. Do I need to reinstall these applications from the startup disc, or is there some other problem here? I am using OSX 10.4.9.
    Thanks
    Dual 2.3 GHz Power PC G5 Mac OS X (10.4.9)
    Dual 2.3 GHz Power PC G5   Mac OS X (10.4.9)  

    Start with http://www.thexlab.com/faqs/multipleappsquit.html

  • Address book crashes whenever I try to open it.

    Whenever I try to open Address Book, I receive the messge, "Address Book quit unexpectedly."  Problem Details and System Configuration are then shown, with the option to click "OK" or "Reopen." 
    Most of the time, when I click "Reopen," I receive the message: "Restore Windows.  The application 'Address Book' unexpectedly quit while trying to restore its windows.  Do you want to try to restore its windows again?"  I am then given the choise of clicking, "Don't Restore Windows" or "Restore Windows."
    In general, I've been clicking "Restore Windows," although I really do not know what that means.
    This problem started as soon as I installed 10.7.  Gradually, it has been getting worse, in that the crashes are now occurring every time I try to open Address Book.  Also, increasingly, the program requires several cycles through the choices given above, before it will open and stay open, though sometimes it crashes after having been open for a while, too.

    I did some more rooting, and may have a solution...
    I had a similar problem--changed a calendar entry on my iPhone this evening, then later synched it with my Mac. Saw that all contacts on the iPhone, and in the Address Book on the Mac were gone. Got home, went to my TimeMachine backup, which would crash any time I tried to restore Address Book. Tried deleting Address Book, but was only presented with a dialog that it was impossible, since AB is part of the system. Had a sense it was some type of file/DB corruption. Was at wit's end, but found a solution:
    As you see in the screen grab above--these are the files that need to be replaced via TimeMachine--the only catch is to find these library files in Lion, from the desktop, you need to hold down Option while clicking Go in the menu--there you will see your library, and can go from there. So far, I've done a sync between the iPhone and the Mac, and all appears to be in order.
    Luckily, I use Outlook as my main contact manager, so it merely is an annoyance insofar as synching, but still...
    Hope this can help with your situation...

  • Strange Problem with Mail & Address Book

    Hi,
    I'm having a strange problem with Mail & Address Book.
    When I go to compose a new message from Mail and hit the Address button (to show my email addresses), it won't launch the contacts window!
    I get this log from console;
    2007-10-15 22:55:59.079 Mail[410] * -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0)
    If I try to launch the Address Book from my Applications folder, it won't open, and it gives me this log from console;
    2007-10-15 22:57:57.348 Address Book[417] * -[NSKeyedUnarchiver initForReadingWithData:]: data is NULL
    Oct 15 22:57:57 PB-G4 /Applications/Address Book.app/Contents/MacOS/Address Book: CGImageSourceCreateWithData data parameter is nil\n
    2007-10-15 22:57:57.350 Address Book[417] Don't know about packed image EditLeftCapStd
    2007-10-15 22:57:57.350 Address Book[417] Exception raised during posting of notification. Ignored. exception: * -[NSCFArray addObject:]: attempt to insert nil
    If I quit Address Book, i'll get this from console;
    2007-10-15 22:58:37.892 Address Book[417] -[ABAddressBook setDefaultCountryCode:] called with a unknown country code 'us'
    I tried deleting the preferences, re-installing Address Book, also tried creating a new user, again no luck!
    Can somebody help!!!
    Please?!

    Hi dp13.
    Do you have any Address Book plug-ins or system utilities that could interfere with Address Book? In the Finder, go to each of the following folders (if they exist). What do you see there?
    /Library/Address Book Plug-Ins/
    ~/Library/Address Book Plug-Ins/
    To make accurately reporting this information easier, you may open /Applications/Utilities/Terminal, type the following command (you can just copy it here and paste it in Terminal), and press <Return>. You can then copy the output of that command from Terminal and paste it in your reply to this post:
    ls -1 /Library/Address\ Book\ Plug-Ins ~/Library/Address\ Book\ Plug-Ins
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. You can easily locate any of the folders referred to in this post by copying the folder path here, doing Go > Go to Folder in the Finder, and pasting the folder path there.
    <hr>
    Did you also reinstall the appropriate Combo Update after reinstalling Address Book?
    Quit all the applications and verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what's it all about?
    After having fixed all the filesystem issues, if any, reinstall the Combo Update for the type of computer and the version of Mac OS X you’re using, unless this is the version of Mac OS X that came with the computer:
    About the Mac OS X 10.4.10 Combo Update
    Mac OS X 10.4.10 Combo Update for PowerPC
    Mac OS X 10.4.10 Combo Update for Intel
    After installing the Combo Update, the computer may restart twice and the first restart may take several minutes. This is normal.
    Take a look at the following articles for guidelines on how to properly install system updates:
    Troubleshooting installation and software updates
    Installing software updates
    Basically, you should verify/repair the startup disk and back up before installing the update, no applications should be running while installing it, and you may experience unexpected results if you have third-party system software modifications (not normal applications) installed.

  • Transferring info from old address book to new Mac

    my subtopic ought to be 'writing a subject heading that relates to the question I want to ask'. That question was;
    Can anyone help me?
    My last iMac died and I've got a new one. I've also got the hard drive from the old iMac, but when I try to open things from it, such as the address book, the new version opens and I can't find a way to get at the info that is in my old address book. I want to e-mail friends to tell them that I'm back on-line, but I can't get at their addresses. Advice received with thanks.

    The Address Book data is stored at the following location - Home > Library > Application Support > AddressBook.
    With the Address Book application quit on your new iMac, transfer the AddressBook folder from the old hard drive and place it in the same location on your new hard drive at Home > Library > Application Support.
    This will replace the existing AddressBook folder in this location.
    Launch Address Book and all contacts from the old drive should be completely restored.

  • How can I get my address book data back?

    After upgrading to OS6, my address book has gone from almost a thousand entries to being totally empty.
    This is a *very* big deal for me bc I have no address book application on my PC.
    I had always assumed that if iTunes were backing up my iPod, that I would be able to restore from those backups, but now I cannot figure out how to tell iTunes to restore from a backup.   I've got a backup... just cannot restore from it.
    There's got to be a way.... and I'm probably looking right at it and not seeing it.

    It has been a very long time since I used 10.1.5 but Address Book data is not stored in a .plist file.
    The Address Book data should be located in an Addresses folder at Home > Library > Addresses.
    Locate this folder and with the Address Book application quit, move it back to the proper location.

  • Apple Script to Sort through the Address Book

    Dear All,
    I am quite new to Apple and just a learner on Apple-scripts. Its been quite a task to learn.. I would require some help on a few things..
    The script will eventually use numbers to send email and get the user inputs and any yet to reach there..
    After going through lots of scripts to sort through the address book and make a clean address book, i found they are quite slow in processing takes about 20~30 Minutes to get through 2000 Contacts..
    Hence after reading posting of Mr. Koenig & Mr. Hiroto and specifically on deep copy. I have written the following code which does the following on 2000 records within 6~8Mins.
    The Script work its way through all the contact is the address List.. and creates Groups
    1. Duplicate Email Id's — List of Contacts with same email ID's including Contacts where the email Id is entered twice.. (Strange.. Address Book Issue, copy of the email Id under work & home)
    2. Duplicate Phone — List of Contacts with same Phone Numbers including Contacts where the Phone Nos is entered twice.
    3. Duplicate Name — List of Contacts with Same Names
    4. Duplicate No Name — List of Contacts without the First Name and Last Name
    it also sort the Contacts under the following Group which you can edit later with all the information's..
    1. Only Email Ids — List of Contacts with Email ID and No Phone Numbers
    2. Only Phone — List of Contacts with Phone Numbers and No Email Id's
    3. No Email or Phone — List of Contacts with No Email Id's and No Phone numbers (some half completed contacts )
    My Question to the forum is why is the following code still taking too much time..
    set onlyDupEList to every person of group theGroupEmail
    repeat with j from 1 to count of Dup_email
    set tempdata to item j of Dup_email
    if onlyDupEList does not contain {tempdata} then add tempdata to group theGroupEmail
    end repeat
    save application "Address Book"
    and the scripts slows down when the items in the list is quite large (over 800 or so )..
    Any help is appreciated and thanks in advance..
    -- the code ---
    global MsgTitle
    on run
    set MsgTitle to "Search for Duplicates in Address Book Contacts"
    display dialog ¬
    "This Script takes a while to finish" & return & "maybe 10 min or More..." & return & "Depending on the Address Book Contacts." & return & return & "Hence Allow it to run for the while" with title MsgTitle ¬
    with icon 1 ¬
    buttons {"Continue"} ¬
    giving up after 5
    set question to display dialog "Select the Duplicate Search Parameter " with icon 1 with title MsgTitle ¬
    buttons {"Contact Name", "Contacts on Phone & Email Id's", "Quit"} default button 3
    set rtnValue to button returned of question
    if rtnValue is "Quit" then
    -- tell application "Address Book" to quit
    tell me to quit
    end if
    if rtnValue is "Contact Name" then
    -- tell application "Address Book" to quit
    GetDup_byName("Duplicate Name")
    end if
    if rtnValue is "Contacts on Phone & Email Id's" then --Contacts on Phone & Email Id's
    -- tell application "Address Book" to quit
    Get_dup()
    end if
    end run
    --- Search on Name Field ---
    on GetDup_byName(theGroupName)
    set question to display dialog "Do you want to search for duplicates based on Names? " with icon 0 with title MsgTitle ¬
    buttons {"Continue", "Quit"} default button 1
    set rtnValue to button returned of question
    if rtnValue is "Quit" then
    -- tell application "Address Book" to quit
    tell me to quit
    end if
    tell application "Address Book"
    activate
    set biglist to {}
    set NoNameList to {}
    set theGroupNoName to "Duplicates No Names"
    set theGroup to theGroupName
    -- if not (exists (group "Dupilicate Entries")) then
    if not (exists (group theGroup)) then
    make new group with properties {name:theGroup}
    save
    end if
    if not (exists (group theGroupNoName)) then
    make new group with properties {name:theGroupNoName}
    save
    end if
    set the_names to name of people
    repeat with i from 1 to number of items in the_names
    set theName to item i of the_names
    -- return theName
    if theName is not in biglist then
    copy theName to end of biglist
    else
    set counter to (people whose name is theName)
    if (count of counter) > 1 then
    repeat with i from 1 to number of items in counter
    set this_item to item i of counter
    -- display dialog this_item
    add this_item to group theGroup
    end repeat
    -- return counter as string
    end if
    end if
    -- captures the Contacts without Name ---
    if theName contains "@" then
    -- display dialog theName
    set counterList to (people whose name is theName)
    repeat with i from 1 to number of items in counterList
    set this_item to item i of counterList
    -- display dialog this_item
    add this_item to group theGroupNoName
    end repeat
    end if
    -- save application "Address Book"
    end repeat
    save application "Address Book"
    set peopleCount to (count every person)
    -- set peopleCount to 50 -- only for testing --
    repeat with i from 1 to peopleCount
    set first_name to first name of person i as string
    set Last_Name to last name of person i as string
    if first_name is equal to "missing value" and Last_Name is equal to "missing value" then
    -- display dialog first_name & " : " & Last_Name
    set end of NoNameList to (id of person i)
    end if
    end repeat
    repeat with j from 1 to the count of NoNameList
    set tempdata to item j of NoNameList
    -- set testdata to person id tempdata
    -- if (name of groups of testdata does not contain theGroupNoEmail) then
    add tempdata to group theGroupNoName
    -- end if
    end repeat
    save application "Address Book"*)
    display dialog ¬
    "This Script Finished Processing Address Book Contacts the Duplicates are in the group" with title MsgTitle ¬
    with icon 1 ¬
    buttons {"Continue"} ¬
    giving up after 5
    end tell
    end GetDup_byName
    on Get_dup()
    set question to display dialog "Do you want to search for duplicates based on Names? " with icon 0 with title MsgTitle ¬
    buttons {"Continue", "Quit"} default button 1
    set rtnValue to button returned of question
    if rtnValue is "Quit" then
    -- tell application "Address Book" to quit
    tell me to quit
    end if
    tell application "Address Book"
    activate
    set theGroupEmail to "Duplicate Email Id's"
    set theGroupPhone to "Duplicate Phone"
    set theGroupNoEmail to "Only Phone Numbers"
    set thegroupNoPhone to "Only Email Id's"
    set theGroupNoData to "No Email or Phone"
    -- set theGroup to theGroupName
    if not (exists (group theGroupEmail)) then
    make new group with properties {name:theGroupEmail}
    save "Address Book"
    end if
    if not (exists (group theGroupPhone)) then
    make new group with properties {name:theGroupPhone}
    save "Address Book"
    end if
    if not (exists (group theGroupNoEmail)) then
    make new group with properties {name:theGroupNoEmail}
    save "Address Book"
    end if
    if not (exists (group thegroupNoPhone)) then
    make new group with properties {name:thegroupNoPhone}
    save "Address Book"
    end if
    if not (exists (group theGroupNoData)) then
    make new group with properties {name:theGroupNoData}
    save "Address Book"
    end if
    set ListofPeople to people --the_ID
    set ListofEmailID to value of emails of people --the_emails
    -- return ListofEmailID
    set ListofPhones to value of phone of people -- the_phones
    -- return ListofPhones
    set biglist to {}
    set ListEmail_Uniq to {}
    set ListEmail_Dup to {}
    set No_PhoneList to {}
    set No_EmailList to {}
    set No_dataList to {}
    set FlagEmail to false
    set FlagPhone to false
    -- repeat with i from 1 to number of items in the_emails
    repeat with i from 1 to count of ListofEmailID
    set thePersonID to item i of ListofPeople
    set theEmails to item i of ListofEmailID
    if theEmails is equal to {} then
    set end of No_EmailList to thePersonID
    else
    -- set FlagEmail to true
    repeat with j from 1 to count of theEmails
    set tmpdata to item j of theEmails
    -- return tmpdata
    if tmpdata is not in biglist then
    set end of biglist to tmpdata
    set end of ListEmail_Uniq to {tmpdata} & {thePersonID}
    else
    set end of ListEmail_Dup to {tmpdata} & {thePersonID}
    end if
    end repeat
    end if
    end repeat
    -- return ListEmail_Uniq
    -- return ListEmail_Dup
    -- save application "Address Book"
    set biglist to {}
    set ListPhone_Uniq to {}
    set ListPhone_Dup to {}
    -- repeat with i from 1 to number of items in the_emails
    repeat with i from 1 to count of ListofPhones
    set thePersonID to item i of ListofPeople
    set thePhones to item i of ListofPhones
    if thePhones is equal to {} then
    set end of No_PhoneList to thePersonID
    else
    -- set FlagPhone to true
    repeat with j from 1 to count of thePhones
    set tmpdata to item j of thePhones
    -- return tmpdata
    if tmpdata is not in biglist then
    set end of biglist to tmpdata
    set end of ListPhone_Uniq to {tmpdata} & {thePersonID}
    else
    set end of ListPhone_Dup to {tmpdata} & {thePersonID}
    end if
    end repeat
    end if
    end repeat
    -- return ListPhone_Uniq
    -- return ListPhone_Dup
    set the Dup_email to {}
    -- Find the Duplicates from the sorted list --
    repeat with i from 1 to the count of ListEmail_Dup
    set tempdata to item i of ListEmail_Dup
    set dataEmailDup to item 1 of tempdata
    set dataPersonDup to item 2 of tempdata
    repeat with j from 1 to the count of ListEmail_Uniq
    set tempdata to item j of ListEmail_Uniq
    set dataEmailUniq to item 1 of tempdata
    set dataPersonUniq to item 2 of tempdata
    -- display dialog mainEmail1 & "=" & mainEmail2 & " " & mainID1 & "=" & mainID2
    if dataEmailDup is equal to dataEmailUniq then
    set end of Dup_email to dataPersonDup -- & "," & dataPersonUniq
    set end of Dup_email to dataPersonUniq
    end if
    (* -- the code takes lot more time if add to group was used --
    if dataEmailDup is equal to dataEmailUniq then
    set testdata to person id dataPersonDup
    add testdata to group theGroup
    set testdata to person id dataPersonUniq
    add testdata to group theGroup
    end if
    end repeat
    end repeat
    -- return Dup_email
    set the Dup_Phone to {}
    -- Find the Duplicates from the sorted list --
    repeat with i from 1 to the count of ListPhone_Dup
    set tempdata to item i of ListPhone_Dup
    set dataPhoneDup to item 1 of tempdata
    set dataPersonDup to item 2 of tempdata
    repeat with j from 1 to the count of ListPhone_Uniq
    set tempdata to item j of ListPhone_Uniq
    set dataPhoneUniq to item 1 of tempdata
    set dataPersonUniq to item 2 of tempdata
    -- display dialog mainEmail1 & "=" & mainEmail2 & " " & mainID1 & "=" & mainID2
    if dataPhoneDup is equal to dataPhoneUniq then
    set end of Dup_Phone to dataPersonDup -- & "," & dataPersonUniq
    set end of Dup_Phone to dataPersonUniq
    end if
    (*if dataPhoneDup is equal to dataPhoneUniq then
    set testdata to person id dataPersonDup
    add testdata to group theGroup
    set testdata to person id dataPersonUniq
    add testdata to group theGroup
    -- save
    end if*)
    end repeat
    end repeat
    -- return Dup_Phone
    set onlyDupEList to every person of group theGroupEmail
    repeat with j from 1 to count of Dup_email
    set tempdata to item j of Dup_email
    if onlyDupEList does not contain {tempdata} then add tempdata to group theGroupEmail
    end repeat
    save application "Address Book"
    set onlyDupPList to every person of group theGroupPhone
    repeat with j from 1 to count of Dup_Phone
    set tempdata to item j of Dup_Phone
    if onlyDupPList does not contain {tempdata} then add tempdata to group theGroupPhone
    end repeat
    save application "Address Book"
    set onlyPhoneList to every person of group theGroupNoEmail
    repeat with j from 1 to the count of No_EmailList
    set tempdata1 to item j of No_EmailList
    if No_PhoneList does not contain {tempdata1} then
    if onlyPhoneList does not contain {tempdata1} then add tempdata1 to group theGroupNoEmail
    end if
    (*set flagE to false
    repeat with i from 1 to the count of No_PhoneList
    set tempdata2 to item i of No_PhoneList
    if tempdata1 is equal to tempdata2 then
    set flagE to true
    exit repeat
    end if
    end repeat
    if flagE is false then add tempdata1 to group theGroupNoEmail*)
    end repeat
    save application "Address Book"
    set onlyEmailList to every person of group thegroupNoPhone
    repeat with j from 1 to the count of No_PhoneList
    set tempdata1 to item j of No_PhoneList
    if No_EmailList does not contain {tempdata1} then
    if onlyEmailList does not contain {tempdata1} then add tempdata1 to group thegroupNoPhone
    end if
    end repeat
    save application "Address Book"
    set onlyList to every person of group theGroupNoData
    repeat with i from 1 to count of ListofPeople
    if (item i of ListofEmailID is equal to {}) and (item i of ListofPhones is equal to {}) then
    set tempdata to item i of ListofPeople
    if onlyList does not contain {tempdata} then add tempdata to group theGroupNoData
    end if
    end repeat
    save application "Address Book"
    display dialog ¬
    "This Script Finished Processing Address Book Contacts the Duplicates are in the group" with title MsgTitle ¬
    with icon 1 ¬
    buttons {"Continue"} ¬
    giving up after 5
    end tell
    end Get_dup
    on quit
    --set MsgTitle to "Change Email ID's Domain Name"
    save application "Address Book"
    display dialog "Contact Srikanth Kamath at [email protected] for any Help" with title MsgTitle with icon 1 buttons "OK"
    continue quit
    end quit

    Hello Srikanth Kamath,
    I'm not sure you're still following this thread, but anyway here's sample code I said I'd post later.
    --SCRIPT2
    main()
    on main()
    script o
    -- input data
    property xx : {1, 2, 3, 4, 5} -- list of parents
    property yy : {{"g", "h"}, {"a", "b"}, {"b", "e", "f"}, {"e"}, {"c", "d"}} -- list of children per parent
    -- work list
    property pp : {} -- list of children tagged by parent; i.e, lits of {child, parent}
    property qq : {}
    property rr : {}
    -- (1) build list of children tagged by parent
    repeat with i from 1 to count my xx
    set x to my xx's item i
    set y to my yy's item i
    repeat with p in y
    set end of my pp to {p's contents, x}
    end repeat
    end repeat
    --return pp -- {{"g", 1}, {"h", 1}, {"a", 2}, {"b", 2}, {"b", 3}, {"e", 3}, {"f", 3}, {"e", 4}, {"c", 5}, {"d", 5}}
    -- (2) sort tagged list by child as key
    msort(my by_key1, my pp)
    --return pp -- {{"a", 2}, {"b", 2}, {"b", 3}, {"c", 5}, {"d", 5}, {"e", 3}, {"e", 4}, {"f", 3}, {"g", 1}, {"h", 1}}
    -- (3) retrieve parents with duplicate child
    (* retrieve list of {child, parent} for duplicate child *)
    set my qq to uniq(my eq_key1, my pp, {_dup:true})
    --return qq -- {{"b", 2}, {"b", 3}, {"e", 3}, {"e", 4}}
    (* retrieve list of parent *)
    repeat with q in my qq
    set r to q's item 2
    if r is not in my rr then set end of my rr to r
    end repeat
    return rr -- {2, 3, 4}
    end script
    tell o to run
    end main
    on by_key1(x, y)
    msort's comparator for list of lists
    key = item 1, ascending
    returns true iff x and y are out of order
    return x's item 1 > y's item 1
    end by_key1
    on eq_key1(x, y)
    uniq's comparator for list of lists
    key = item 1
    returns true iff x and y are considered equal
    return x's item 1 = y's item 1
    end eq_key1
    on msort(cmp_, aa) -- v1.2f2
    Basic recursive merge sort handler having list sorted in place.
    handler cmp_ : comparator
    * cmp_(x, y) must return true iff list element x and y are out of order.
    list aa : list to be sorted in place
    script o
    property parent : {} -- limit closure to minimum
    property xx : aa -- to be sorted in place
    property xxl : count my xx
    property yy : {}
    property cmp : cmp_
    on merge(p, q, r)
    property xx: source list
    integer p, q, r : absolute indices to specify range to be merged such that
    xx's items p thru r is the target range,
    xx's items p thru (q-1) is the first sublist,
    xx's items q thru r is the second sublist.
    (p < q <= r)
    local i, j, k, xp, xr, yi, yj, ix, jx
    if r - p = 1 then
    set xp to my xx's item p
    set xr to my xx's item r
    if my cmp(xp, xr) then
    set my xx's item p to xr
    set my xx's item r to xp
    end if
    return -- exit
    else
    if p < q - 1 then merge(p, (p + q) div 2, q - 1)
    merge(q, (q + r + 1) div 2, r)
    end if
    At this point, sublits xx[p, q-1] and xx[q, r] have been already sorted (p < q <= r)
    if my cmp(my xx's item (q - 1), my xx's item q) then
    else -- xx[p, q-1] & xx[q, r] are already sorted
    return
    end if
    set yy to my xx's items p thru r -- working copy for comparison
    set ix to q - p
    set jx to r - p + 1
    set i to 1
    set j to q - p + 1
    set k to p
    set yi to my yy's item i
    set yj to my yy's item j
    repeat
    if my cmp(yi, yj) then
    set my xx's item k to yj
    set j to j + 1
    set k to k + 1
    if j > jx then
    set my xx's item k to yi
    set i to i + 1
    set k to k + 1
    repeat until k > r
    set my xx's item k to my yy's item i
    set i to i + 1
    set k to k + 1
    end repeat
    return
    end if
    set yj to my yy's item j
    else
    set my xx's item k to yi
    set i to i + 1
    set k to k + 1
    if i > ix then
    set my xx's item k to yj
    set j to j + 1
    set k to k + 1
    repeat until k > r
    set my xx's item k to my yy's item j
    set j to j + 1
    set k to k + 1
    end repeat
    return
    end if
    set yi to my yy's item i
    end if
    end repeat
    end merge
    on cmp(x, y)
    (* primary comparator *)
    return x > y
    end cmp
    local d, i, j
    if xxl ≤ 1 then return
    if cmp_ = {} then set my cmp to cmp -- comparator fallback
    my merge(1, (xxl + 1) div 2, xxl)
    end script
    tell o to run
    end msort
    on uniq(eq_, aa, {dup:dup}) -- v0.21
    handler eq_ : comparator eq_(x, y) that returns true iff x and y are considered equal
    list aa : pre-sorted list
    (precisely, a list organized such that any duplicate items are adjacent to each other)
    boolean _dup : option whether return unique items or duplicate items
    return duplicate if true, unique otherwise.
    script o
    property parent : {} -- limit closure to minimum
    property xx : aa
    property yy : {}
    property eq : eq_
    on eq(x, y)
    (* primitive comparator *)
    x = y
    end eq
    if eq_ = {} then set my eq to my eq -- comparator fallback
    local t, x, _on
    if (count my xx) < 2 then return my xx's contents
    if _dup then
    set _on to false
    set t to my xx's item 1
    repeat with i from 2 to count my xx
    set x to my xx's item i
    if eq(x, t) then
    set end of my yy to t
    set _on to true
    else if _on then
    set end of my yy to t
    set _on to false
    end if
    set t to x
    end repeat
    if _on then set end of my yy to x
    return my yy's contents -- return duplicate elements
    else
    set t to my xx's item 1
    set end of my yy to t
    repeat with i from 2 to count my xx
    set x to my xx's item i
    if eq(x, t) then
    else
    set end of my yy to x
    set t to x
    end if
    end repeat
    return my yy's contents -- return uinque elements
    end if
    end script
    tell o to run
    end uniq
    --END OF SCRIPT2
    In order to apply it to your current Address Book problem, replace the main() handler with something like the following one.
    --SCRIPT2a (part)
    on main()
    script o
    -- input data
    property xx : {} -- list of parent; given later
    property yy : {} -- list of children per parent; given later
    -- work list
    property pp : {} -- list of children tagged by parent; i.e, lits of {child, parent}
    property qq : {}
    property rr : {}
    -- (0) get input data from AB
    tell application "Address Book"
    tell people
    set xx to its id
    set yy to its every email's value
    end tell
    end tell
    -- (1) build list of children tagged by parent *)
    (* omitted (same as the previous) *)
    -- (2) sort tagged list by child as key
    (* omitted (same as the previous) *)
    -- (3) retrieve parents with duplicate child
    (* omitted (same as the previous) *)
    -- (4) group the retrieved people in AB
    tell application "Address Book"
    repeat with r in my rr
    add person id r to group "duplicate email"
    end repeat
    end tell
    end script
    tell o to run
    end main
    --END OF SCRIPT2a
    Good luck,
    Hiroto
    Message was edited by: Hiroto

  • Lost address book, found file named AddressBook.data.previous

    My address book is gone. I found AddressBook.data.previous in Application Support under my account, but I can't open it and can't drag it to the Application. Any help? Is this my missing data?
    Best to all.

    With the Address Book application quit and using the Finder go to Home > Library > Application Support > AddressBook > AddressBook.data.previous.
    If there is an Address Book.data file, move this to the Desktop. Change the name of AddressBook.data.previoius to AddressBook.data
    Say a quick prayer of cross your fingers and launch Address Book.
    If your contacts are not available, now is the time to start maintaining a backup or if you do, start including Address Book data with your backup which is quite easy.
    As the menu bar, go to File and select Back Up Address Book. The default name for the backup file is Address Book - (and the date). A very easy process.
    If you need to recover all contacts from this backup, at the menu bar go to File and select Revert to Address Book Backup selecting the backup file.
    Before making a large number changes/edits, deletions or additions to existing data, update your backup file immediately beforehand.

  • Transferring files from Address Book to Outlook for Mac 2011

    I know that this topic has been addressed, but I have a strange problem with what should be a straightforward process.
    Whenever I highlight all the entries in Address Book and drag them to an empty folder on my desktop, Address Book creates a single file titled, "vCards.vcf." This file is quite large, which leads me to suspect that it somehow contains all the names in my Address Book, but nothing I have tried - or read - has given me the slightest clue how to use this file to move the names over to Outlook. Likewise, nothing I have tried has been successful.
    In the past, whenever I highlighted all the names in Address Book and dragged them to a folder on my desktop, a vCard for each name appeared in the folder, so this development has really surprised me.
    Any idea as to what I am doing wrong?

    The single file does indeed contain all of the vCards in one file.
    I don't know about Outlook '11, but all the Windows versions of Outlook cannot handle a multi-contact vCard. I would imagine Outlook '11 to be the same.
    It's been creating multiple vCards for a while (perhaps just since Snow Leopard, but I can't remember).
    Entourage has been able to sync with the Address Book for quite some time. Try looking in the Outlook prefs for that option.

  • Removing the entire Address Book

    For business and personal reasons (which I am not asking you to critique or improve upon) I have 2 separate Address Books that are swap out every now and again and backed up to separate Archives.
    Like this...
    - Add a contact to Address Book
    - Export... Archive Address Book
    - Delete the ~/Library/Application Support/Address Book folder
    - Quit Address Book
    - Launch Address Book (it should be empty again)
    - Import other Address Book
    This no longer works in 10.5 for 2 reasons:-
    - Addresses added through Mail do not appear until you search for them
    - I cannot delete the 'AddressBook-v22.abcddb' file from Trash
    (Perhaps these are related.)
    Basically, what should be consistent Mac OS X behaviour of deleting prefs to start again no longer works.
    What gives Apple? So many bugs in this version that it stinks. Rock on 10.5.2, 10.5.3 and 10.5.4....

    I assume you did that using Tiger.
    If you want to continue using your Tiger addressbook data file in Leopard then do this:
    create a new folder and drag in your Tiger addressbook data file into the new folder. Then add .abbu to the new folders name, of course at the end of.... Now use import in Leopards mail and continue with your past practice.

  • Address Book won't sync with contacts on mobile.me anymore

    I have a iMac 5,1 with MacOSX 10.6.4, mobile.me and an iPhone (4.0.2). For many, many years I have had Address Book which quite happily was in sync with the more recently acquired Contacts in Mobile.me. But now, my Address Book isn't syncing with Contacts. And the Contacts on my mobile phone syncs with the Contacts in mobile.me rather than with Address Book. I've tried all sorts of combinations of syncing to no avail. Can anyone please tell me how to ensure that Address Book syncs with Contacts in mobile.me and I would want Address Book to overwrite Contacts. The huge ongoing number of duplicates is another problem but there are many threads I can see that will help me solve that problem.
    Thanks

    I am having this problem, too. Gmail is my mothership, all the contacts and groups are hosted there, I just want to pull it down to my iMac and my MacBook.
    The process seems to work fine on the iMac, but I sync an iPod to that Mac almost every day. I do not sync a device to the MacBook, and it does not get Address Book updates. I feel strongly that the mobile device plays a role in the sync. I will try to sync an iPod to the MacBook, and see what happens. This is a valid test, but I am not willing to erase my iPod every other day just to keep my Address Book up to date on my laptop. This should work better.
    I wish there was a tool for contacts like Calaboration. Calaboration makes my iCal sync both ways to Google, and works breath-takingly well.

  • How to restore Address Book to the stage before running it for the 1st time

    Does anyone know how to do this? Couldn't delete some groups created automatically by Address Book, so thinking of restoring it to the initial stage.

    Which Groups are you trying to delete?
    Some or all except the primary "All" Group?
    Any error message provided when trying to do so?
    To restore the Address Book to the initial stage, do the following:
    With the Address Book application quit and using the Finder, go to Home > Library > Application Support > AddressBook.
    Move the AddressBook folder to the Desktop.
    Using the Finder, go to Home > Library > Preferences > com.apple.AddressBook.plist. Move the com.apple.AddressBook.plist file to the Desktop.
    Launch Address Book and it should be like launching it for the first time.
    I like to move all assocated files to the Desktop first so in case something goes wrong and you want to restore things as they were, you can easily do so.

  • Sync iPhone contacts to Address Book

    Can anyone tell me how to take the contacts from my iPhone and store them in my address book. I never typed my contacts in my address book, and instead of syncing Address Book to iPhone.....I want to do the reverse!
    Also, is my contacts already stored on my computer under the backup of my iPhone? If I was to purchase another iPhone, would I just load my contacts that way.....from the backup??
    Thanks!

    The Revert to Address Book Backup feature opens a backup file created by the Address Book backup feature only.
    I'm not sure if any of these files can be used to restore the data but I've got something for you to try.
    Why do the the contacts get erased from the iPhone if the computer's address book is empty? Is this a feature or a bug? Seems like a bug.
    I don't believe this is a bug - kind of like which was last changed prior to the sync process - in this case if was your Address Book database on your Mac. If there had been at least one contact available on the Address Book on your Mac, I don't believe this would have occurred but since it was empty and the last changed all contacts were lost on the iPhone.
    With the Address Book application quit on your Mac, move the recovered AddressBook.data.previous file from the backup drive to the Desktop. Change the name of this file to AddressBook.data or remove .previous from the file name.
    Using the Finder, go to Home > Library > Application Support > AddressBook. Move the AddressBook.data file from the Desktop within the AddressBook folder. This will replace the existing AddressBook.data file which is empty.
    Cross your finger and then launch the Address Book application to see if most or all of your Address Book contacts were restored.

Maybe you are looking for

  • OBIA 7963 - HR Analytics - Customization Question

    **Issue Description:** : OOTB Headcount calculations should exclude group of people who are called as non executive directors (NED). There are no indicators/ Flag in the source system to identify who is NED in a particular point in time. There are so

  • ADF Database lock and Refresh

    I have two issues regarding ADF. Database lock : The problem : In most test-cases the database lock functionality is working correctly in my app. We have two users working on the same dataset trying to store at the same time, one user get to store, a

  • Cannot update c5 ovi maps to version 3.4

    I can see the update on the C5. It shows 8102 kB. When I select it and choose start update (translated from finnish UI) the update runs, but the result is a failed update. The phone gives me an option to view the update history, where I can see an en

  • I bought a DVD movie and want to put it on my Pearl and Curve

    I have a 1 GB media card on my Pearl and want to put a movie onto it.  I also have a curve with a 4 GB media card and also want to put a movie onto it.  The movie is on a DVD and I have no idea what to do.

  • Can we have Approval Process at Opporunity Level?-

    Hi, Can we have Approval Process at Opportunity level instead of at Quote Level?If so,Please help me on this. Thanks in advance. Regards Raju