pystardust / ytfzf

A posix script to find and watch youtube videos from the terminal. (Without API)
GNU General Public License v3.0
3.77k stars 345 forks source link

[BUG]: I can't run ytfzf and get Error #593

Open KevinPalowa opened 1 year ago

KevinPalowa commented 1 year ago

Describe the bug

To Reproduce

Expected behavior

Screenshots

image

Information

Additional context

I just installed ytfzf and i got this error, how to fix this?

Euro20179 commented 1 year ago

Do you have a config file (~/.config/ytfzf/conf.sh), if so, what's in it?

sarmong commented 1 year ago

I have the same problem on Arch. There was no config file, I added it, but nothing changed.

Euro20179 commented 1 year ago

How did you guys install ytfzf?

I tried with pacman -S ytfzf, and paru -S ytfzf-git, and I also tried removing my config, and it all worked.

sarmong commented 1 year ago

@Euro20179 I installed it on another fresh machine from pacman and it worked.

However, on my machine I tried both pacman and git version with paru and also tried building it myself. Get the same error.

How to debug it?

Euro20179 commented 1 year ago

I cant reproduce it so im not exactly sure where to begin debugging it. It looks like a jq error somewhere but im not sure where, and im not sure why. Maybe try using --refresh-inv-instances, because it looks like no invidious instance is being used. other than that im not sure.

sarmong commented 1 year ago

Almost awkwardly simple solution. But it worked! Thanks you.

aramacs commented 1 year ago

I cant reproduce it so im not exactly sure where to begin debugging it. It looks like a jq error somewhere but im not sure where, and im not sure why. Maybe try using --refresh-inv-instances, because it looks like no invidious instance is being used. other than that im not sure.

I face the same problem with Arch and this solved it. Thanks man