Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use os X clipboard on with qtconsole #958

Closed
janrito opened this issue Nov 1, 2011 · 4 comments
Closed

Can't use os X clipboard on with qtconsole #958

janrito opened this issue Nov 1, 2011 · 4 comments

Comments

@janrito
Copy link

janrito commented Nov 1, 2011

Standard Mac controls for clipboard ( cut, copy & paste ) don't work with qtconsole. This is the error I get in the terminal session from where qtconsole was started.

PasteBoard: Error creating pasteboard: com.apple.pasteboard.clipboard [-4960]
PasteBoard: Error creating pasteboard: com.apple.pasteboard.find [-4960]     
@minrk
Copy link
Member

minrk commented Nov 1, 2011

Interesting, this certainly isn't true for me (OSX 10.7.2, System Python 2.7.1, PySide/Qt binary packages from Nokia). I would guess that your Qt or PyQt was not built correctly. How did you install them?

@janrito
Copy link
Author

janrito commented Nov 1, 2011

mm interesting, I've got OSX 10.7.2, Python 2.7.2.
I just reinstalled my version of PyQT, which is 4.6.8 and compiled from source, without any errors, using homebrew.

I don't think PySide is a requirement, but I've installed anyways (version 1.0.7), from source, using homebrew.

@minrk
Copy link
Member

minrk commented Nov 1, 2011

No, PySide is not a requirement - it works with either PySide or PyQt. PySide is just a much quicker install, since it has a binary installer, and is the default choice when both are present.

I just installed PyQt (4.8.6) with homebrew, and the clipboard still works when I instruct IPython to use PyQt instead of PySide. So maybe it's something to do with your Python? How did you install your Python, and are you certain that homebrew built PyQt with yours, rather than the system one?

You might try finding a simple clipboard test app from some pyqt tutorial to isolate the issue.

@janrito
Copy link
Author

janrito commented Nov 2, 2011

Thanks for your help. By accident I discovered today that this only happens when I launch the qtconsole from a tmux session. I don't know why this is...

@janrito janrito closed this as completed Nov 2, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants