![]() ![]() |
Jun 8 2008, 04:23 PM
Post
#1
|
|
|
WPI Co-Developer Group: Software Developers Posts: 464 Joined: 13-November 05 From: Bettendorf, IA Member No.: 79628 OS: Vista Home Premium x64
|
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. |
|
|
|
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
|
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 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 |
|
|
|
Jun 9 2008, 07:09 PM
Post
#3
|
|
|
WPI Co-Developer Group: Software Developers Posts: 464 Joined: 13-November 05 From: Bettendorf, IA Member No.: 79628 OS: Vista Home Premium x64
|
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. |
|
|
|
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
|
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. |
|
|
|
Jun 10 2008, 09:56 PM
Post
#5
|
|
|
WPI Co-Developer Group: Software Developers Posts: 464 Joined: 13-November 05 From: Bettendorf, IA Member No.: 79628 OS: Vista Home Premium x64
|
It very well could be. Computers at my work have difficulty with WPI, old ones and new ones, different errors, different times......
|
|
|
|
Jun 20 2008, 11:39 PM
Post
#6
|
|
|
Newbie Group: Members Posts: 18 Joined: 26-July 05 Member No.: 66028
|
It fixed my problem,
Thanks, Joe |
|
|
|
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
|
This fixed my problem. Thank you!
|
|
|
|
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
|
yes this fixed the GetOsVer errors for me, thx !!
|
|
|
|
Jul 30 2008, 12:17 AM
Post
#9
|
|
|
Crank up ![]() ![]() ![]() Group: Members Posts: 313 Joined: 2-July 05 From: Vellore Member No.: 62731
|
thank u for the replacement file. this one works here too.
|
|
|
|
Jul 30 2008, 07:16 AM
Post
#10
|
|
|
WPI Co-Developer Group: Software Developers Posts: 464 Joined: 13-November 05 From: Bettendorf, IA Member No.: 79628 OS: Vista Home Premium x64
|
I actually ended up taking the new addition back out. It is redundant because it is also done in boxes.js.
|
|
|
|
Aug 1 2008, 09:58 AM
Post
#11
|
|
|
Crank up ![]() ![]() ![]() Group: Members Posts: 313 Joined: 2-July 05 From: Vellore Member No.: 62731
|
does v7 include this fix?
|
|
|
|
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
|
|
|
|
|
Aug 2 2008, 11:28 AM
Post
#13
|
|
|
WPI Co-Developer Group: Software Developers Posts: 464 Joined: 13-November 05 From: Bettendorf, IA Member No.: 79628 OS: Vista Home Premium x64
|
Yes. Is evrything working OK for you now?
|
|
|
|
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
|
Yes. Is evrything working OK for you now? No , : http://www.msfn.org/board/problem-with-col...in-t121389.html |
|
|
|
Aug 6 2008, 10:55 AM
Post
#15
|
|
|
Crank up ![]() ![]() ![]() Group: Members Posts: 313 Joined: 2-July 05 From: Vellore Member No.: 62731
|
Yes. Is evrything working OK for you now? No , : http://www.msfn.org/board/problem-with-col...in-t121389.html 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 |
|
|
|
Aug 11 2008, 09:37 PM
Post
#16
|
|
|
Newbie Group: Members Posts: 26 Joined: 23-June 06 Member No.: 99628
|
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 |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 7th September 2008 - 11:14 AM |