[TxMt] TextMate selectively refuses to open files.

Josh DiMauro josh at metacarpal.net
Sun Mar 19 01:55:58 UTC 2006


On Mar 18, 2006, at 8:04 PM, Allan Odgaard wrote:

> On 18/3/2006, at 20:55, Josh DiMauro wrote:
>
>> [...] You get a blank tab. Clicking on that tab _does_ display the  
>> file:
>
> I think what happens here is that an exception is thrown somewhere  
> in the “load/setup file” phase, which is causing the strange behavior.
>
> If you open Console.app you will be able to see if such exception  
> was thrown and what it is named (please quote it here).

Yup. When opening a *.php file or trying to edit from Safari, I get:

2006-03-18 20:42:08.382 TextMate[14497] *** -[NSCFDictionary  
setObject:forKey:]: attempt to insert nil value

> If the problem is an exception, my guess would be that something in  
> the preferences is corrupt, and causing it. A quick test would be  
> to rename:
>
>    ~/Library/Preferences/com.macromates.textmate.plist

Renaming the pref file does fix the problem. Of course, there's  
redoing my prefs... oh, well. :)

>
> If this is the problem, please send me the old file (off list, as  
> it contains your license information) so I can further diagnose it.

Sent. Thanks. :)

-- 
Josh DiMauro
josh at metacarpal.net
http://blog.metacarpal.net





More information about the textmate mailing list