Guest u4910 Report post Posted 02/05/2009 03:55 AM I am trying to use a run module to get xml from a web site using "wget". I am using RV variables to put in the correct parameters for the URL. Replace start and replace end work fine. It seems that when it does getfilename and getdirectoryname that it puts some extra ][ in the runtime string. I don't want to post my log file since it has some userid's in it. Do you have an email that I can send it to? Thanks! Share this post Link to post
SupportTeam Report post Posted 02/05/2009 06:30 AM Could you post the vgEngine traces capturing the call and before posting just replace the UserIDs with "******" ? Share this post Link to post
Guest u4910 Report post Posted 02/05/2009 07:19 PM I'd rather not if OK. Can I just email it to you. I dont' want to give away to much since this is proprietary for what I am doing. Share this post Link to post
SupportTeam Report post Posted 02/05/2009 07:42 PM Direct support is accessed though a Support Plan. If you have a Support Plan through us then you can email the files or any questions direct to the Support Plan account. To enquire about support plan costs please contact sales@voiceguide.com. For free support all questions and traces etc. need to be posted on this free support forum. Can you perhaps just create a small script which demonstrates the problem that you have encountered and post it and the traces here? Share this post Link to post
Guest u4910 Report post Posted 02/06/2009 10:12 PM Here is an example file. Notice line 1035. I am doing a wget, but is seems to be putting ][ in the middle before the parameter, and throwing it off I think. example_0204_2224_vgEngine.txt Share this post Link to post
SupportTeam Report post Posted 02/07/2009 01:29 AM seems to be putting ][ in the middle before the parameter Had a quick look at the trace and the "][" seems to be the end/start of the square bracket that is sometimes used in vgEngine tracing to indicate string separation. Notice how there is a "[" near beginning of the trace line and a "]" near the end. Would need to confirm exactly what the log trace indicates but it looks like the first string stores the program to be ran and the second string stores the parameter passed to the program. Should have a better answer on Monday. For now suggest you try experimenting with simpler commands in the Run Program module and track down at which stage the problem occurs. Another approach may be to setup a .BAT file and call that .BAT file from the Run program module instead. Pass the $RV values as parameters to the .BAT file. 222514.577 6 3 rv replace start: ["C:\Program Files\GnuWin32\bin\wget -Oe:\ivr\outbound1\$RV[CustID]_$RV[Get List]_OutDial_new.xml "http://www.somesite.com/get_outbound.asp?userid=$RV[CustID]&list_no=$RV[Get List]"] 222514.577 6 3 rvns: [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptPath]{E:\ivr\outbound1\}[scriptsPath]{E:\ivr\outbound1\}[$RV_STARTTIME]{2009-02-04 22:25:03}[$RV_DEVICEID]{3}[DlgcVoice]{dxxxB1C2}[DlgcNetwork]{dxxxB1C2}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[scriptsPath]{E:\ivr\outbound1\}[$RV_CIDNUMBER]{}[Welcome]{2}[CustID]{1234}[DB Cust_custid]{1234}[DB Cust_1]{1234}[DB Cust_custid_1]{1234}[DB Cust_1_1]{1234}[DB Cust_RowCount]{1}[Evaluate 2_Input]{}[Evaluate 2]{}[NG]{}[Get List]{4} 222514.587 6 3 run=[C:\Program Files\GnuWin32\bin\wget -Oe:\ivr\outbound1\1234_4_OutDial_new.xml ]["http://www.somesite.com/login/tj/get_outbound.asp?userid=1234&list_no=4"]'>http://www.somesite.com/login/tj/get_outbound.asp?userid=1234&list_no=4"],'>http://www.somesite.com/login/tj/get_outbound.asp?userid=1234&list_no=4"], Hide, wait=1 222514.587 6 3 ShellExe start [C:\Program Files\GnuWin32\bin\wget -Oe:\ivr\outbound1\1234_4_OutDial_new.xml ]["http://www.somesite.com/login/tj/get_outbound.asp?userid=1234&list_no=4"] 222514.828 6 3 ERROR v7.0.3293.39631 (Tue 06/01/2009 22:01:02.03) ShellExe Process.Start [C:\Program Files\GnuWin32\bin\wget -Oe:\ivr\outbound1\1234_4_OutDial_new.xml ]["http://www.somesite.com/login/tj/get_outbound.asp?userid=1234&list_no=4"] : The system cannot find the file specified Share this post Link to post
Guest u4910 Report post Posted 02/07/2009 05:11 AM I made a batch file work, but this means making batch files on the fly, and I don't really want to do that, but may in the short term. Share this post Link to post