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

Open
opened 2019-01-17 15:54:50 +01:00 by kageru · 0 comments
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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kageru/pyshare#1
No description provided.