You are not logged in.

#1 2014-07-24 19:34:38

Nemu_khao
Member
Registered: 2014-01-25
Posts: 23

aria2c 'std::length_error'

aria2 version 1.18.7

$ aria2c http://i.imgur.com/GKYwpLr.png
terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::_S_create
Aborted

Is anyone else facing the same issue?

Offline

#2 2014-07-24 19:40:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: aria2c 'std::length_error'

$ aria2c http://i.imgur.com/GKYwpLr.png

07/24 21:39:29 [NOTICE] Download complete: /home/karol/test/GKYwpLr.png

Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
461ac8|OK  |   415KiB/s|/home/karol/test/GKYwpLr.png

Status Legend:
(OK):download completed.

Works here.

Try reinstalling aria.

Offline

#3 2014-07-24 19:41:45

j.pinje
Member
Registered: 2014-07-24
Posts: 7

Re: aria2c 'std::length_error'

Nope

aria2c http://i.imgur.com/GKYwpLr.png

07/24 21:40:33 [NOTICE] Download complete: /home/jimmy/Bilder/GKYwpLr.png

Nedladdningsresultat:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
fabb7b|OK  |   450KiB/s|/home/jimmy/Bilder/GKYwpLr.png

Statusförklaring:
(OK):download completed.

Sorry Karol beat me to it!!

Last edited by j.pinje (2014-07-24 19:42:52)


“I would love to change the world, but they won’t give me the source code”

Offline

#4 2014-07-24 19:43:42

Nemu_khao
Member
Registered: 2014-01-25
Posts: 23

Re: aria2c 'std::length_error'

karol wrote:

Try reinstalling aria.

Tried for umpteenth time... still doesn't work.
Anything else I should check?

Are both your versions 1.18.7?

Last edited by Nemu_khao (2014-07-24 19:44:34)

Offline

#5 2014-07-24 19:50:21

j.pinje
Member
Registered: 2014-07-24
Posts: 7

Re: aria2c 'std::length_error'

Yes it is, have you tried uninstalled with a command like

pacman -Rns aria2c

Wich if i understand it also removes config files..


“I would love to change the world, but they won’t give me the source code”

Offline

#6 2014-07-24 19:52:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: aria2c 'std::length_error'

Remove the configs and remove the package from the package cache, so pacman grabs a fresh copy from the server instead of the cache.

Yes, it's version 1.18.7-1. I've just installed it.
What's the output of

type aria2c
type -p aria2c

Last edited by karol (2014-07-24 19:59:18)

Offline

#7 2014-07-24 20:01:17

Nemu_khao
Member
Registered: 2014-01-25
Posts: 23

Re: aria2c 'std::length_error'

j.pinje wrote:

Yes it is, have you tried uninstalled with a command like

pacman -Rns aria2c

Wich if i understand it also removes config files..

Yeah I removed everything from pacman cache. Just to be sure, /var/cache/pacman/pkg/  was empty.
Removed config files too, and then reinstalling still doesn't work
It was working before my recent system update, I suppose...

Offline

#8 2014-07-24 20:02:45

Nemu_khao
Member
Registered: 2014-01-25
Posts: 23

Re: aria2c 'std::length_error'

karol wrote:

Remove the configs and remove the package from the package cache, so pacman grabs a fresh copy from the server instead of the cache.

Yes, it's version 1.18.7-1. I've just installed it.
What's the output of

type aria2c
type -p aria2c
$ type aria2c
aria2c is /usr/bin/aria2c
$ type -p aria2c 
/usr/bin/aria2c
$ 

Offline

#9 2014-07-24 23:01:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: aria2c 'std::length_error'

I found the same error message http://stackoverflow.com/questions/2025 … -stdlength but I have no idea how is it related t your problem.

Offline

#10 2014-07-26 06:38:13

Frisbee
Member
Registered: 2014-05-18
Posts: 6

Re: aria2c 'std::length_error'

I am facing the same issue. My system is behind a proxy. I tried removing the environment variables http_proxy, https_proxy etc. and the error didn't show up. But I cannot download without the proxy.

EDIT: Specifically, setting the no_proxy as specified in https://wiki.archlinux.org/index.php/Proxy_settings causes the issue. Unsetting that gets the download to work.

Last edited by Frisbee (2014-07-26 06:57:52)

Offline

#11 2014-07-26 08:01:24

Nemu_khao
Member
Registered: 2014-01-25
Posts: 23

Re: aria2c 'std::length_error'

Frisbee wrote:

I am facing the same issue. My system is behind a proxy. I tried removing the environment variables http_proxy, https_proxy etc. and the error didn't show up. But I cannot download without the proxy.

EDIT: Specifically, setting the no_proxy as specified in https://wiki.archlinux.org/index.php/Proxy_settings causes the issue. Unsetting that gets the download to work.

Yeah, I was behind a proxy too. Unsetting no_proxy makes it work.
Thanks.
Though it still is weird that such a thing is happening.

Offline

#12 2014-07-26 15:38:38

Frisbee
Member
Registered: 2014-05-18
Posts: 6

Re: aria2c 'std::length_error'

The issue was raised here:
https://github.com/tatsuhiro-t/aria2/issues/265
Looks like a fix has been committed.

Offline

Board footer

Powered by FluxBB