aria2p icon indicating copy to clipboard operation
aria2p copied to clipboard

aria2p not detecting macOS clipboard contents

Open windowswithoutborders opened this issue 4 years ago • 1 comments

Describe the bug when using the add downloads from clipboard feature, aria2p does not display the contents of the macOS clipboard

To Reproduce copy anything. press a to see the contents.

Expected behavior contents of clipboard are visible

System (please complete the following information):

  • aria2p version: 0.10.4 (installed through pipx with pyperclip injected just in case)
  • Python version: 3.9.1
  • OS: macOS 11.2.1

Additional context For what it's worth, macOS uses the pbcopy and pbpaste commands for working with the clipboard on the command line. Also, currently adding downloads from a text file witharia2p add <text_file.txt> is a perfectly fine workaround.

Example:

> echo 'this is a test' | pbcopy
> pbpaste
this is a test

 ~
>

windowswithoutborders avatar Feb 18 '21 02:02 windowswithoutborders

Yeah if I remember correctly I was never able to make the clipboard Python package work correctly in CI. I'll take a look at this.

pawamoy avatar Feb 18 '21 11:02 pawamoy