CantPaste

Troubleshooting.CantPaste History

Hide minor edits - Show changes to output

May 02, 2008, at 19:12 UTC by Allan Odgaard - Remove (:markdown:)
Deleted lines 0-1:
(:markdown:)
Deleted lines 28-30:


(:markdownend:)
December 21, 2007, at 18:35 UTC by Allan Odgaard -
Changed lines 22-32 from:
to:
*Answer:* `pbs` is a demon process which talks to running applications by means of interprocess communication. This demon is used to interchange clipboard data between applications, that is, TextMate tells `pbs` that is has clipboard data, or it asks `pbs` for what is currently on the clipboard.

It is the link between this (`pbs`) demon process and some random application (TextMate in the above) which “goes dead”, so effectively TextMate is locked out of clipboard sharing.

Relaunching TextMate is normally not enough, since `pbs` will not see the new instance (it probably thinks it is still talking to the old instance), but relaunching `pbs` tend to work because then all links are recreated.

But really, you will have to talk to Apple to get the real details on how these things work, TextMate uses [NSPasteboard][] for all clipboard activity, which abstracts away these low-level details.

[NSPasteboard]: http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSPasteboard_Class/Reference/Reference.html

December 04, 2007, at 15:23 UTC by minor_editor -
Changed lines 20-22 from:
*Question:* Why then my other applications are not affected? I can still cut&paste properly to Terminal, Mail and others when TextMate stops working!

to:
*Question:* Why then are my other applications not affected? I can still cut&paste properly to Terminal, Mail and others when TextMate stops working! Seems very strange.

November 10, 2007, at 14:59 UTC by Sergio Ballestrero -
Added lines 20-22:
*Question:* Why then my other applications are not affected? I can still cut&paste properly to Terminal, Mail and others when TextMate stops working!

September 05, 2007, at 00:04 UTC by Allan Odgaard -
Changed lines 12-13 from:
(source: [the ronge blog](http://www.theronge.com/2006/05/13/pasteboard-server-hangup))
to:
(source: [the ronge blog](http://www.theronge.com/2006/05/13/pasteboard-server-hangup) and [Mac Geekery](http://www.macgeekery.com/tips/troubleshooting/cant_copy_and_paste))

- - - -

*Question:* Why does this only happen in TextMate?

*Answer:* It does not only happen in TextMate, but because copy/paste is such a frequent action in TextMate, it is over-represented among “affected applications”.
July 07, 2007, at 10:46 UTC by Allan Odgaard -
Added lines 10-11:
After having killed `pbs` you need to relaunch affected applications. If the problem persists, re-login to your account or reboot.
July 13, 2006, at 20:16 UTC by Allan Odgaard -
Added lines 1-12:
(:markdown:)

*Problem:* I can’t paste text from other applications into TextMate vice versa.

*Solution:* This is a system bug and can be solved by restarting the system pasteboard server:

killall pbs
nohup /System/Library/CoreServices/pbs &

(source: [the ronge blog](http://www.theronge.com/2006/05/13/pasteboard-server-hangup))

(:markdownend:)