image
image
Ticket Options
Question Details
TICKET ARCHIVE -> Address Book Hangs From Data
DWizz - Oct 5, 2005 - 5:28 pm
image
image
My address book.app hangs just a few secods after starting the program. This problem seems to appear as soon as I import my address file. Did the obvious: repaired permissions, drivewarred, reinstalled Tiger..
This is what Console says during three attempts in starting, force quitting and restarting Address Book:
2005-10-05 22:51:20.757 Address Book[1140] *** -[NSCFDictionary setObject:forKey:]: attempt to insert nil key
2005-10-05 22:52:28.481 Address Book[1142] -[ABPerson vCardRepresentation]: *** -[NSCFDictionary setObject:forKey:]: attempt to insert nil key
2005-10-05 22:53:21.949 Address Book[1148] ABMetaData workloop caught: *** -[NSCFDictionary setObject:forKey:]: attempt to insert nil key

Safari hangs quite often when I try to fill in a form, iSync fails, iCal hangs quite often as well.
axe - Oct 6, 2005 - 2:55 am
image
image
Dwizzy
ity sounds like some gargage might have gotten into your file.
I suggest you export each group to vcards individually and then delete them all.
Start up and see if there is any delay. If not import each group, quit and start the appl again. You might be able to isolate the offending vcard.
Ciao
Mario
DWizz - Oct 6, 2005 - 3:06 am
image
image
Thank you for your response, Mario.
As the application hangs after just a few secconds (with virtualy every action I take) I find myself unable to take any action, such as exporting.
axe - Oct 6, 2005 - 3:29 am
image
image
Uhmmm
The only way then, according to me is to work on the address file directly.
If you control click on the .abbu file you are able to choose show contents. In there you'll find AddressBook.data. Drag that onto TextEdit and you can see all your addresses in there.
From there on it is a find and replace to eliminate all the garbage. Long but it might save you to have to retype them all in.
It would be good if you could find an older version of the .abbu file and start with an incomplete set.
If you are trying to import vCards instead....
I just dragged one onto TextEdit and it opened it for me
DWizz - Oct 6, 2005 - 3:38 am
image
image
The .abbu file is just a directory like the one in ~/library/Application Support/Address Book.
I tried opening the AddressBook.data file (in Smultron, actually) but the format of this database file is quite unclear to me, not encoded like the vCard format.
In other words: I'm not sure what is garbage and what not
axe - Oct 6, 2005 - 4:47 pm
image
image
What I meant is find and replace everything that is not Data ie name address etc. Then save what's left to a tab delimited text file.
The address book appl can import the following formats:
vCard
LDIF format
tab-delimited file
comma-separated values (CSV) file

As I said a lot of work but less than having to retype it all
Good luck!
DWizz - Oct 7, 2005 - 8:10 am
image
image
Perhaps I haven't made myself clear. Have you checked a AddressBook.data file?
The information in it is completely garbled and unreadable. I for sure can't find out for instance what name goes with what number etc.
axe - Oct 7, 2005 - 5:48 pm
image
image
I found that in the contents of the .abbu file there is AddressBook.data
In there there is a lot of garbage but also all the information you had in the original.
If you do not know how to match it and put it back together into a tab delimited text file that you can reimport then I agree you cannot succesfully recreate your database of addresses.
Maybe you could email apple and ask them what the format of the AddressBook.data file is. I am sorry I cannot help more.
DWizz - Oct 7, 2005 - 6:42 pm
image
image
Thanks for your effort anyhow. One last question though: is there a way to e-mail apple?
axe - Oct 7, 2005 - 7:32 pm
image
image
Dwizzy
http://developer.apple.com/contact/
Also
http://developer.apple.com/cgi-bin/s...ult_collection
has a lot in it that might interest you

IF THIS IS YOUR QUESTION AND YOU WISH TO RESPOND, LOGIN HERE FIRST.


Search Engine Friendly URLs by vBSEO 3.1.0