anime-dl / anime-downloader

A simple but powerful anime downloader and streamer.
The Unlicense
1.93k stars 217 forks source link

CreateProcess() failed. Cannot execute user command #417

Open eslamsidereel opened 4 years ago

eslamsidereel commented 4 years ago

Hi, Thank you for the great script. I am trying to download the anime Gunslinger Stratos: THE ANIMATION I used anime dl "Gunslinger Stratos: THE ANIMATION" --provider gogoanime Everything was good

anime: anime-downloader 4.3.0 +--------+-----------------------------------+--------+ | 1 | Gunslinger Stratos: The Animation | | |--------+-----------------------------------+--------| | SlNo | Title | Meta | +--------+-----------------------------------+--------+ Enter the anime no: [1]: 1 anime: Selected Gunslinger Stratos: The Animation anime: Extracting episode info from page anime: Found anime: Gunslinger Stratos: The Animation anime: Downloading to D:\Downloads\Video But then an error happens 06/23 14:39:34 [ERROR] CreateProcess() failed. Cannot execute user command. I think the anime name is what causing the error specially : Is there a way to fix this error?

Blatzar commented 4 years ago

Works both on Linux and Win10 on my machine. Are you using win7 or 10? Can you do -ll DEBUG for further info.

Looks like https://github.com/aria2/aria2/issues/992 but --on-download-complete is never used afaik. Could it be that the download path is malformed (does "." work)? Does it work with other gogoanime titles? Does it work when you run cmd as admin?

eslamsidereel commented 4 years ago

I am using win10 64. Same error with path set to "." I tried running cmd as admin but no luck too. Sorry for asking ,but how can I use -ll DEBUG?

PS: I tried using animefreak as a provider and it worked with no errors

Edit: I read https://github.com/aria2/aria2/issues/992 but I don't know how to use --on-download-complete with anime dl.

Blatzar commented 4 years ago

how can I use -ll DEBUG?

anime -ll DEBUG dl "Gunslinger Stratos: THE ANIMATION" --provider gogoanime

The aria2 issue is related to what's done automatically in the code

eslamsidereel commented 4 years ago

Thanks, I made the DEBUG file DEBUG.txt

I think the problem is with gogoanime, because I used animefreak anime dl "Gunslinger Stratos: THE ANIMATION" --provider animefreak and it started downloading normally even with the illegal character : in the name.

So, I tried a different anime with a clean name anime dl "Comet Lucifer" --provider gogoanime same error occurred 06/24 10:53:38 [ERROR] CreateProcess() failed. Cannot execute user command.

Here is the DEBUG for anime dl "Comet Lucifer" --provider gogoanime DEBUG 2.txt

AbdullahM0hamed commented 4 years ago

Gogoanime is no longer a provider. @eslamsidereel does the issue occur with any other providers (for example: vidstream)?