[TxMt] Trouble with "open all" .txt files with TextMate

Allan Odgaard allan at macromates.com
Sat Dec 11 05:21:49 UTC 2004

On Dec 10, 2004, at 23:01, Simon Dorfman wrote:

> [ Finder ] I get this error: "The operation could not be completed. An 
> unexpected error occurred (error code -10660)."  If TextMate is 
> already open, a double click on the file in the Finder opens fine.  
> [...] I think it may have been caused by renaming the beta versions of 
> TextMate to names like "TextMate1.01b3".  Maybe the Finder got 
> confused about which app was THE TextMate to open with.  I now only 
> have the newest 1.02 version in the Apps folder.

Try to delete the LS cache (requires admin privileges):

90% of the time this seems to be what Finder uses to locate a program 
(and it does in my experience easily get “corrupted” if the same 
application shows up at different places or with different names).

After deleting it you should restart you machine, then navigate to the 
folder containing TextMate and start it (using the Finder).

There is also the following file:

This contain file type -> application mapping, I do occasionally delete 
mine when I think something is wrong (also best to restart after doing 

More information about the textmate mailing list