IPB

Google Frontpage Forums Unattended CD/DVD Guide
 
Reply to this topicStart new topic
> excludorIsChecked() error, Bug fix!
mritter
post Jun 8 2008, 04:23 PM
Post #1


WPI Co-Developer
Group Icon

Group: Software Developers
Posts: 464
Joined: 13-November 05
From: Bettendorf, IA
Member No.: 79628
OS: Vista Home Premium x64
Country Flag


Here is the cure for the cond problem. I never full tested the code "chinadave" sent since I don't have an excludes at the moment. He had some [i] when they should have been [j]. Makes me wonder if he even tested his own code.

CODE
  if (cond[j] && cond[j][0])
  {
   var c = unescape(ReplacePath(cond[j][0]).replace(/\\/g, "[url=""]\\\\[/url]"));

   try
   {
    if (!eval(c))
     continue;
   }
   catch(e)
   {
    alert(getText(ErrorInCondStatement)+"\n\n" + prog[j] + "\n" + cond[j] + "\n\n"+getText(TreatingAsFalseCond));
    continue;
   }
  }


Download new check.js file here: [attachment=22425:check.rar]

Post here is works, or if not.


Go to the top of the page
 
+Quote Post
Dislocated Time
post Jun 9 2008, 12:16 PM
Post #2


Junior
*

Group: Members
Posts: 86
Joined: 2-November 07
From: Next to the Alps in Germany
Member No.: 160737
OS: 2000
Country Flag


no.gif
Starting WPI:

JavaScript Error Report
Message: Object expected
URL: file://X:/HFSLIPENG/SOURCE/WPI/WPI.hta
File: check.js
Function: CountCheck()
Line: 667

Note: None of my programs appeared in WPI, even though they are still listed in my config.js huh.gif

After clicking the error message away and clicking on the config button:

Message: 'configList[...].prog' is null or not an object
Url:file:///X:/HFSLIPENG/SOURCE/WPI/WPI.hta
File:configwizard.js
Function: FillInConfig()
Line:174

By the way:
Cat is a variable... did you read what I wrote about the variable: perhaps the software reads catch as the variable Cat with the suffix ch.

This post has been edited by Dislocated Time: Jun 9 2008, 01:45 PM
Go to the top of the page
 
+Quote Post
mritter
post Jun 9 2008, 07:09 PM
Post #3


WPI Co-Developer
Group Icon

Group: Software Developers
Posts: 464
Joined: 13-November 05
From: Bettendorf, IA
Member No.: 79628
OS: Vista Home Premium x64
Country Flag


cat as a variable is not a problem; it has been there since the day WPI was written.

I don't know what else you could have done, your config entries work on my computer with the above new code.
Go to the top of the page
 
+Quote Post
Dislocated Time
post Jun 10 2008, 03:33 AM
Post #4


Junior
*

Group: Members
Posts: 86
Joined: 2-November 07
From: Next to the Alps in Germany
Member No.: 160737
OS: 2000
Country Flag


Maybe it's my PC at the moment.
Will try on my other PC after I get off work today.

Thank you very much for your work.
Go to the top of the page
 
+Quote Post
mritter
post Jun 10 2008, 09:56 PM
Post #5


WPI Co-Developer
Group Icon

Group: Software Developers
Posts: 464
Joined: 13-November 05
From: Bettendorf, IA
Member No.: 79628
OS: Vista Home Premium x64
Country Flag


It very well could be. Computers at my work have difficulty with WPI, old ones and new ones, different errors, different times......
Go to the top of the page
 
+Quote Post
jcbrief
post Jun 20 2008, 11:39 PM
Post #6


Newbie


Group: Members
Posts: 18
Joined: 26-July 05
Member No.: 66028
Country Flag


It fixed my problem,

Thanks,
Joe
Go to the top of the page
 
+Quote Post
mr_smartepants
post Jun 29 2008, 09:13 AM
Post #7


House vice-commander, shed CEO
*

Group: Members
Posts: 71
Joined: 18-July 06
Member No.: 102799
OS: none
Country Flag


This fixed my problem. Thank you!
Go to the top of the page
 
+Quote Post
sp00f
post Jul 27 2008, 10:25 PM
Post #8


Senior Member
****

