Aria2D icon indicating copy to clipboard operation
Aria2D copied to clipboard

Aria2c process not starting

Open wolph opened this issue 4 years ago • 6 comments

When manually trying to start aria I get:

/bin/bash: line 0: exec: -D: invalid option
exec: usage: exec [-cl] [-a name] file [redirection ...]

I'm guessing it's an incompatibility with the bash wrapper on Catalina.

wolph avatar Jan 13 '20 17:01 wolph

Check your aria2c path and aria2 conf file. Preferences - Third tab - Aria2c path / Conf file path

xjbeta avatar Jan 14 '20 02:01 xjbeta

Thanks, that worked! I guessed it would have autodetected aria2c as it was a plain homebrew install.

In any case, the error message is a bit unclear though :)

wolph avatar Jan 14 '20 02:01 wolph

Its not working for me, but small notification says connected, am I missing something.

Screen Shot 2021-04-15 at 1 33 57 PM

Any pointer would be helpful.

Thanks.

mr-narender avatar Apr 15 '21 17:04 mr-narender

@mr-narender The same error to me. How can we fix that? Or maybe we need to start aria2 server???

LocNguyenHuu avatar Apr 24 '23 03:04 LocNguyenHuu

I've got both aria2d and aria2 installed via Homebrew on macOS Sonoma and ran into something which looks like this issue, the fix was to set the path to /opt/homebrew/bin/aria2c in Settings where it called for "Aria2c path:".

After that I think you can restart, or click Aria2c process status, then click Start.

It looks like Settings resolved the symlink to the specific version of aria2 that's installed. Since I haven't upgraded aria2 since starting to use aria2d, it is unclear whether this will break somewhere in future (because the aria2c binary will move to a new folder with the version bump that accompanies the upgrade).

image

agh avatar Mar 17 '24 17:03 agh

For those new to Mac like myself: To reach the /opt/homebrew/bin/ directory when the Browse folder dialog appears, you should press Cmd + Shift + G.

dangnhdev avatar Mar 29 '24 03:03 dangnhdev