#212 Won't open connections because it thinks "other command" has

open
nobody
None
5
2014-02-17
2010-06-08
Rob Fortune
No

ubuntu@ubuntu:/media/SanDisk Cruzer$ aria2c --log-level=debug -Z -l wrong -c http://widehat.opensuse.org/distribution/11.3-Milestone7/iso/openSUSE-DVD-Build0625-i586.iso http://mirrors.nl.eu.kernel.org/opensuse/distribution/11.3-Milestone7/iso/openSUSE-DVD-Build0625-i586.iso
#1 SIZE:0B/0B CN:1 SPD:0Bs [TOTAL SPD:299.3KiBs]
2010-06-08 01:54:51.700796 ERROR - Exception caught
Exception: [HttpResponseCommand.cc:142] File /media/SanDisk Cruzer/openSUSE-DVD-Build0625-i586.iso is being downloaded by other command.
[#2 SIZE:3,712.8MiB/4,117.8MiB(90%) CN:5 SPD:386.5KiBs ETA:17m52s]^C
2010-06-08 01:54:54.052625 NOTICE - Shutdown sequence commencing... Press Ctrl-C again for emergency shutdown.

Discussion

  • Rob Fortune

    Rob Fortune - 2010-06-08

    debug log

     
  • Rob Fortune

    Rob Fortune - 2010-06-08

    With the ISO at 90% completion, I backed up the .aria file and then commented out the exception check in the version I compiled myself, and completed the download. The sha1 checksum was wrong so whatever you're checking for in there must be important. I put the check back in, restored the .aria backup and the download resumed at 90% as I hoped it would.

    The file finished downloading with the correct checksum.

     
  • tujikawa

    tujikawa - 2010-06-08

    If two URIs point to the same file and you want to download the file using these URIs, then -Z must not be used.

     
  • Ant Bryan

    Ant Bryan - 2010-06-08

    when using -Z like that, it is downloading the file but at the same time trying to write to it w/ the same file. the fact that it is the exact same file shouldn't matter? what if they were two files with different content, but the same name? shouldn't aria2 do something like other apps where it would be filename, filename(2), or some other scheme?

    windsor-blue, since this is openSUSE & they use automatic metalinks, try this w/ aria2, it should pick up all the mirrors along with repair information. http://download.opensuse.org/distribution/11.3-Milestone7/iso/openSUSE-DVD-Build0625-i586.iso

     
  • Rob Fortune

    Rob Fortune - 2010-06-13

    The error occurs without -Z.

     
  • Rob Fortune

    Rob Fortune - 2010-06-13

    It seems pretty simple to me each download URL or other input feed provides a range of data to write, those ranges should not overlap and they can be downloaded from multiple places at once. I've not the time to acquire the skills to debug your code but it's a pretty bad error - I had multiple Internet connections available and had aria2 behaved as expected then I could have used ip route to make for very fast download.

     
  • tujikawa

    tujikawa - 2010-06-14

    I could not reproduce without -Z option.
    Are you using ${home}/.aria2/aria2.conf? It may contain force-sequential=true.

     
  • Nobody/Anonymous

    rob@bob:~> test -f ${home}/.aria2/aria2.conf || echo no
    no
    rob@bob:~> # I am willing to try and help debug this problem but I am not a C++ programmer. Do have limited C and GDB.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks