| 
| 
| 
| #182227 - 2007-11-04 09:28 AM  bug on opening script in 4.60 |  
| paperinik   Fresh Scripter
 
 Registered:  2007-11-04
 Posts: 23
 Loc:  Germany
 | 
Here is another Bug in 4.60 :
 Just make a script with the following two lines for example:
 
 $ffx = DelTree("HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla Firefox abc")
 exit @error
 
 The result:
 failed to find/open script ...
 
 with 4.53 and earlier all works fine.
 
 comment:
 As I can see 4.60 has lots of bugs. Itīs more a beta-version than a full release.
 
 
 |  
| Top |  |  |  |  
| 
| 
| #182243 - 2007-11-05 08:43 AM  Re: bug on opening script in 4.60
[Re:  paperinik] |  
| paperinik   Fresh Scripter
 
 Registered:  2007-11-04
 Posts: 23
 Loc:  Germany
 | 
1.
 The problem is not if the key exists or not.
 you can write
 
 $ffx = DelTree("HKEY_LOCAL_MACHINE\Software\Mozilla\blabla")
 exit @error
 
 and save it to "testbug.kix" too.
 
 When opening under 4.53 all works, in 4.60 there comes:
 "ERROR : failed to find/open script [testbug.kix]!"
 
 (Tested under Windows 2000)
 
 2.
 You are right with your possible solution:
 when I change
 exit @error
 to
 exit @serror
 then it works in 4.53 and in 4.60 too.
 
 3.
 The problem is, that if I want to use 4.60 I have to change the scripts, because some commands could effect some things like the described.
 
 4.
 Result:
 Commands which have no problems in 4.53, now could have problems in 4.60.
 Thats a risk which it is not necessary to have.
 
 |  
| Top |  |  |  |  
| 
| 
| #182252 - 2007-11-05 10:52 AM  Re: bug on opening script in 4.60
[Re:  Richard H.] |  
| paperinik   Fresh Scripter
 
 Registered:  2007-11-04
 Posts: 23
 Loc:  Germany
 | 
@richard h.
 You are mostly right.
 I made some tests with the following results:
 
 1.
 Script #1:
 ? @kix
 $ffxdel = deltree ("HKEY_LOCAL_MACHINE\Software\Mozilla\blabla\")
 ? @error
 exit @error
 
 result kix4.53:
 4.53
 2
 
 result kix4.60:
 4.60
 2
 ERROR : failed to find/open script [testbug1.kix]!
 
 2.
 Script #2:
 ? @kix
 exit -123
 
 result kix4.53:
 4.53
 ERROR : failed to find/open script [testbug2.kix]!
 
 result kix4.60:
 4.60
 
 3.
 Script #3:
 ? @kix
 exit 123
 
 result kix4.53:
 4.53
 
 result kix4.60:
 4.60
 
 
 Script #4:
 ? @kix
 exit 2
 
 result kix4.53:
 4.53
 
 result kix4.60:
 4.60
 ERROR : failed to find/open script [testbug4.kix]!
 
 5.
 comment:
 in #1 all returns are positive, but with 4.60 there is an errormessage on exit.
 in #2 the value is negative, 4.53 react as you described with an errormessage, but 4.60 exit without an errormessage!
 in #3 the exit value is positive, 4.60 and 4.53 works fine.
 in #4 the value is 2, but with 4.60 there is an errormessage on exit (like in #1).
 
 The results in #1 and #2 with 4.60 and 4.53 are conversely and contradictory.
 There could be a problem with some values with the exit-command.
 
 
 Edited by paperinik (2007-11-05 11:16 AM)
 Edit Reason: adding testresult #3 and #4
 
 |  
| Top |  |  |  |  
| 
| 
| #182254 - 2007-11-05 11:26 AM  Re: bug on opening script in 4.60
[Re:  paperinik] |  
| paperinik   Fresh Scripter
 
 Registered:  2007-11-04
 Posts: 23
 Loc:  Germany
 | 
I tested some more values on
 exit [value]
 
 It seems that the value "2" is the only one with the problem in kix4.60
 
 |  
| Top |  |  |  |  
| 
| 
| #191780 - 2009-01-14 01:48 PM  Re: bug on opening script in 4.60
[Re:  Lonkero] |  
| paperinik   Fresh Scripter
 
 Registered:  2007-11-04
 Posts: 23
 Loc:  Germany
 | 
I tested.This bug is really fixed in 4.61b1
 
 |  
| Top |  |  |  |  
 Moderator:  ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
 
 | 
| 
 
| 0 registered
and 360 anonymous users online. 
 | 
 |  |