pyshare -f throws an error when called via ssh (or generally without X) #1

Open
opened 5 years ago by kageru · 0 comments
kageru commented 5 years ago
Owner
  File "/home/kageru/bin/pyshare", line 197, in <module>
    upload_local_file(file)
  File "/home/kageru/bin/pyshare", line 56, in upload_local_file
    notify_user(url, path)
  File "/home/kageru/bin/pyshare", line 146, in notify_user
    pyperclip.copy(url)
  File "/usr/lib/python3.7/site-packages/pyperclip/__init__.py", line 612, in lazy_load_stub_copy
    return copy(text)
  File "/usr/lib/python3.7/site-packages/pyperclip/__init__.py", line 297, in __call__
    raise PyperclipException(EXCEPT_MSG)
pyperclip.PyperclipException: 
    Pyperclip could not find a copy/paste mechanism for your system.
    For more information, please visit https://pyperclip.readthedocs.io/en/latest/introduction.html#not-implemented-error 
```Traceback (most recent call last): File "/home/kageru/bin/pyshare", line 197, in <module> upload_local_file(file) File "/home/kageru/bin/pyshare", line 56, in upload_local_file notify_user(url, path) File "/home/kageru/bin/pyshare", line 146, in notify_user pyperclip.copy(url) File "/usr/lib/python3.7/site-packages/pyperclip/__init__.py", line 612, in lazy_load_stub_copy return copy(text) File "/usr/lib/python3.7/site-packages/pyperclip/__init__.py", line 297, in __call__ raise PyperclipException(EXCEPT_MSG) pyperclip.PyperclipException: Pyperclip could not find a copy/paste mechanism for your system. For more information, please visit https://pyperclip.readthedocs.io/en/latest/introduction.html#not-implemented-error ```
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: kageru/pyshare#1
Loading…
There is no content yet.