RaitaroH / adl

🍿 anime scraper/downloader + trackma wrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fzf throws "invalid preview window layout: down,5%" on Pop!_os

Justaus3r opened this issue · comments

Os:Pop!_os

Issue:
I am facing this issue while running adl on Pop!_Os ,when ever i do ./adl,i get :

invalid preview window layout: down,5%
Nothing was selected. Exiting. 

Thank you for using adl ✨! 
Exiting. 

Did you install all the dependencies?
Yes i did,infact i also installed all the optional dependencies.
Did you try to install adl on any other distro
No i didn't,but i think that this issue might might be Os specific.

Edit:

Workaround\Solution:

Below is the solution to the problem

Fix:

OK,so it only occurred to me now ,that maybe the version of fzf i installed from apt might be outdated and it seems i was right.the version of apt is outdated and doesn't have that --preview switch in it.i removed the version that i installed from apt and then reinstalled latest version using their install script and now all seems to be working fine.

link for fzf Github repo:https://github.com/junegunn/fzf/#Using-git
Linux Users should not install fzf via their package manager.you can git clone the repo and install it using their install script.

I think you should pin this issue ,so anyone who faces this issue would benefit from it.

Can you tell me what version you were using before?

Anyhow, I added to readme. Partially is my fault for not thinking about outdated fzf package.

Can you tell me what version you were using before?

Sorry for the late response ,it was 0.20.0.

Anyhow, I added to readme. Partially is my fault for not thinking about outdated fzf package.

Good,nah everyone does mistakes.software without bugs are not fun,xd