Runtime error with 'get URL'
I am on Windows 2000 with two machines A and B. I develop and debug on A, but test standalones on both A and B. I have a runtime error that I have isolated to the following code in the preOpenStack handler: ... get URL ClientDataCurrent answer calling from preOpenStack, this is what is \ read from the data_current file: return it if (the result is not empty) then exit routine end if put it into gWhatever ... On machine A in both the IDE and standalone, gWhatever is populated and everything works as desired. On machine B, the code gets nothing from the text file (confirmed by the answer dialog during runtime). The result testing is not triggered in any scenario. Moreover, on both A and B I can validate connectivity by pasting the URL into a browser and seeing the data directly. Any ideas? Are there additional tests I can do during runtime that will shed light on this? Mark ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Runtime error with 'get URL'
On Wednesday, January 14, 2004, at 10:24 AM, Mark Powell wrote: Any ideas? Are there additional tests I can do during runtime that will shed light on this? What is 'the result' and 'the syserror'? What version of Rev? Is the URL on B? Dar Scott ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Runtime error with 'get URL'
On Wednesday, January 14, 2004, at 10:32 AM, Dar Scott wrote: Any ideas? Are there additional tests I can do during runtime that will shed light on this? What is 'the result' and 'the syserror'? What version of Rev? Is the URL on B? Does B have to go through a proxy? Dar ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Runtime error with 'get URL'
PARAPHRASED FROM DAR What is 'the result' and 'the syserror'? What version of Rev? Is the URL on B? Does B have to go through a proxy? The result is empty. Rev 2.0.1. I did not know about 'the syserror', will try it out. Machine B does not go through a proxy, and similar routines in standalones have worked on this machine before. The URL is to a location on the company intranet. PARAPHRASED FROM DAVE === the result may be from the answer?... http or ftp etc? libUrl loaded? I put the answer dialog late in the process, same results before I inserted it. I can go back in and remove it just to validate. The URL is an http one. Is the loading of libURL a function of what machine you are one (the standalone does work on machine A). == ORIGINAL MESSAGE == I am on Windows 2000 with two machines A and B. I develop and debug on A, but test standalones on both A and B. I have a runtime error that I have isolated to the following code in the preOpenStack handler: ... get URL ClientDataCurrent answer calling from preOpenStack, this is what is \ read from the data_current file: return it if (the result is not empty) then exit routine end if put it into gWhatever ... On machine A in both the IDE and standalone, gWhatever is populated and everything works as desired. On machine B, the code gets nothing from the text file (confirmed by the answer dialog during runtime). The result testing is not triggered in any scenario. Moreover, on both A and B I can validate connectivity by pasting the URL into a browser and seeing the data directly. Any ideas? Are there additional tests I can do during runtime that will shed light on this? Mark === ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Runtime error with 'get URL'
At 10:04 am -0800 14/1/04, Mark Powell wrote: Is the loading of libURL a function of what machine you are one (the standalone does work on machine A). It shouldn't be ... But the issue of loading libraries has come up before, and I think the rev libraries, including libUrl are loaded in a preOpenBackground handler . You might want to try this suggestion, previously posted by Richard Gaskin: As a workaround, try adding this in your preOpenStack handler just before you open your login stack: send preOpenBackground to group revLibraries But it doesn't explain the works on one machine, not on another issue. get URL ClientDataCurrent answer calling from preOpenStack, this is what is \ read from the data_current file: return it if (the result is not empty) then exit routine end if put it into gWhatever Although still not explaining the difference between machines, I'm fairly sure the above script won't do what you intend. Assuming you want to gather the data from the url in gWhatever, this would be better: put URL ClientDataCurrent into tData if the result is not empty then ## error handing and exit here end if answer calling from preOpenStack, this is what is \ read from the data_current file: return tData put tData into gWhatever How do you fill ClientDataCurrent? Is this different between users/machines/locations? You might want to check that it contains a valid url on the failing machine. Cheers Dave ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution