bleach Report post Posted 03/21/2004 03:09 PM I've got a problem when I tried to jump to a certain script. I had one gaming script that i copied over to different file names, so i could create multiple tables of the game, but voiceguide spits out an error at me when i try to select the # that loads it. the error is : 232007.38 0 Script Load C:\Shared\bj3.vgs 232008.14 -1 ERROR 5.1.8001 VgsScriptLoad [C:\Shared\bj3.vgs]:0 232008.14 10 Loaded C:\Shared\bj3.vgs into:-1 232008.14 10 ERROR 5.1.8001 Could not load script C:\Shared\bj3.vgs I think the problem might be because all the scripts are so alike, same module names, etc, just minor differences in variable names and bets. If i do a reboot and a reload of VoiceGuide, the jumps will work for half an hour or so, then act up again with the error. I've attached a copy of one of the copied scripts, does everything look kosher with it? bj3.vgs Share this post Link to post
SupportTeam Report post Posted 03/21/2004 10:47 PM As you can see from the trace VG has not saved much information about the causes of the problem - the attached .exe has more debug information added to it and if you can reproduce the problem then the trace information generated should help us to resolve it immediately. Could you please update your VoiceGuide installation to v5.2.1 then update VoiceGuide directory with attached .exe and try to replicate the problem. VgMult_5.2.1017_dp_instr_ScriptLib_.zip Share this post Link to post
bleach Report post Posted 03/22/2004 11:59 PM I've upgraded and reproduced the error. It was working for about 6 hours today, then just now started acting up again. It didn't give much more information. 175153.52 11 [MultiBJ] Playing 175153.52 11 [MultiBJ] Playing (C:\Shared\RexTalk\black-jack\BJ-INTRO.WAV) 175153.53 11 PlaySoundStart ok [C:\Shared\RexTalk\black-jack\BJ-INTRO.WAV] 175153.53 11 TimeoutClear 175153.53 11 RunModule PLAY end 175153.53 11 wa(25410,5118700) 175153.53 11 callinfo MONITORMODES 175158.33 11 dtmf 2 (65893,50,2) 175158.33 11 ScriptEventCode 50 iLineState=1100 175158.33 11 LsPlayMsg 2 175158.33 11 stack idx=1 175158.33 11 rv add [scriptStart_Time]{3/22/2004 5:51:58 PM} 175158.33 11 rv add [scriptStart_CalledFrom_Script]{C:\Shared\tripbj.vgs} 175158.34 11 rv add [scriptStart_CalledFrom_Module]{MultiBJ} 175158.42 0 Script Load C:\Shared\bj.vgs 175159.41 0 ERROR 5.2.1017 ProcessVgsEntry => -1 175159.41 -1 ERROR 5.2.1017 VgsScriptLoad [C:\Shared\bj.vgs] line:0, 0: 175159.41 11 Loaded C:\Shared\bj.vgs into:-9 175159.41 11 ERROR 5.2.1017 Could not load script C:\Shared\bj.vgs 175218.95 11 wb(5118700) Share this post Link to post
SupportTeam Report post Posted 03/23/2004 03:18 AM It looks like you have loaded enough scripts to exceed a total amount of 1000 VoiceGuide modules loaded at the same time... Please tell us some more about what scripts (names & size) which are loaded during the course of running this system. Are you by any chance using dynamically (changeable/variable) named scripts? The 1000 loaded modules limit was an arbitrary limit in VG - basically it was not expected to run scripts which total bigger then 1000 modules and to optimize speed at loading time the memory for modules is pre-allocated - once it is exceeded then no more modules will be loaded. The attached .exe has had the limit of loaded modules raised to 20,000. Please update your installation with this .exe and then you should not see the problem (unless your scritps are bigger then 20,0000 modules.... ) We will soon remove this limit altogether as it looks like we have a large number of customers starting to write large (500+ modules) scripts. I think in the version which is coming out in about a month there will be no limit on number of modules loaded. VgMulti_5.2.1021_dp_instr_ScriptLib.zip Share this post Link to post
bleach Report post Posted 03/23/2004 08:09 PM The attached exe did the trick, thanks a lot. I've got probably 10 scripts or so that I'm running, and at least 5 are over 150 modules, so I can see how a 1,000 limit would be reached quickly. I've noticed that in 5.1.2 DTMF tone recognition isn't as sensitive in my previous version. sometimes I have to press a button several times to get it picked up. Also when VoiceGuide is first started up it can be slow going to other modules and playing sound files. Does this have to do with VoiceGuide getting things buffered? Share this post Link to post
SupportTeam Report post Posted 03/24/2004 12:38 AM The DTMF tone recognition is done in the Dialogic card (or modem), so there would be no difference in DTMF detection between various versions of VoiceGuide - VG does not set or change any parameters relating to DTMF tone detection on the Dialogic card. Also when VoiceGuide is first started up it can be slow going to other modules and playing sound files. Does this have to do with VoiceGuide getting things buffered? There should be no difference between performance on first call and subsequent calls. Very little extra work is done on the first call. Are you sure no other programs are running on system at the same time? Did you have a look at the Windows' Task Manager at the time and monitor the CPU usage and what applications are using the CPU? Could you please post a copy of VoiceGuide's Debug Printout which captures the problem, this will allow us to see what is happening. Best to probably capture first call and the some other call later on to demonstrate the difference.. Share this post Link to post
bleach Report post Posted 07/05/2004 08:33 AM I've had to upgrade to 5.2.2 because of crashes, and it looks like that did the trick, but it seems that the 1000 module limit is still in effect. Is there anyway you can attach an exe patch for 5.2.2 that has no limit? Share this post Link to post
SupportTeam Report post Posted 07/05/2004 09:57 PM v5.2.3 will either have no limit on how many modules can be used or the limit will be raised to 10000 Share this post Link to post
bleach Report post Posted 07/05/2004 10:01 PM I cannot wait until 5.2.3. My system is useless now because of the limit existing in 5.2.2, and If i revert back to 5.2.1 I'll have to deal with random crashes. Is there anyway you can just send another modified version? Share this post Link to post
SupportTeam Report post Posted 07/05/2004 10:40 PM Lets try this: Unzip attached file and place the two .exe's in VG directory. Place OCX in Windows' \System32\ directory. (OCX is for Dialogic analog cards - I'm assuming you are using Dialogic analog) Please let us know if this works for you or if you get some other errors popping up about missing files or anything else. PS. What type of applications are you using VoiceGuide for? v5.2.2_with_30000_module_limit.zip Share this post Link to post
bleach Report post Posted 07/06/2004 02:42 AM The patch created some new problems. The error in the log is: 183457.91 12 LsSayNbrPlay EV_TIMEOUT_GOTOMODULE 183457.91 12 stack idx=1 183457.91 12 eng SetVgsVgm: using [C:\Shared\CopyPersonal.vgs] 183457.91 0 LoadedVgs_Find C:\Shared\CopyPersonal.vgs at idx=5 183457.91 12 [CheckPersonals2] Running VB Script... 183457.91 12 rv replace start (strlen>500) 183457.91 12 eng copy of script ran: vbs_12_1.vbs 183457.92 12 Run Script waiting... (shellid=1404, process=1688) 183458.92 12 ScriptEventCode 9007 iLineState=1501 183458.92 12 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 183458.92 12 task completed (shellid=1404, process=1688) 183458.92 12 ERROR 5.2.2045 LsRunWtf_Error:0:9:Subscript out of range 183458.92 12 Hanging up call... [3788] That vbscript module has ran fine up until the change of exe's Share this post Link to post
SupportTeam Report post Posted 07/06/2004 08:49 AM Please place this EXE in VG's directory and try again. VgMulti_5.2.2046.zip Share this post Link to post