ichi.co.uk

Tag Results

3 posts tagged mac

OS X Contacts app error and unable to restore .abbu backup

I kept getting an error popping up in my Contacts.app saying:

"The operation could not be completed."

"No other information is available about the problem."

I figured I’d try to remove all my contacts and reimport them, so I exported an .abbu file of all of them and then delete them all. I then turned off iCloud, before reimport them, thinking if I turned it on again after doing so it’d re-sync them up to iCloud. What happened however was that it re-enabled the iCloud account straight after reimporting the .abbu file and then deleted all the local contacts straight away as it synced with my empty iCloud contacts. The solution was this..

  • Firstly remove your network cable or turn off your wifi to disconnect from the internet.
  • Import the .abbu file to restore all your contacts, which will no longer disappear again as it can’t connect to iCloud.
  • Now select all your contacts (select one and then press cmd+A) and drag them out to your desktop, which will create one .vcf file with all your contacts in.
  • Reconnect to the internet and your contacts should disappear again as it re-syncs with iCloud.
  • Next, just drag the .vcf file from your desktop back into the Contacts.app and it will reimport them all and then sync them up to iCloud. 
  • All your contacts on your iPhone, iPad, other Macs that are synced with iCloud should now have all your contacts back

Hope that helps someone else.

OS X Mountain Lion

I upgraded to Mountain Lion yesterday, as I like to torture myself a little from time to time and see what an OS upgrade will break this time. I’ve only two things that didn’t work, Mailplane and Parallels. Mailplane needed to be upgraded to either version 2.x preview or to the Mailplane 3 beta.

Parallels also had an upgrade with support for Mountain Lion and installing that got it working.

I have two 24” monitors on my Mac and I run Parallels full screen on my 2nd monitor. On the new version with OS X Mountain Lion, when I click inside the VM, apps on my main display start flickering like crazy. There is a forum post on it here, but basically the fix for now is to disable 3d acceleration on your VM.

Throttling internet bandwidth in OSX

This is useful for testing the effect of slow connections on mobile apps in the development emulators. 

It uses IPFirewall rules to limit connections from your computer to the web (on TCP port 80) to 15KB per second (or any number you choose). Fire up the terminal and enter…

sudo ipfw pipe 1 config bw 15KByte/s
sudo ipfw add 1 pipe 1 src-port 80

Just make sure you remember to remove the rule when you are done with it…

sudo ipfw delete 1