ytfzf icon indicating copy to clipboard operation
ytfzf copied to clipboard

[BUG]: Nothing is scrapped

Open riz-ahmed opened this issue 1 year ago • 8 comments

Describe the bug

apparently the program doesn't fetch for any query. I have build it directly from the source. When I request for a query such as ytfzf -t richard stallman, the prompt seems to be trasferred to a sub-process from which it never returns (i tried waiting upto 1 hour). After which, when I decided to CTRL-D the process, I receive the following message on the prompt

image

To Reproduce

Expected behavior

Screenshots

Information

  • OS: Mac OS 12.0.1 (Intel)
  • Terminal: tired both with iTerm2 as well as Alacritty
  • Ytfzf version: 2.5.4
  • Output of ls -l "$(which sh)" (if you're using fish: ls -l (which sh)): -rwxr-xr-x 1 root wheel 121008 Oct 18 2021 /bin/sh
  • (if is a thumbnail issue) run ytfzf --thumbnail-log=log.txt and post the file:

Additional context

riz-ahmed avatar Mar 08 '23 20:03 riz-ahmed

try doing ytfzf --rii <search>

Euro20179 avatar Mar 08 '23 20:03 Euro20179

image

it doesn't seem to go any far this time too. The prompt never returns to the main process unless i hit CTRL-C to just cancel it. Any other ideas? thanks!

riz-ahmed avatar Mar 09 '23 06:03 riz-ahmed

Sorry, I dont have other ideas

Euro20179 avatar Mar 09 '23 15:03 Euro20179

I guess I had the same issue once. Try to delete ~/.cache/ytfzf and see if it persists.

ghost avatar Mar 22 '23 17:03 ghost

thanks for the tip, doesn't seem to still work on Mac OS. It just works fine though on Linux

riz-ahmed avatar Mar 26 '23 13:03 riz-ahmed

thanks for the tip, doesn't seem to still work on Mac OS. It just works fine though on Linux

Oh interesting, do you have fzf installed on MacOS?

ghost avatar Mar 26 '23 14:03 ghost

yes, I have fzf installed which is working fine for various other console programs. Tired this both with Intel and M1 chips, just works on Linux

riz-ahmed avatar Mar 27 '23 03:03 riz-ahmed

Okay, interesting, then there might be something wrong with python itself or it working differently on MacOS. I'm out of ideas, what else could be the issue, sorry.

ghost avatar Mar 27 '23 04:03 ghost