I’ve run into this problem twice in the last couple of days while downloading and installing new versions of Eclipse and trying out different packages for PHP editing (PDT and Aptana Studio). First time I googled around I couldn’t find a solution and so had to figure it out myself. Second time I thought that maybe I should make a note of my solution as other people might run into it as well.
The problem shows itself with the following error message:
An internal error occurred during: "Computing size".
Incompatible profile file name. Expected format is {timestamp}.profile but was ._1248736262197.profile.
This happens when trying to install a new plugin through the “Check for updates” or “Install New Software” dialog. The problem is because of the hidden ._* files which are created by OS X inside the Eclipse directory. The solution is pretty easy – open up a terminal and:
cd /path/to/your/eclipse/folder
find . -iname '._*' -exec rm -rf {} \;
WARNING – running commands like this on your computer can cause problems. I have run exactly the command above on my machine with no problem but if you manage to break your computer following the above instructions then I take no responsibility! That said, as long as you correctly cd into the Eclipse directory and type/ copy the command correctly then nothing should go wrong!
Hope that helps someone else who runs into the problem!
Showing posts with label Mac. Show all posts
Showing posts with label Mac. Show all posts
Saturday, October 17, 2009
Sunday, October 11, 2009
Friday, May 22, 2009
How to Replace __MyCompagnyName__ in new File templates in Xcode with a Command line
Write this command in a terminal:
defaults write com.apple.Xcode.PBXCustomTemplateMacroDefinitions ' { "ORGANIZATIONNAME" = "Put the Name here"; } '
defaults write com.apple.Xcode.PBXCustomTemplateMacroDefinitions ' { "ORGANIZATIONNAME" = "Put the Name here"; } '
Labels:
Mac,
Xcode Tips
Subscribe to:
Posts (Atom)