 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
Robert
Joined: 07 Feb 2002 Posts: 30
|
|
Upgrade bug, 3.4.10 |
|
Hi, I was having a problem yesterday with saving my job database (I'll post more on that later). Anyway, I saw your new upgrade thinking that would solve my problem, but my startup script that worked perfectly before is now giving me errors. The error I keep getting with the new upgrade is: "Bad argument type, expecting variable for return." Here is a snippet of my code: ------------------ Dim (global.RootPath, string) Set (global.RootPath, "\\\\@V"computer"\\24x7\\") // Indicator if TEST or PROD system. Dim (global.isTestServer, boolean) Dim (global.isProdServer, boolean) Dim serverName, string Dim p, number Set(serverName,"@V"computer"") BOMBS HERE!!!!========>Upper(serverName,serverName) GetUCGJobName(8,UCGjobName)<============== LogToAppStatOnEvent("@V"event"",UCGJobName) ------------------ There seems to be a real serious bug in your new release. Thank god my production server does not have that many scripts running on it yet, or I'd be looking really bad. I can email you my startup script that just sets up a bunch of global variables if you would like. Robert
|
|
Thu Jul 03, 2003 10:30 am |
|
 |
Robert
Joined: 07 Feb 2002 Posts: 30
|
|
Re: Upgrade bug, 3.4.10 |
|
Hmm, my code didn't post right. Here they are again: Snippet #1: [Bombs on Upper() function] Dim (global.RootPath, string) Set (global.RootPath, "\\\\@V"computer"\\24x7\\") // Indicator if TEST or PROD system. Dim (global.isTestServer, boolean) Dim (global.isProdServer, boolean) Dim serverName, string Dim p, number Set(serverName,"@V"computer"") Upper(serverName,serverName) Pos(serverName,"TEST",1,p) IsGreater(p,0,global.isTestServer) Not(global.isTestServer,global.isProdServer) Snippet #2 [Bombs on GetUCGJobName() function] dim UCGjobName,String dim failFile, string, "futurestransfer_error.trg" ConcatEx(global.TriggersInDir,failFile,failFile) // the following covers error coditions from 24x7 perspective. SendGenericErrorNotificationONCE(8,"@V"event"") // Covers error coditions from program perspective (looks for .fail file) SendFileExistsNotificationONCE(8,failFile,"","","","@V"event"","ERROR/FINISH") // log stuff to AppStat. GetUCGJobName(8,UCGjobName) LogToAppStatOnEvent("@V"event"",UCGJobName)
|
|
Thu Jul 03, 2003 10:33 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7966
|
|
Re: Upgrade bug, 3.4.10 |
|
Thanks for letting us know about this problem. We are working on an emergency fix. Hopefully it be available later day. BTW, this is a side effect of one of the changes made in the script engine. I am really sorry for the caused inconvenience. : Hmm, my code didn't post right. : Here they are again: Snippet #1: [Bombs on Upper() function] : Dim (global.RootPath, string) : Set (global.RootPath, "\\\\@V"computer"\\24x7\\") : // Indicator if TEST or PROD system. : Dim (global.isTestServer, boolean) : Dim (global.isProdServer, boolean) : Dim serverName, string : Dim p, number : Set(serverName,"@V"computer"") : Upper(serverName,serverName) : Pos(serverName,"TEST",1,p) : IsGreater(p,0,global.isTestServer) : Not(global.isTestServer,global.isProdServer) : Snippet #2 [Bombs on GetUCGJobName() function] : dim UCGjobName,String : dim failFile, string, "futurestransfer_error.trg" : ConcatEx(global.TriggersInDir,failFile,failFile) : // the following covers error coditions from 24x7 perspective. : SendGenericErrorNotificationONCE(8,"@V"event"") : // Covers error coditions from program perspective (looks for .fail file) : : SendFileExistsNotificationONCE(8,failFile,"","","","@V"event"","ERROR/FINISH") : // log stuff to AppStat. : GetUCGJobName(8,UCGjobName) : LogToAppStatOnEvent("@V"event"",UCGJobName)
|
|
Thu Jul 03, 2003 11:15 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7966
|
|
Re: Upgrade bug, 3.4.10 |
|
Please re-download and re-install the upgrade. This problem is now fixed. : Thanks for letting us know about this problem. We are working on an emergency : fix. Hopefully it be available later day. : BTW, this is a side effect of one of the changes made in the script engine. I : am really sorry for the caused inconvenience.
|
|
Thu Jul 03, 2003 7:35 pm |
|
 |
Marcus
Joined: 07 Jul 2003 Posts: 1
|
|
Re: Upgrade bug, 3.4.10 |
|
Hi, i have the same problem with my 24x7. I downloaded the newest upgrade-file, but it still isn't solved : Please re-download and re-install the upgrade. This problem is now fixed.
|
|
Fri Jul 04, 2003 5:17 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7966
|
|
Re: Upgrade bug, 3.4.10 |
|
Please try downloading again. Make sure your web browser does not load the cached file from the disk. If the problem persist please post fragment of your code demonstrating the problem. : Hi, : i have the same problem with my 24x7. I downloaded the newest upgrade-file, : but it still isn't solved
|
|
Mon Jul 07, 2003 10:52 am |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|