[wpkg-users] wpkg.js crashing?

Brian May brian at vpac.org
Thu Apr 17 02:25:30 CEST 2008


Brian May wrote:

> 2008-04-15 15:58:33, DEBUG  : Going to install package 'Java Runtime 
> Environment 6 Update 5' (java6), Revision 5, (execute flag is '', notify 
> flag is 'true').
> 2008-04-15 15:58:33, DEBUG  : Package 'Java Runtime Environment 6 Update 
> 5' (java6): Not yet processed during this session.
> 2008-04-15 15:58:33, DEBUG  : Checking existence of package: Java 
> Runtime Environment 6 Update 5
> 2008-04-15 15:58:42, DEBUG  : Uninstall entry for Java(TM) 6 Update 5 
> missing: test failed
> 2008-04-15 15:58:42, DEBUG  : Package 'Java Runtime Environment 6 Update 
> 5' (java6): Installed but checks failed. Re-Installing.
> 2008-04-15 15:58:42, DEBUG  : Found system locale: c09
> 2008-04-15 15:58:42, DEBUG  : Found language definition node for 
> language ID c09
> 
> Lately it seems to stop here every time. Any ideas?

Now that I have resolved the other problems, or at least they have gone 
away for now, this issue remains.

Ok, I changed the notify(message) code too:

dinfo("XXXX notification suppressed. Message: " + message);
info("User notification suppressed. Message: " + message);
dinfo("really not going to notify user");

The first message gets displayed in the log file, but the next two aren't.


Ok, now I commented out this code in log(type, destination):

         //if ((type & 7) > 0 || isDebug()) {
         //      if(isQuiet()) {
         //              WshShell = WScript.CreateObject("WScript.Shell");
         //              WshShell.logEvent(type, description);
         //      } else {
         //              alert(description);
         //      }
         //}

Now it works!

Maybe somebody else can tell me what is wrong with that code, it looks 
fine to me. Not that I really understand this WScript.Shell stuff. I can 
only assume it is generating an exception that is not caught anywhere 
and results in the entire process getting killed.

Brian May




More information about the wpkg-users mailing list