Illegal number: 0x
Make sure you are on the latest version by running ani-cli -U
Metadata (please complete the following information) Version: 4.15.0 OS: Debian Linux 13 Trixie (ARM64) Shell: fish Anime: Chainsmoker Cat
Describe the bug
When attempting to download a show, ani-cli outputs the following message:
/usr/bin/ani-cli: 253: Illegal number: 0x
Steps To Reproduce
- Run
ani-cli -d -e 1-4 "Chainsmoker Cat"
Expected behavior Ani-cli should download all specified episodes of the show.
Same here on Termux. Version: 4.15.0 OS: Android 15 (V1TRS35H.60-33-6) Shell: Bash Anime: KAIJU GIRL CARAMELISE
Expected start of an anime throws the output of: /data/data/com.termux/files/usr/bin/ani-cli: 253: Illegal number: 0x
Steps to reproduce: Running "ani-cli -d -e 4 "Otome Kaijuu Caramelise""
What should happen: The episode should download.
Update: bash -x ani-cli -d -e 1-4 "Chainsmoker Cat" Removes the illegal number: 0x.
Instead just returning Episode is released, but no valid sources!
I saw this 'solution' mentioned in #1823.
Update 2: The root cause is ani-cli's shebang to /bin/sh, changing this to #!/bin/bash removes the issue, though I still get a release no valid sources.
Also Getting Illegal number: 0x
Metadata (please complete the following information) Version: 4.15.0 OS: Ubuntu 24.04.4 LTS (WSL running inside of win11) Shell: bash Anime: The Ancient Magus' Bride
Steps To Reproduce Used: ani-cli "The Ancient Magus' Bride" --vlc then picked 6th option first episode
I think this is a problem between Bash and Shell, but they want to keep it using Shell, so idk.
I think this is a problem between Bash and Shell, but they want to keep it using Shell, so idk.
update-alternatives --install /bin/sh sh /bin/bash 100
This issue doesn't occur on the v5 branch for me, so you could use that for the time being. Just don't forget to switch back to the main branch once v5 is released.
ani-cli -U v5
The workaround to use v5 does not work when using -s for syncplay