Lion

Troubleshooting.Lion History

Hide minor edits - Show changes to markup

October 16, 2011, at 08:58 UTC by Infininight - Spacing
Changed line 17 from:
  • Workaround**: Enter the following in Terminal with TextMate not running to always show old-style scrollbars in TextMate only:
to:
    **Workaround**: Enter the following in Terminal with TextMate not running to always show old-style scrollbars in TextMate only:
October 16, 2011, at 08:57 UTC by Infininight - Add workaround for scrollbar.
Added lines 16-19:
  • Workaround**: Enter the following in Terminal with TextMate not running to always show old-style scrollbars in TextMate only:
    `defaults write com.macromates.textmate AppleShowScrollBars Always`
July 28, 2011, at 01:09 UTC by Infininight - Correct typo.
Changed line 9 from:
    Make sure this is entered a single line.
to:
    Make sure this is entered as a single line.
July 28, 2011, at 01:08 UTC by Infininight - Add workaround to #1.
Changed lines 4-10 from:
to:
    **Workaround**: Enter the following in Terminal with TextMate not running:

    `defaults write com.macromates.textmate NSQuitAlwaysKeepsWindows -bool NO`

    Make sure this is entered a single line.
Deleted lines 46-47:
  • Note**: Please do not add to this list without **first** confirming the issue with us **first**.*
July 27, 2011, at 06:39 UTC by Infininight - Cleanup.
Deleted lines 40-43:
  1. TextMate upgrade

Lion apparently breaks TM's ability to upgrade itself to 2.0. Come to think of it, 2.0 doesn't seem to be available on the website either.

July 27, 2011, at 05:29 UTC by CodeOfficer - Tiger, Leopard, Snow Leopard, past and gone and you can't get your text editor out the door?
Added lines 41-44:
  1. TextMate upgrade

Lion apparently breaks TM's ability to upgrade itself to 2.0. Come to think of it, 2.0 doesn't seem to be available on the website either.

July 25, 2011, at 18:56 UTC by Marius Kempe - "it's" -> "its"
Changed line 27 from:

