Jump to content
  • 0

[SOURCE FIX]Launcher Hanging on splash


_sir_maniac

Question

Launcher/pack Version: 0.5.4.4

Operating System: Ubuntu Linux 11.04(Natty) 64-Bit

Version of Java: Oracle 64-Bit version 1.7.0_03-b04

Description of Problem:

Technic Launcher (almost)hangs on splash screen for no apparent reason. It appears to be an issue in accessing the mirrors on start up, which it apparently times out after a long period of time. I debugged the source, and found that it hanged for me when accessing the url http://mirror.technicpack.net/Technic/CHECKSUM.md5, this is repeatable by attempting to access the url through a browser window or wget.

I've issued a pull request to the github source for a quick fix on the issue(shortening the timeouts), I'll also include the patch here.

Error Messages: None

link to pastebin PATCH: http://pastebin.com/Hzj34a9J

Link to pastebin of log: http://pastebin.com/zkBzxUT2

Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 0

Launcher/pack Version: 0.5.4.4

Operating System: Ubuntu Linux 11.04(Natty) 64-Bit

Version of Java: Oracle 64-Bit version 1.7.0_03-b04

Description of Problem:

Technic Launcher (almost)hangs on splash screen for no apparent reason. It appears to be an issue in accessing the mirrors on start up, which it apparently times out after a long period of time. I debugged the source, and found that it hanged for me when accessing the url http://mirror.technicpack.net/Technic/CHECKSUM.md5, this is repeatable by attempting to access the url through a browser window or wget.

I've issued a pull request to the github source for a quick fix on the issue(shortening the timeouts), I'll also include the patch here.

Error Messages: None

link to pastebin PATCH: http://pastebin.com/Hzj34a9J

Link to pastebin of log: http://pastebin.com/zkBzxUT2

Thank you. I think this is the problem I've been having.

Link to comment
Share on other sites

  • 0

Sorry about the milliseconds thing, I noticed that in the JavaDoc and somehow forgot it as I was changing the code... I'm trying to figure out how I didn't catch that as I tested it.

Glad to help, though. :)

Are you interested in more help? I'd be glad to continue to contribute, I've got 10 years of Java programming experience.

There's are other bugs involving the offline mode and how it interacts with everything that downloads, I'm in the middle of testing the fixes I have made to the code.

Link to comment
Share on other sites

  • 0
  • Forum Administrators

Sorry about the milliseconds thing, I noticed that in the JavaDoc and somehow forgot it as I was changing the code... I'm trying to figure out how I didn't catch that as I tested it.

Glad to help, though. :)

Are you interested in more help? I'd be glad to continue to contribute, I've got 10 years of Java programming experience.

There's are other bugs involving the offline mode and how it interacts with everything that downloads, I'm in the middle of testing the fixes I have made to the code.

We'd gladly accept any more help, absolutely. Agelian specifically has been waiting for someone to talk to, the rest of us just stare blankly when he starts talking about java this and hash that.

Link to comment
Share on other sites

  • 0

Ok, so I think I'm having this same problem, as my launcher hangs on the splash screen and the logs indicate that it's trying to download the mirrors.yml file. Just downloaded the launcher, I've only tried running it a few times and every time I've had this problem. How do I use this solution (if it's even viable)?

Btw, running roughly the same software as OP

Link to comment
Share on other sites

  • 0

Ok, so I think I'm having this same problem, as my launcher hangs on the splash screen and the logs indicate that it's trying to download the mirrors.yml file. Just downloaded the launcher, I've only tried running it a few times and every time I've had this problem. How do I use this solution (if it's even viable)?

Btw, running roughly the same software as OP

Launcher v 0.5.4.6 should have fixed it, are you sure you have that version?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...