-
Notifications
You must be signed in to change notification settings - Fork 22
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Error: Pyperclip could not find a copy/paste mechanism for your system. #234
Comments
It happens for all text or line editors if I try to select something in the text input field or text edit. it crashed. How can I disable copy-paste and prevent this exception? |
Also, it happened for ttkDesigner if I tried to run it from ssh but it's unimportant. how can I disable copy-paste for line editing or text editing? |
Also, printing text on output after quitting ttk will help me. I want to show text to the user that the user should copy and it runs over ssh |
…lip-could-not-find-a-copypaste-mechanism-for-your-system FIX: #234 : Handled pyperclip exception
This could be achieved with a print after the main loop: from TermTk import TTk, TTkWindow, TTkButton
root = TTk()
TTkButton(parent=root, pos=(0,0), size=(40,5), text="Quit", border=True).clicked.connect(root.quit)
win = TTkWindow(parent=root, pos=(0,5), size=(30,10))
win.closed.connect(root.quit)
root.mainloop()
print("Test\nTest\nTest\nTest\nTest\n") |
Hi, when I ssh to a server then I want to try to run the script that include a text editor I get that error.
it's my script:
It works correctly on the local machine
but when I ssh from another machine to this machine and run the script. if I select text it crashes and shows this error:
The text was updated successfully, but these errors were encountered: