SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Upgrade bug, 3.4.10

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Upgrade bug, 3.4.10
Author Message
Robert



Joined: 07 Feb 2002
Posts: 30

Post Upgrade bug, 3.4.10 Reply with quote

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 View user's profile Send private message
Robert



Joined: 07 Feb 2002
Posts: 30

Post Re: Upgrade bug, 3.4.10 Reply with quote

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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: Upgrade bug, 3.4.10 Reply with quote

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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: Upgrade bug, 3.4.10 Reply with quote

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 View user's profile Send private message
Marcus



Joined: 07 Jul 2003
Posts: 1

Post Re: Upgrade bug, 3.4.10 Reply with quote

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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: Upgrade bug, 3.4.10 Reply with quote

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 View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.