Starting with Snow Leopard Edit in TextMate only works in applications launched in 32-bit mode. You can get more info on [it's wiki page](/Troubleshooting/EditInTextMate).

to:

Starting with Snow Leopard Edit in TextMate only works in applications launched in 32-bit mode. You can get more info on [its wiki page](/Troubleshooting/EditInTextMate).

July 25, 2011, at 07:19 UTC by Infininight - Remove cheeky joke.
Deleted lines 40-43:
  1. Version Number

TextMate still reports its version number as 1.x.xx after two full OS iterations and more than four years of waiting. The recommended solution for this is to switch to either emacs or vim.

July 24, 2011, at 23:07 UTC by pood ed poob - Derp derp.
Changed line 44 from:

TextMate still reports its version number as 1.x.xx after two full OS iterations and four years of waiting. The recommended solution for this is to switch to either emacs or vim.

to:

TextMate still reports its version number as 1.x.xx after two full OS iterations and more than four years of waiting. The recommended solution for this is to switch to either emacs or vim.

July 24, 2011, at 23:06 UTC by pood ed poob - Bip bap.
Changed line 44 from:

TextMate still reports its version number as 1.x.xx after two full OS iterations and four years of waiting.

to:

TextMate still reports its version number as 1.x.xx after two full OS iterations and four years of waiting. The recommended solution for this is to switch to either emacs or vim.

July 24, 2011, at 23:05 UTC by pood ed poob - Boop de doop.
Added lines 41-44:
  1. Version Number

TextMate still reports its version number as 1.x.xx after two full OS iterations and four years of waiting.

July 22, 2011, at 17:24 UTC by Lucas - typo correction
Changed line 21 from:

If you would like it visible perminently you can enter the following line in Terminal:

to:

If you would like it visible permanently you can enter the following line in Terminal:

July 22, 2011, at 07:40 UTC by initcursor -
Changed lines 19-21 from:

When you upgrade the Library folder in your home directory will be hidden. If you would like to access it you can open it from "Go → Go to Folder…" in Finder and entering the following:

	~/Library/
to:

When you upgrade the Library folder in your home directory will be hidden. If you would like to access it you can open it from the Go menu in Finder while holding down the Option key. Then the Library folder will be available in the menu.

July 21, 2011, at 23:01 UTC by First -
Changed line 44 from:
  • Note**: Please do not add to this list without first confirming the issue with us first.*
to:
  • Note**: Please do not add to this list without **first** confirming the issue with us **first**.*
July 21, 2011, at 18:49 UTC by Infininight - Restoring the proper revision.
Added lines 43-44:
  • Note**: Please do not add to this list without first confirming the issue with us first.*
July 21, 2011, at 18:48 UTC by Infininight - Reverting unconfirmed report.
Deleted lines 42-90:
  1. Opening a directory through terminal throws an uncaught exception
  • If you have TextMate open, but no open windows and try to open a directory using the command line, you will see an unhanded exception spew in the terminal.*

While the spew does not look pretty, showing of the window is the only thing that was prevented. Simply either click on the TextMate icon in the Dock or Shift-Tab to set focus on TextMate. This will cause the window to appear.

Example of Spew:

	2011-07-21 16:05:50.944 mate[3573:707] An uncaught exception was raised
	2011-07-21 16:05:50.945 mate[3573:707] [NOTE: this exception originated in the server.]
	*** -[__NSArrayI objectAtIndex:]: index 0 beyond bounds for empty array
	2011-07-21 16:05:50.946 mate[3573:707] (
		0   CoreFoundation                      0x91a1be77 __raiseError + 231
		1   libobjc.A.dylib                     0x92e07149 objc_exception_throw + 155
		2   Foundation                          0x96ac6c5d -[NSConnection sendInvocation:internal:] + 4762
		3   Foundation                          0x96ac57a0 -[NSDistantObject forwardInvocation:] + 270
		4   CoreFoundation                      0x9196ea5e ___forwarding___ + 894
		5   CoreFoundation                      0x9196e672 _CF_forwarding_prep_0 + 50
		6   mate                                0x000029df -[OakLaunchHelper openFiles] + 467
		7   mate                                0x000037f5 main + 2405
		8   mate                                0x00002046 _start + 216
		9   mate                                0x00001f6d start + 41
	)
	2011-07-21 16:05:50.946 mate[3573:707] *** Terminating app due to uncaught exception 'NSRangeException', reason: '[NOTE: this exception originated in the server.]
	*** -[__NSArrayI objectAtIndex:]: index 0 beyond bounds for empty array'
	*** Call stack at first throw:
	(
		0   CoreFoundation                      0x91a1be77 __raiseError + 231
		1   libobjc.A.dylib                     0x92e07149 objc_exception_throw + 155
		2   Foundation                          0x96ac6c5d -[NSConnection sendInvocation:internal:] + 4762
		3   Foundation                          0x96ac57a0 -[NSDistantObject forwardInvocation:] + 270
		4   CoreFoundation                      0x9196ea5e ___forwarding___ + 894
		5   CoreFoundation                      0x9196e672 _CF_forwarding_prep_0 + 50
		6   mate                                0x000029df -[OakLaunchHelper openFiles] + 467
		7   mate                                0x000037f5 main + 2405
		8   mate                                0x00002046 _start + 216
		9   mate                                0x00001f6d start + 41
	)
	Trace/BPT trap: 5
  • Note**: Please do not add to this list without first confirming the issue with us first.*
July 21, 2011, at 13:13 UTC by Michael - Opening a directory through terminal throws an uncaught exception
Added lines 43-89:
  1. Opening a directory through terminal throws an uncaught exception
  • If you have TextMate open, but no open windows and try to open a directory using the command line, you will see an unhanded exception spew in the terminal.*

While the spew does not look pretty, showing of the window is the only thing that was prevented. Simply either click on the TextMate icon in the Dock or Shift-Tab to set focus on TextMate. This will cause the window to appear.

Example of Spew:

	2011-07-21 16:05:50.944 mate[3573:707] An uncaught exception was raised
	2011-07-21 16:05:50.945 mate[3573:707] [NOTE: this exception originated in the server.]
	*** -[__NSArrayI objectAtIndex:]: index 0 beyond bounds for empty array
	2011-07-21 16:05:50.946 mate[3573:707] (
		0   CoreFoundation                      0x91a1be77 __raiseError + 231
		1   libobjc.A.dylib                     0x92e07149 objc_exception_throw + 155
		2   Foundation                          0x96ac6c5d -[NSConnection sendInvocation:internal:] + 4762
		3   Foundation                          0x96ac57a0 -[NSDistantObject forwardInvocation:] + 270
		4   CoreFoundation                      0x9196ea5e ___forwarding___ + 894
		5   CoreFoundation                      0x9196e672 _CF_forwarding_prep_0 + 50
		6   mate                                0x000029df -[OakLaunchHelper openFiles] + 467
		7   mate                                0x000037f5 main + 2405
		8   mate                                0x00002046 _start + 216
		9   mate                                0x00001f6d start + 41
	)
	2011-07-21 16:05:50.946 mate[3573:707] *** Terminating app due to uncaught exception 'NSRangeException', reason: '[NOTE: this exception originated in the server.]
	*** -[__NSArrayI objectAtIndex:]: index 0 beyond bounds for empty array'
	*** Call stack at first throw:
	(
		0   CoreFoundation                      0x91a1be77 __raiseError + 231
		1   libobjc.A.dylib                     0x92e07149 objc_exception_throw + 155
		2   Foundation                          0x96ac6c5d -[NSConnection sendInvocation:internal:] + 4762
		3   Foundation                          0x96ac57a0 -[NSDistantObject forwardInvocation:] + 270
		4   CoreFoundation                      0x9196ea5e ___forwarding___ + 894
		5   CoreFoundation                      0x9196e672 _CF_forwarding_prep_0 + 50
		6   mate                                0x000029df -[OakLaunchHelper openFiles] + 467
		7   mate                                0x000037f5 main + 2405
		8   mate                                0x00002046 _start + 216
		9   mate                                0x00001f6d start + 41
	)
	Trace/BPT trap: 5
July 20, 2011, at 15:21 UTC by Infininight - Note about additions to this list.
Added lines 43-44:
  • Note**: Please do not add to this list without first confirming the issue with us first.*
July 20, 2011, at 15:19 UTC by Infininight - Console warning note.
Added lines 10-11:

5. On launch will cause several warnings to be shown in Console.app, these do not affect usage in any way.

July 20, 2011, at 14:45 UTC by Infininight - Scrolling notes.
Added lines 8-9:

4. Scrolling: The scrollbar color can be hard to see when using the new auto-hide scrollbar type and a dark theme, also scrolling past the edge of a document only shows a white background before snapping back.

July 20, 2011, at 13:42 UTC by Infininight - Adding note about Edit in TextMate.
Added lines 22-25:
  1. Edit in TextMate

Starting with Snow Leopard Edit in TextMate only works in applications launched in 32-bit mode. You can get more info on [it's wiki page](/Troubleshooting/EditInTextMate).

July 20, 2011, at 13:06 UTC by Infininight - Initial edit.
Added lines 1-34:
  1. Compatibility Issues

1. Documents/projects are not reopened after a relaunch.

2. The new accented characters feature (triggered by holding down the applicable key for a moment) results in a second character being inserted. The old method continues to work.

3. ⌃⇥ (control-tab) does not function to switch between the sidebar and textview in a project window.

  1. Xcode 4 Related Issues

1. ⌃⎋ (control-esc) used to open the bundle menu has it's shortcut taken over by Instruments even while it is not running. This can be corrected by changing the key for "Toggle Front Document Trace" to something else in Instruments. (Screen Sharing will also take over this shortcut if enabled.)

  1. ~/Library Hidden by Default

When you upgrade the Library folder in your home directory will be hidden. If you would like to access it you can open it from "Go → Go to Folder…" in Finder and entering the following:

	~/Library/

If you would like it visible perminently you can enter the following line in Terminal:

	chflags nohidden ~/Library/
  1. Moving TextMate After a Clean Install
  • If you do the normal upgrade process this will not be needed, this is only if you upgrade by performing a clean install.*

TextMate keeps your preferences and bundles in two locations:

	/Users/«yourname»/Library/Preferences/com.macromates.textmate.plist
	/Users/«yourname»/Library/Application Support/TextMate/

Copying this file and directory over to your new install will transfer your bundle items and your preferences including your registration info.

If you have installed the `mate` terminal command you can reinstall it on the new machine by selecting 'Terminal Usage…' from the Help menu.