Bug#784953: freespace2: fails to download fs2_ogg.zip

vv221 vv221 at dotslashplay.it
Mon May 11 05:47:52 UTC 2015


> Both url works, but I guess they also both can't be deep-linked
> if freespacemods.net hasn't seen your IP addresse recently
> or something.
I just gave it a try, and you’re right: a simple "wget -O fs2_ogg.zip
http://www.freespacemods.net/request.php?128" does start the download
without the 403 error I’ve been experiencing prior to visiting the website.
But a subsequent try with game-data-packager does end up with a 403
error again (from the same session, same IP). I gave it another try
after editing the freespace2.json file to use the alternative URL, but
had no better luck (still failing on a 403 error).

Looks like the URL has nothing to do with the 403 error after all, there
might be something going wrong with the way game-data-packager tries to
download this file.

> Someone else with an IP not in cache must try
> "wget http://www.freespacemods.net/e107_files/downloads/fs2_ogg.zip"
> to be sure.
I’ll have access to another IP later today, so I’ll check this and report.

> If both urls require that the website had been visited,
> this could be maybe worked  around with wkhtmltopdf
> or "lynx -dump > /dev/null" or something; but that
> would be considered abuse.
> I can't host such hug file myself either.
>
> I guess the only solution then is to disable
> the automatic upload and move the URL to the help text.
One workaround I can think of is the one used by winetricks when it
needs a file that can’t be downloaded without the user doing it manually
from some website: it interrupts its process, gives the URL of the page
from which to download the file, and a local directory it should be
saved to. After downloading the file and putting it in the right place,
the next execution of the script will find the file and process it.



More information about the Pkg-games-devel mailing list