IzPack

The launched installer hangs even if the jar installation would succeed

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Native launcher
  • Labels:
    None
  • Environment:
    WinXP Pro
  • Number of attachments :
    0

Description

I have an installer that I wrapped with the native launcher v2.2. The launcher starts the installer and I can go through various panels but then it hangs. I narrowed down this problem to having a DataPanel in my installer.

I think what is happening is that in launcher.cpp, the java process is executed with a "QProcess:execute". The DataPanel outputs a lot of information to the Standard Output channel. Without something to read and consume this output, I believe that the installer then hangs.

This can happen when using "Runtime.exec" in Java as well and in various places on the web it is mentioned that if a the invoker does not setup to consume the stdout and stderr streams the called application may block.

I would fix this but I don't have a Qt license.

Activity

Hide
Julien Ponge added a comment -

If you want to investigate this, please note that Qt is perfectly opensource (albeit GPL): http://trolltech.com/downloads

Show
Julien Ponge added a comment - If you want to investigate this, please note that Qt is perfectly opensource (albeit GPL): http://trolltech.com/downloads
Hide
Brett Bergquist added a comment -

I'll see about downloading the Open Source license version and installing a compiler and such and see if I can figure it out. It will take a while however as I'm pretty backed up here at work.

Show
Brett Bergquist added a comment - I'll see about downloading the Open Source license version and installing a compiler and such and see if I can figure it out. It will take a while however as I'm pretty backed up here at work.
Hide
Julien Ponge added a comment - - edited

I am assigning this to myself as I will handle the patches when Brett has them ready.

Show
Julien Ponge added a comment - - edited I am assigning this to myself as I will handle the patches when Brett has them ready.
Hide
Julien Ponge added a comment -

Any news regarding this issue?

Show
Julien Ponge added a comment - Any news regarding this issue?
Hide
Brett Bergquist added a comment -

I'm sorry Julien but I have not had a chance to try to debug this. Removing the data panels masked the problem and I have just not had time to look any further. I do have a Qt build environment, so I will be able to do so, but I don't predict it will be for another week or two.

Show
Brett Bergquist added a comment - I'm sorry Julien but I have not had a chance to try to debug this. Removing the data panels masked the problem and I have just not had time to look any further. I do have a Qt build environment, so I will be able to do so, but I don't predict it will be for another week or two.
Hide
Julien Ponge added a comment -

The fix will be delayed as Brett is busy right now. Of course if someone has the resources to implement it, I will happily reschedule it for inclusion in IzPack 4.0.0.

Show
Julien Ponge added a comment - The fix will be delayed as Brett is busy right now. Of course if someone has the resources to implement it, I will happily reschedule it for inclusion in IzPack 4.0.0.
Hide
Julien Ponge added a comment -

Re-assigned to Brett as he joined the project.

Show
Julien Ponge added a comment - Re-assigned to Brett as he joined the project.
Hide
Julien Ponge added a comment -

This issue has been originally scheduled for inclusion in version 4.1.0, to be released on october 2nd 2008.

If you believe that it cannot be resolved on time, then could you please move it to 4.2.0? Otherwise, I would appreciate if you could give me a time frame for scheduling purposes

Thanks a lot!

Show
Julien Ponge added a comment - This issue has been originally scheduled for inclusion in version 4.1.0, to be released on october 2nd 2008. If you believe that it cannot be resolved on time, then could you please move it to 4.2.0? Otherwise, I would appreciate if you could give me a time frame for scheduling purposes Thanks a lot!
Hide
Brett Bergquist added a comment -

Moving this to 4.2.0. In a few weeks, I will have time to work on this. My full time job will have calmed down a bit so I can spend time on this.

Show
Brett Bergquist added a comment - Moving this to 4.2.0. In a few weeks, I will have time to work on this. My full time job will have calmed down a bit so I can spend time on this.
Hide
Brett Bergquist added a comment -

Gone on vacation next week for 2 weeks so I will not be able to work on this for the 4.2.0 release.

Show
Brett Bergquist added a comment - Gone on vacation next week for 2 weeks so I will not be able to work on this for the 4.2.0 release.
Hide
Julien Ponge added a comment -

Thanks for letting us know, and enjoy your vacations

Show
Julien Ponge added a comment - Thanks for letting us know, and enjoy your vacations

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: