Runtime error with 'get URL'

Mark Powell Mark.Powell at veritas.com
Wed Jan 14 13:04:22 EST 2004


==== 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
===========================


More information about the use-livecode mailing list