Menu

#192 Parse error in aria2.conf ( '--all-proxy' )

closed
nobody
None
5
2014-08-17
2010-01-16
n3tllama
No

I just upgraded from version 1.6.3 to 1.8.0 on Linux-i686. First I tripped over the 'retry-wait' segfault bug, but that was easily corrected. Now I'm hitting some other bizarre problem. When I attempt to fire up aria2c, it fails:

$ aria2c
Parse error in /home/netllama/.aria2/aria2.conf
Exception: [NameMatchOptionHandler.h:102] We encountered a problem while processing the option '--all-proxy'.
-> [OptionHandlerImpl.h:569] unrecognized proxy format

Usage:
--all-proxy=PROXY Use this proxy server for all protocols.
You can override this setting and specify a
proxy server for a particular protocol using
--http-proxy, --https-proxy and --ftp-proxy
options.
This affects all URLs.

This makes no sense, as I'm not using the --all-proxy option anywhere. Here's the full content of my ~.aria2/aria2.conf file:

file-allocation=falloc
enable-direct-io=true
seed-ratio=1.01
max-upload-limit=2K

retry-wait=2

timeout=30
check-integrity=false
enable-dht=true
max-concurrent-downloads=10
dht-listen-port=6881-6889
listen-port=6881-6889
check-certificate=false
listen-port=6881-6889
max-overall-upload-limit=22K

added with v 1.8.0

continue=true
bt-save-metadata=true
disable-ipv6=true
summary-interval=300

After experimenting, it appears that the blank line immediately above the commented out line (# added with v 1.8.0) is what is triggering this misleading error. Removing or commenting out that blank line fixes the problem.

Discussion

  • tujikawa

    tujikawa - 2010-01-17

    Yes, this issue is a duplicate of BUG#2928303.
    There are a few things to do for next 1.8.1 release.
    It will be released in a week.

     
  • tujikawa

    tujikawa - 2010-01-24

    I believe this issue was fixed in 1.8.1 release.
    If you still encounter this issue, please reopen it.

     

Log in to post a comment.

Monday.com Logo