pystardust / ani-cli

A cli tool to browse and play anime
GNU General Public License v3.0
7.34k stars 530 forks source link

No results/errors on Windows 11 #1329

Closed xenostructure closed 1 month ago

xenostructure commented 2 months ago

Regardless of the arguments I try to input I will not get anything after "Search anime:"

I can type in what I want to look for, but nothing will ever come after it. I wanted to say this is only happening on Windows 11. I have one laptop running Mint LMDE 6, and another running Vanilla Arch as well as a Steam Deck. It's working find on those systems, but my desktop is running Windows 11 and I'm having this weird issue. At first I thought it was anti-virus, but I only have Windows Security installed and I toggled all the switches off and it made no difference.

Am I missing something so simple that I'm going to feel stupid, or is there actually an issue?

Thanks in advance.

sniper-47 commented 2 months ago

same thing here

ykhan21 commented 1 month ago

Run ani-cli -U to update the script. How do you "start" ani-cli? Are you running ani-cli in PowerShell? Can you try in it Git Bash? I've just tested ani-cli on Windows 11 in Git Bash and it works.

nullchilly commented 1 month ago

After updating from v4.6 to v4.8 I have to use sh ani-cli instead of just ani-cli in powershell

image

ykhan21 commented 1 month ago

ani-cli in pwsh actually calls ani-cli.cmd (~/scoop/shims/ani-cli.cmd) which may or may not start wsl.

sh ani-cli will start a git bash shell which will will pick up the sh file ani-cli (~/scoop/shims/ani-cli) (not .cmd)


From: Null Chilly @.> Sent: Friday, May 24, 2024 11:52:03 AM To: pystardust/ani-cli @.> Cc: ykhan21 @.>; Assign @.> Subject: Re: [pystardust/ani-cli] No results/errors on Windows 11 (Issue #1329)

After updating from v4.6 to v4.8 I have to use sh ani-cli instead of just ani-cli in powershell

image.png (view on web)https://github.com/pystardust/ani-cli/assets/56817415/09b52a34-d876-414f-813a-4e7a37ec44e2

— Reply to this email directly, view it on GitHubhttps://github.com/pystardust/ani-cli/issues/1329#issuecomment-2129986153, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMLWE74Y2M4LMGFRP3IWF2TZD5V3HAVCNFSM6AAAAABHEU6OBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRZHE4DMMJVGM. You are receiving this because you were assigned.Message ID: @.***>

xenostructure commented 1 month ago

Run ani-cli -U to update the script. How do you "start" ani-cli? Are you running ani-cli in PowerShell? Can you try in it Git Bash? I've just tested ani-cli on Windows 11 in Git Bash and it works.

Update was ran, and attempted to run ani-cli in powershell and git bash.

After updating from v4.6 to v4.8 I have to use sh ani-cli instead of just ani-cli in powershell

image

When I type "ani-cli" it gives me the "Search anime:" response. It's just that when I give it something to search, it never gives results. I even tried searching stuff that would be guaranteed results like Sailor Moon, Dragon Ball, Naruto. At one point I even left the computer running overnight to see if the results badly delayed.

ani-cli in pwsh actually calls ani-cli.cmd (~/scoop/shims/ani-cli.cmd) which may or may not start wsl. sh ani-cli will start a git bash shell which will will pick up the sh file ani-cli (~/scoop/shims/ani-cli) (not .cmd) ____ From: Null Chilly @.> Sent: Friday, May 24, 2024 11:52:03 AM To: pystardust/ani-cli @.> Cc: ykhan21 @.>; Assign @.> Subject: Re: [pystardust/ani-cli] No results/errors on Windows 11 (Issue #1329) After updating from v4.6 to v4.8 I have to use sh ani-cli instead of just ani-cli in powershell image.png (view on web)https://github.com/pystardust/ani-cli/assets/56817415/09b52a34-d876-414f-813a-4e7a37ec44e2 — Reply to this email directly, view it on GitHub<#1329 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMLWE74Y2M4LMGFRP3IWF2TZD5V3HAVCNFSM6AAAAABHEU6OBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRZHE4DMMJVGM. You are receiving this because you were assigned.Message ID: @.***>

This looks like it would have been the fix, but I wound up leaving Windows and going back to Linux where I had no problems with ani-cli and didn't have to worry about Micro$oft and their deletion of local accounts, and the recent announcement of of this creepy Recall/Copilot stuff.

71zenith commented 1 month ago

DO NOT USE powershell or gitbash. Use windows terminal preview

ykhan21 commented 1 month ago

@xenostructure, @sniper-47, @nullchilly, please see the updated Windows guide in the README. This should address both issues, the first with fzf hanging after "Search anime:", and the second with the WSL error: "No such file or directory". Raise a new issue should the need arise.