[TxMt] Re: insert template not working

Ronald Wampler rdwampler at gmail.com
Tue Jul 12 20:16:42 UTC 2016


On Tue, Jul 12, 2016 at 03:34:09PM -0400, Kyle Johnson wrote:
> Indeed, I get the following error:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> 	<key>returnCode</key>
> 	<integer>-43</integer>
> </dict>
> </plist>
> tm_dialog (async_close): Window '(null)' doesn't exist
> 
> 

That's the error I expected. Did you make any changes to Templates.nib
or save it with a recent version of Xcode?

The API that we used to previously load nibs was deprecated and the new
API only accepts compiled nibs/xib. So either it's in a different .nib
package format than the one presently in the Latex.tmbundle repo or it's
actually a .xib file.

To resolve the issue you'll need to compile it using the command

ibtool --compile Template.nib.bin Template.nib

followed by,

rm Template.nib; mv Template.nib.bin Template.nib

-Ron






More information about the textmate mailing list