Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac M1 not fetching certain links correctly #1315

Closed
PIshiyama opened this issue Apr 13, 2024 · 10 comments
Closed

Mac M1 not fetching certain links correctly #1315

PIshiyama opened this issue Apr 13, 2024 · 10 comments
Assignees
Labels
os: mac mac compatibility priority 2: medium Default for bugs status: can't reproduce type: bug something isn't working

Comments

@PIshiyama
Copy link

PIshiyama commented Apr 13, 2024

Version: 4.8.5
OS: macOS Sonoma 14.4.1
Shell: zsh 5.9 (x86_64-apple-darwin23.0)
Anime: [e.g. flcl] (if applicable)

Describe the bug
Certain episodes are returning "Episode not released!"

Steps To Reproduce

  1. Run ani-cli
  2. Search slime or konosuba
  3. Select Tensei shirata Slime Datta Ken Season 3 or Kono Subarashii Sekai ni Shukufuku wo! 3
  4. For Reincarnated as a Slime, episode 1 or 2. Konosuba all episodes don't work.

Expected behavior
Episode should fetch link and play episode.

Additional context
The links are fetched properly when using Windows Terminal Preview on my Windows 10 computer. Most episodes of other shows work as expected and other currently releasing shows, like Spice and Wolf work properly. So far I've only noticed it for Reincarnated as a Slime S3 and Konosuba S3

@PIshiyama PIshiyama added priority 2: medium Default for bugs type: bug something isn't working labels Apr 13, 2024
@PIshiyama PIshiyama changed the title Mac M1 Mac M1 not fetching certain links correctly Apr 13, 2024
@somewhat69
Copy link

``it happens for all anime in my windows pc apparently

@port19x port19x added the os: windows windows compatibility label Apr 13, 2024
@port19x port19x added os: mac mac compatibility and removed os: windows windows compatibility labels Apr 13, 2024
@port19x
Copy link
Collaborator

port19x commented Apr 13, 2024

Can't reproduce your issues with the newest konosuba season.
This is odd, especially that it would break on mac but work on windows

@PIshiyama
Copy link
Author

PIshiyama commented Apr 13, 2024

This is the output I'm getting when selecting Konosuba Season 3.
I do find it odd how it's only broken for some titles and not others.
My next attempt will be to uninstall and reinstall ani-cli and see if that resolves the issue

p*****@P**** ~ % ani-cli konosuba
sed: 1: "s|^#.*x||g; s|,.*|p|g; ...": unterminated substitute pattern
gogoanime Links Fetched
Specified quality not found, defaulting to best
Episode not released!
p******@P**** ~ %

Edit: extra note.
Also, for some reason, with Reincarnated as a Slime S3, Episode 0 plays without issue. But Episodes 1 and 2 have the same issue as Konosuba for me. I haven't tried on my Intel based Mac yet though so that I can test that, too

@PIshiyama
Copy link
Author

Update: Same issue with 2018 i5 MacBook Pro when trying Konosuba S3. The output is identical to the M1 MacBook terminal. Also updated script to 4.8.5. Attempted to run using bash-5.2 and same issue persists

@port19x
Copy link
Collaborator

port19x commented Apr 13, 2024

Thank you for the debugging effort.
Can you send us a more detailed debug log of the konosuba case?
sh -x $(command -v ani-cli) > debug.log should give you one, even on mac

@PIshiyama
Copy link
Author

debug.log

@PIshiyama
Copy link
Author

And thank you very much for looking into this!

@PIshiyama
Copy link
Author

PIshiyama commented Apr 14, 2024

Update: Reincarnated as a Slime is now working for all episodes. Konosuba season still has same issue.
Here is the log for the successful link fetching for Reincarnated as a Slime if a comparison between the two helps at all. Maybe this is one of those weird self-resolving issues or maybe something about my ISP's DNS?

debug2.log

Edit: I remembered the same issue still arose even when using a VPN with its own DNS server. So probably not DNS related

@PIshiyama
Copy link
Author

REJOICE! KONOSUBA WORKS! (For Episode 1. Episode 2 is still broken) I'm gonna take a guess that this might not be the fault of the ani-cli script and must be something else

@amad3us47
Copy link

indexing error ? it happens sometimes but mainly on last episodes on windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: mac mac compatibility priority 2: medium Default for bugs status: can't reproduce type: bug something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants