Author Topic: FSO Installer Not Working  (Read 2976 times)

0 Members and 1 Guest are viewing this topic.

Offline Rick James

  • Scathed By Admins
  • 27
FSO Installer Not Working
After recently cocking up an installation of FSO due a gross mismanagement of modified texture files, I said "Oh, forget it, I'll just uninstall and re-download FSO from scratch."

The Problem?

The FreeSpace Open Installer won't do anything. I select the folder that previously contained my FSO installation, hit next, checkmarked "Say yes to all", and when I hit next...nothing. I don't see any download starting.

What the pfargtl?

Boystrous 19 year old temp at work slapped me in the face with an envelope and laughed it off as playful. So I shoved him over a desk and laughed it off as playful. It's on camera so I can plead reasonable force.  Temp is now passive.

 

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Re: FSO Installer Not Working
Paranoid firewall comes to mind as prime suspect, but it could be something else too... IDK.

Try and give the program appropriate permissions in your firewall software and then try again.
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Re: FSO Installer Not Working
Something like this? Could this be some server-related issue?
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 

Offline Rick James

  • Scathed By Admins
  • 27
Re: FSO Installer Not Working
...huh. Didn't know there was an FSO Support forum. My bad.

But yeah, it sounds like the same issue. Yon servers might be borked.

Boystrous 19 year old temp at work slapped me in the face with an envelope and laughed it off as playful. So I shoved him over a desk and laughed it off as playful. It's on camera so I can plead reasonable force.  Temp is now passive.

 
Re: FSO Installer Not Working
Hi!
I can only confirm this "bug". However, I figured out the reason and also found a workaround (it's not really a bug, but I'll explain further).

How to reproduce: This is quite easy. Just download the Installer, then proceed with two times clicking next (it actually doesn't matter wether choosing "Say Yes To All" or not) and click next again. Then the Installer will just do nothing and display an empty window. The button "next" cannot be chosen, however the "Prev" button works. It is not possible to finish installation.

The reason: The page that should be displayed, but can't, should list all installable packages. This list is obviously built from the contents of several files the installer gets on-demand from the internet. The pages are listed in the file "filenames.txt" which is located somewhere on a server, too, and also downloaded on-demand. It contains the following line:
http://users.otenet.gr/~mecos/Development/Objc/filez/FS2_Open_Launcher/launcher_info.txt
The specified file cannot be found, because the page has been relocated. This causes the installer to stop working.

Workaround: The workaround requires some knowledge of Java. I just downloaded the sources and while debugging modified the following lines (l. 40 and 41) in the file SelectPage.java
from:
Code: [Select]
FreeSpaceOpenInstaller.download(txtfileurl, instdir + "Installer" + File.separator + filename);
sections.addAll(new InstallerSection(instdir, filename).getSections(auto, installedOnly));
to:
Code: [Select]
try
{
FreeSpaceOpenInstaller.download(txtfileurl, instdir + "Installer" + File.separator + filename);
sections.addAll(new InstallerSection(instdir, filename).getSections(auto, installedOnly));
} catch(Exception e) {}


Just compile and execute and it will work.


Proposal for final solution: First I don't know how important the contents of the moved file were, but it should either be removed from the list or the path should be corrected.

Second a proposal for the excellently written installer (this must be mentioned too!): it currently writes exceptions only to a file called "installer_error.log.txt". Errors could also be displayed to the users so that they at least know something went wrong. It took me som time to figure out what actually happened. And an additional proposal: the above mentioned lines could handle an exception like the one that occured now by adding code to display an error message in the catch-block. It might happened again that an index-file is not available and then the installer would be prepared in some way.


Last but not least thanks for managing this big project. It is a great pleasure to see opensource development working so well. I bought the Freespace 2 Collector's Edition some years ago and thought it's a great game! However, the CDs got lost. Luckily I found your site and now I hopefully will have a much improved version again!

Greetz,
Chris

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Re: FSO Installer Not Working
Hmm. Much obliged. I'll forward this to Turey and hope that he'll eventually log in. If the "problem" persists, I might include up-to-date instructions for manual installation on the Support board, if nowhere else.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 

Offline Ajguy

  • 22
Re: FSO Installer Not Working
I don't have a java compiler (at least I don't think I do). Any chance you can just post the recompiled java applet?

  
Re: FSO Installer Not Working
You have a Java compiler installed, if you installed the Java Development Kit (JDK). But never mind. I put together another .jar file with a dialog popup about missing resources. Just select "Yes" when it comes up. I can't tell yet wether the missing file contained any critical contents or not, because my download hasn't finished by now. But (as the popup says) as I understood the installer, it only loads missing files, so once the broken link is fixed you should be able to just download additional (missing?) files.

I made the following changes in the sourcecode (SelectPage.java, line 40 and 41):
from:
Code: [Select]
FreeSpaceOpenInstaller.download(txtfileurl, instdir + "Installer" + File.separator + filename);
sections.addAll(new InstallerSection(instdir, filename).getSections(auto, installedOnly));
to:
Code: [Select]
// An error might occur getting the file
try
{
FreeSpaceOpenInstaller.download(txtfileurl, instdir + "Installer" + File.separator + filename);
sections.addAll(new InstallerSection(instdir, filename).getSections(auto, installedOnly));
} catch(Exception e)
{ // if this happens, let the user decide wether he
// wants to continue without the resource
int selected = JOptionPane.showConfirmDialog(sectionspanel, "A resource file could not be found.\n" +
"(" + txtfileurl + ")\n\n" +
"Do you want to continue without the missing resources?\n" +
"The installation might not work, but missing " +
"files can be downloaded when the resource has been fixed.",
"An error occured",
JOptionPane.YES_NO_OPTION,
JOptionPane.QUESTION_MESSAGE);
if(selected == JOptionPane.YES_OPTION)
continue;
else
System.exit(0);
}

The .jar file is unchanged except of these few lines. Hope that helps.


Greetz,
Chris

[attachment deleted by admin]

 
Re: FSO Installer Not Working
I just finished downloading and playing a first round...  :cool: So it works with the fixed installer. Just select "yes" (continue with installation) when it complains about missing resources and it will work.

Have fun!
Chris

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: FSO Installer Not Working
From the look of it, it's pointing at the webspace Turey had as a student. When he left Uni they probably deleted it. That URL should point somewhere on the FS2_Open installer site.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]