MSFN Forum: Runtime and JavaScript errors - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Runtime and JavaScript errors same WPI run with errors on computer1 and well on computer2 Rate Topic: -----

#1 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 806
  • Joined: 01-January 04

Posted 02 February 2009 - 06:39 AM

Hi,

I'm using WinXP Pro and WPI 6.2 since while, and everything worked like a charm.

Today, I undertaked to update my installed progs and the wpi config.js file obviously. Time to time I lauched WPI to verify that everything works.
Suddenly by launching wpi.hta, I got a Runtime error (see here/image bellow)
A Runtime error has occurred
Do you wish to debug?

Line: 39
Error: 'bit64' is undefined
By clicking [No], Igot JavaScript Error (see here/image bellow)
JavaScript Error Report

Message 'configs[...].0' is nul or not an object
URL:file:///F:/XPCD_SP2/Software/WPI/WPI.hta
File: check.js
Function: check0
Line: 215
By clicking [OK], WPI start but config.js NOT loaded.
As i have a copies/backup of that WPI, on other drives in the same computer I tested them... same problem... can't get ride from those errors.
Then I made a copy of that WPI (with errors) to a second computer and run it... it works like a charm.

Anyone can help how to get ride from those errors?
Regards
coucou

[attachment=24840:WPI_error1.jpg]
[attachment=24842:WPI_error2.jpg]


#2 User is offline   lordsepid 

  • Junior
  • Pip
  • Group: Members
  • Posts: 57
  • Joined: 22-December 07
  • OS:XP Pro x86
  • Country: Country Flag

Posted 02 February 2009 - 07:04 AM

i don't know the error but i had almost same problems once and i decided to reinstall my windows.
after that the problem solved. also upgrading to new version would definitely help you. :yes:

#3 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 806
  • Joined: 01-January 04

Posted 03 February 2009 - 06:13 AM

View Postlordsepid, on Feb 2 2009, 02:04 PM, said:

i don't know the error but i had almost same problems once and i decided to reinstall my windows.
after that the problem solved. also upgrading to new version would definitely help you. :yes:

TNX for this radical solving problem :wacko: :no:

In the meantime, that a clever person find a solution, i'm testing my WPI update on a Vmawre machine it seems worgin fine. Hope NOT waiting much.

Regards
coucou

#4 User is offline   mritter 

  • WPI Co-Developer
  • Group: Developers
  • Posts: 1,088
  • Joined: 13-November 05

Posted 04 February 2009 - 08:47 AM

The only way to get that error about bit64 is if you overwrote your old WPI folder with the new one and globals.js didn't get updated for some reason. Or you have some old reg keys hanging around.

1) Delete the entire WPI folder in registry: HKCU\Software\WPI

2) Download WPI again and copy in your old options.js and config.js

3) Run WPI and update your config file.

4) Quit and run again to see if works properly.

#5 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 806
  • Joined: 01-January 04

Posted 04 February 2009 - 08:54 AM

TNX mritter,

right now i'm out for a week.
I'll test it later

Regards
coucou

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy