I've uploaded version 2.1.9 with the following changes:
- Spoofed the user agent when downloading files, per ngld's suggestion
- Some changes for improving the launching of external programs such as InnoExtract
- Additional HTTP verification, including checking that sites can return partial content, and checking the response codes when querying connection properties
- Additional precondition checking
As with ngld's build, this should fix the problems with the mirrors. There is no new InnoExtract build since the last installer version, but I should be able to implement a workaround for the paths-with-spaces issue.
All the mirrors appear to be working now! Thanks!
I'm still running into a few errors though.
2014-08-30 01:30:18,304 [pool-1-thread-1] INFO com.fsoinstaller.utils.MiscUtils - Command to run: innoextract --quiet --list /home/andrew/Games/FreeSpace2/fs2.exe
2014-08-30 01:30:18,330 [pool-1-thread-1] ERROR com.fsoinstaller.wizard.InnoExtractTask - Could not obtain file listing using innoextract!
java.io.IOException: Cannot run program "innoextract --quiet --list /home/andrew/Games/FreeSpace2/fs2.exe" (in directory "/home/andrew/Games/FreeSpace2/56fb6500ba3b4ac3afa4446551b94dad/innoextract-1.4-linux"): error=2, No such file or directory
The command works when I run it manually using the version of InnoExtract in the Ubuntu repos.
I'm also getting the following download errors:
--
2014-08-30 01:30:23,068 [pool-1-thread-4] INFO com.fsoinstaller.internet.Downloader - Downloading and extracting from file:/home/andrew/Games/FreeSpace2/fs2_open_3.7.2_RC4.tar to local directory /home/andrew/Games/FreeSpace2
2014-08-30 01:30:23,068 [pool-1-thread-4] ERROR com.fsoinstaller.wizard.InstallItem - Unexpected runtime exception while downloading!
java.lang.IllegalArgumentException: URL file:/home/andrew/Games/FreeSpace2/fs2_open_3.7.2_RC4.tar does not return an HttpURLConnection!
--
2014-08-30 01:30:27,551 [pool-1-thread-4] INFO com.fsoinstaller.internet.Downloader - Downloading and extracting from file:/home/andrew/Games/FreeSpace2/fs2_open_3.7.2_RC4.tar to local directory /home/andrew/Games/FreeSpace2
2014-08-30 01:30:27,552 [pool-1-thread-4] ERROR com.fsoinstaller.wizard.InstallItem - Unexpected runtime exception while downloading!
java.lang.IllegalArgumentException: URL file:/home/andrew/Games/FreeSpace2/fs2_open_3.7.2_RC4.tar does not return an HttpURLConnection!
--
2014-08-30 01:30:32,136 [pool-1-thread-4] INFO com.fsoinstaller.internet.Downloader - Downloading and extracting from file:/home/andrew/Games/FreeSpace2/fs2_open_3.7.2_RC4.tar to local directory /home/andrew/Games/FreeSpace2
2014-08-30 01:30:32,136 [pool-1-thread-4] ERROR com.fsoinstaller.wizard.InstallItem - Unexpected runtime exception while downloading!
java.lang.IllegalArgumentException: URL file:/home/andrew/Games/FreeSpace2/fs2_open_3.7.2_RC4.tar does not return an HttpURLConnection!
fs2_open_3.7.2_RC4.tar does seem to have been downloaded into the installation directory and I was able to extract it manually.
I attached the full log. Thanks a lot for your work on the Installer and let me know if I can help troubleshoot or test anything!
[attachment kidnapped by pirates]