ani-cli icon indicating copy to clipboard operation
ani-cli copied to clipboard

"Episode is released, but no valid sources found " bug

Open Ji-johns opened this issue 6 months ago • 18 comments

Make sure you are on the latest version by running ani-cli -U

Metadata (please complete the following information) Version:4.14.0 OS: Fedora Linux 44 Shell: Bash Anime: Every anime

Describe the bug After selecting the certain episode , it just outputs that this "episode is released, but no valid sources!"

Steps To Reproduce

  1. Run `ani-cli "any_anime_name"
  2. Choose episode.

Expected behavior Should start the streaming of the selected episode

Image

Ji-johns avatar May 18 '26 05:05 Ji-johns

I found the solution to this problem.

Ji-johns avatar May 18 '26 07:05 Ji-johns

mark it as completed? @Ji-johns

souravgarg09 avatar May 18 '26 13:05 souravgarg09

I too get it. What to do

Yokeswaran4 avatar May 18 '26 17:05 Yokeswaran4

What is the solution to the problem

piganightis avatar May 18 '26 18:05 piganightis

hey guys i'm really new to github so pls help me out. i just ran into the same problem but how did you guys solve it?? and its fetching from hianime ryt???? and hianime went down ryt??

ADK-2005 avatar May 18 '26 18:05 ADK-2005

@Yokeswaran4 @piganightis @ADK-2005

git clone https://github.com/pystardust/ani-cli.git -b coolans_patches ani-cli-cool cd .\ani-cli-cool Copy-Item .\ani-cli (Join-Path (scoop prefix ani-cli) 'ani-cli') -Force cd .. Remove-Item -Recurse -Force .\ani-cli-cool

then the command from screenshot... image

Edit: run these commands

souravgarg09 avatar May 18 '26 20:05 souravgarg09

I found the solution to this problem.

i have not found the solution. i cloned the github to install. says it is up to date but still won't play anything. please help

AlexDrizzler avatar May 19 '26 01:05 AlexDrizzler

macOS / Unix workaround:

ANI_CLI_PATH="$(command -v ani-cli)"

cp "$ANI_CLI_PATH" ~/ani-cli.backup

git clone https://github.com/pystardust/ani-cli.git -b coolans_patches ani-cli-cool
cp ani-cli-cool/ani-cli "$ANI_CLI_PATH"
chmod +x "$ANI_CLI_PATH"
perl -pi -e 's/\r\n/\n/g' "$ANI_CLI_PATH"
rm -rf ani-cli-cool

ani-cli --version

This replaces the installed ani-cli script with the version from the coolans_patches branch.

Rollback:

cp ~/ani-cli.backup "$(command -v ani-cli)"
chmod +x "$(command -v ani-cli)"

ViaxCo avatar May 19 '26 01:05 ViaxCo

macOS / Unix workaround:

ANI_CLI_PATH="$(command -v ani-cli)"

cp "$ANI_CLI_PATH" ~/ani-cli.backup

git clone https://github.com/pystardust/ani-cli.git -b coolans_patches ani-cli-cool cp ani-cli-cool/ani-cli "$ANI_CLI_PATH" chmod +x "$ANI_CLI_PATH" perl -pi -e 's/\r\n/\n/g' "$ANI_CLI_PATH" rm -rf ani-cli-cool

ani-cli --version

This replaces the installed ani-cli script with the version from the coolans_patches branch.

Rollback:

cp ~/ani-cli.backup "$(command -v ani-cli)" chmod +x "$(command -v ani-cli)"

it cp cannot create regular file or temp name permission denied

ani-cli --version Cloning into 'ani-cli-cool'... remote: Enumerating objects: 2554, done. remote: Counting objects: 100% (622/622), done. remote: Compressing objects: 100% (62/62), done. remote: Total 2554 (delta 599), reused 560 (delta 560), pack-reused 1932 (from 3) Receiving objects: 100% (2554/2554), 11.73 MiB | 1.52 MiB/s, done. Resolving deltas: 100% (1545/1545), done. cp: cannot create regular file '/usr/local/bin/ani-cli': Permission denied chmod: changing permissions of '/usr/local/bin/ani-cli': Operation not permitted Can't do inplace edit on /usr/local/bin/ani-cli: Cannot make temp name: Permission denied. 4.14.0

AlexDrizzler avatar May 19 '26 02:05 AlexDrizzler

macOS / Unix workaround: ANI_CLI_PATH="$(command -v ani-cli)" cp "$ANI_CLI_PATH" ~/ani-cli.backup git clone https://github.com/pystardust/ani-cli.git -b coolans_patches ani-cli-cool cp ani-cli-cool/ani-cli "$ANI_CLI_PATH" chmod +x "$ANI_CLI_PATH" perl -pi -e 's/\r\n/\n/g' "$ANI_CLI_PATH" rm -rf ani-cli-cool ani-cli --version This replaces the installed ani-cli script with the version from the coolans_patches branch. Rollback: cp ~/ani-cli.backup "$(command -v ani-cli)" chmod +x "$(command -v ani-cli)"

it cp cannot create regular file or temp name permission denied

ani-cli --version Cloning into 'ani-cli-cool'... remote: Enumerating objects: 2554, done. remote: Counting objects: 100% (622/622), done. remote: Compressing objects: 100% (62/62), done. remote: Total 2554 (delta 599), reused 560 (delta 560), pack-reused 1932 (from 3) Receiving objects: 100% (2554/2554), 11.73 MiB | 1.52 MiB/s, done. Resolving deltas: 100% (1545/1545), done. cp: cannot create regular file '/usr/local/bin/ani-cli': Permission denied chmod: changing permissions of '/usr/local/bin/ani-cli': Operation not permitted Can't do inplace edit on /usr/local/bin/ani-cli: Cannot make temp name: Permission denied. 4.14.0

NVM just had to put sudo -i before it so it gave me root permission for multiple commands. works great now

AlexDrizzler avatar May 19 '26 03:05 AlexDrizzler

macOS / Unix workaround:

ANI_CLI_PATH="$(command -v ani-cli)"

cp "$ANI_CLI_PATH" ~/ani-cli.backup

git clone https://github.com/pystardust/ani-cli.git -b coolans_patches ani-cli-cool cp ani-cli-cool/ani-cli "$ANI_CLI_PATH" chmod +x "$ANI_CLI_PATH" perl -pi -e 's/\r\n/\n/g' "$ANI_CLI_PATH" rm -rf ani-cli-cool

ani-cli --version

This replaces the installed ani-cli script with the version from the coolans_patches branch.

Rollback:

cp ~/ani-cli.backup "$(command -v ani-cli)" chmod +x "$(command -v ani-cli)"

Fixed this issue for me, on Fedora Workstation 44. Thanks!

RohailMufti avatar May 19 '26 04:05 RohailMufti

macOS / Unix workaround: ANI_CLI_PATH="$(command -v ani-cli)" cp "$ANI_CLI_PATH" ~/ani-cli.backup git clone https://github.com/pystardust/ani-cli.git -b coolans_patches ani-cli-cool cp ani-cli-cool/ani-cli "$ANI_CLI_PATH" chmod +x "$ANI_CLI_PATH" perl -pi -e 's/\r\n/\n/g' "$ANI_CLI_PATH" rm -rf ani-cli-cool ani-cli --version This replaces the installed ani-cli script with the version from the coolans_patches branch. Rollback: cp ~/ani-cli.backup "$(command -v ani-cli)" chmod +x "$(command -v ani-cli)"

it cp cannot create regular file or temp name permission denied ani-cli --version Cloning into 'ani-cli-cool'... remote: Enumerating objects: 2554, done. remote: Counting objects: 100% (622/622), done. remote: Compressing objects: 100% (62/62), done. remote: Total 2554 (delta 599), reused 560 (delta 560), pack-reused 1932 (from 3) Receiving objects: 100% (2554/2554), 11.73 MiB | 1.52 MiB/s, done. Resolving deltas: 100% (1545/1545), done. cp: cannot create regular file '/usr/local/bin/ani-cli': Permission denied chmod: changing permissions of '/usr/local/bin/ani-cli': Operation not permitted Can't do inplace edit on /usr/local/bin/ani-cli: Cannot make temp name: Permission denied. 4.14.0

NVM just had to put sudo -i before it so it gave me root permission for multiple commands. works great now

how to do it in mac

TempestAVAY avatar May 22 '26 11:05 TempestAVAY

macOS / Unix workaround: ANI_CLI_PATH="$(command -v ani-cli)" cp "$ANI_CLI_PATH" ~/ani-cli.backup git clone pystardust/ani-cli.git -b coolans_patches ani-cli-cool cp ani-cli-cool/ani-cli "$ANI_CLI_PATH" chmod +x "$ANI_CLI_PATH" perl -pi -e 's/\r\n/\n/g' "$ANI_CLI_PATH" rm -rf ani-cli-cool ani-cli --version This replaces the installed ani-cli script with the version from the coolans_patches branch. Rollback: cp ~/ani-cli.backup "$(command -v ani-cli)" chmod +x "$(command -v ani-cli)"

it cp cannot create regular file or temp name permission denied ani-cli --version Cloning into 'ani-cli-cool'... remote: Enumerating objects: 2554, done. remote: Counting objects: 100% (622/622), done. remote: Compressing objects: 100% (62/62), done. remote: Total 2554 (delta 599), reused 560 (delta 560), pack-reused 1932 (from 3) Receiving objects: 100% (2554/2554), 11.73 MiB | 1.52 MiB/s, done. Resolving deltas: 100% (1545/1545), done. cp: cannot create regular file '/usr/local/bin/ani-cli': Permission denied chmod: changing permissions of '/usr/local/bin/ani-cli': Operation not permitted Can't do inplace edit on /usr/local/bin/ani-cli: Cannot make temp name: Permission denied. 4.14.0

NVM just had to put sudo -i before it so it gave me root permission for multiple commands. works great now

how to do it in mac

https://github.com/pystardust/ani-cli/issues/1729#issuecomment-4483631937

ViaxCo avatar May 22 '26 12:05 ViaxCo

same as #1710. Fix is on the way

Derisis13 avatar May 22 '26 23:05 Derisis13

not sure if it's hosted by same people but hianime is now at https://hianime.ms/ (if that was the issue, someone said hianime was down)

fmdkcl4e avatar May 23 '26 17:05 fmdkcl4e

Fixed by #1704, reopen if issue persists

Derisis13 avatar May 24 '26 21:05 Derisis13

I have updated to use the latest but still some of the watch in progress animes ani-cli -c are not shown.

Doing some debugging (with prints) shows many of them are returning an empty list in process_hist_entry() where I do

    ep_list=$(episodes_list "$id")
    printf "ID: %s, List: %s\n" "$id" "$ep_list"
    return 0
    ...

And many of my history entries are like this ID: gHQe2eBBh57QdC9hZ, List:

The thing is if I search for one those anime manually, the list does show up and I can watch it. It's just not showing in the history search.

Neko-Box-Coder avatar May 25 '26 15:05 Neko-Box-Coder

I have updated to use the latest but still some of the watch in progress animes ani-cli -c are not shown.

Doing some debugging (with prints) shows many of them are returning an empty list in process_hist_entry() where I do

ep_list=$(episodes_list "$id")
printf "ID: %s, List: %s\n" "$id" "$ep_list"
return 0
...

And many of my history entries are like this ID: gHQe2eBBh57QdC9hZ, List:

The thing is if I search for one those anime manually, the list does show up and I can watch it. It's just not showing in the history search.

Please open a new issue, this and that are completely separate

Derisis13 avatar May 25 '26 15:05 Derisis13