Group: Members
Posts: 642
Joined: 30-November 06
From: Behind you
Member No.: 117138
OS: Vista Ultimate x86
Country Flag


yes this fixed the GetOsVer errors for me, thx !!
Go to the top of the page
 
+Quote Post
rajesh.kumar
post Jul 30 2008, 12:17 AM
Post #9


Crank up
***

Group: Members
Posts: 313
Joined: 2-July 05
From: Vellore
Member No.: 62731
Country Flag


thank u for the replacement file. this one works here too.
Go to the top of the page
 
+Quote Post
mritter
post Jul 30 2008, 07:16 AM
Post #10


WPI Co-Developer
Group Icon

Group: Software Developers
Posts: 464
Joined: 13-November 05
From: Bettendorf, IA
Member No.: 79628
OS: Vista Home Premium x64
Country Flag


I actually ended up taking the new addition back out. It is redundant because it is also done in boxes.js.
Go to the top of the page
 
+Quote Post
rajesh.kumar
post Aug 1 2008, 09:58 AM
Post #11


Crank up
***

Group: Members
Posts: 313
Joined: 2-July 05
From: Vellore
Member No.: 62731
Country Flag


does v7 include this fix?
Go to the top of the page
 
+Quote Post
sp00f
post Aug 1 2008, 07:16 PM
Post #12


Senior Member
****

Group: Members
Posts: 642
Joined: 30-November 06
From: Behind you
Member No.: 117138
OS: Vista Ultimate x86
Country Flag


QUOTE (rajesh.kumar @ Aug 1 2008, 05:58 PM) *
does v7 include this fix?

Good question, i also like to know.
Go to the top of the page
 
+Quote Post
mritter
post Aug 2 2008, 11:28 AM
Post #13


WPI Co-Developer
Group Icon

Group: Software Developers
Posts: 464
Joined: 13-November 05
From: Bettendorf, IA
Member No.: 79628
OS: Vista Home Premium x64
Country Flag


Yes. Is evrything working OK for you now?
Go to the top of the page
 
+Quote Post
sp00f
post Aug 5 2008, 03:44 PM
Post #14


Senior Member
****

Group: Members
Posts: 642
Joined: 30-November 06
From: Behind you
Member No.: 117138
OS: Vista Ultimate x86
Country Flag


QUOTE (mritter @ Aug 2 2008, 07:28 PM) *
Yes. Is evrything working OK for you now?

No , : http://www.msfn.org/board/problem-with-col...in-t121389.html no.gif
Go to the top of the page
 
+Quote Post
rajesh.kumar
post Aug 6 2008, 10:55 AM
Post #15


Crank up
***

Group: Members
Posts: 313
Joined: 2-July 05
From: Vellore
Member No.: 62731
Country Flag


QUOTE (sp00f @ Aug 6 2008, 03:14 AM) *
QUOTE (mritter @ Aug 2 2008, 07:28 PM) *
Yes. Is evrything working OK for you now?

No , : http://www.msfn.org/board/problem-with-col...in-t121389.html no.gif


Edit : One issue - http://www.msfn.org/board/problem-with-col...585#entry786585

ok, i have only one column, and the issue related to it.
And the basic error is not anymore in this version.

This post has been edited by rajesh.kumar: Aug 6 2008, 11:40 AM
Go to the top of the page
 
+Quote Post
vampus8
post Aug 11 2008, 09:37 PM
Post #16


Newbie


Group: Members
Posts: 26
Joined: 23-June 06
Member No.: 99628
Country Flag


This fixed a problem I was having too. On WPI boot I'd get this error:

CODE
Line: 471
Char: 5
Error: Object Required
Code: 0
Url: file:///C:/DuD30b3/WPI/WPI.hta

(Same error when loading from disc instead of hard drive just with disc's wpi.hta in URL.)

Same bug would get triggered when I checked or unchecked certain install options. Specifically, it'd pop up when the program I checked had an excl condition excluding another install option that wasn't showing up on the list for whatever reason (e.g. because I'd deleted the files already but left the option in my config.js for safekeeping or because there was a typo in the cond statement).

Anyway, installing the new file from this thread fixed the problem.

Well done and thanks for the ongoing effort.

Cheers,
Kevin
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 7th September 2008 - 11:14 AM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2008 msfn.org
Privacy Policy