Jump to content
  • 0

[SOURCE FIX]Launcher Hanging on splash


Question

Posted

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

15 answers to this question

Recommended Posts

  • 0
Posted

Was a little busy at work today but saw your additions.. merged it in and building new version now

Cheers

Its good to see someone help since im pretty busy at work these days.

  • 0
Posted

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.

  • 0
Posted

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.

  • 0
Posted

sweet as balls. so it should run fine now?

There are other bugs, this this should keep you from having to wait more then 5-10 seconds when a mirror exists but doesn't respond.

  • 0
  • Forum Administrators
Posted

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.

  • 0
Posted

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.

Perfect! Who do I need to talk to then?

  • 0
Posted

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

  • 0
Posted

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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...