Rev crashes when getting back web pages contents
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Wed Jun 1 07:37:29 EDT 2005
Hi Dave,
I did it :-)
After many tests (writing a log file to understand), I can tell:
Yes it seems to work fine when you only get a sequence of urls even
if sometimes the returned data are empty when you know they are not.
But that's not a problem :-)
The problem comes in unpredictably when you set the htmlText of a
field to the url you got...
Sometimes there is not any problem, sometimes Rev crashes :-(
I made my tests with a list of 30 urls leading to Rev related
websites: light pages...
Mac OS 10.4.1/Rev build 77
Best regards from Paris,
Eric Chatonet.
Le 1 juin 05 à 12:13, Dave Cragg a écrit :
> I regularly get a sequence of up to 5000 urls when testing liburl.
> I don't get any problems.
>
> The crashing sounds worrying. I'd guess it's either related to the
> data you're downloading, or just the volume of data you're
> accumulating.
>
> To try and isolate the problem, can you do a series of downloads
> without doing anything to the data (i.e just discard it) and see
> what happens. Something like the following:
>
> ## assuming tUrlList is a list of urls
> repeat for each line tUrl in tUrlList
> get url tUrl
> put length(it) into tLength
> put the result into tRes
> if tRes is empty then put "OK" into tRes
> put tUrl & tab & tRes & tab & tLength & cr after field "res"
> end repeat
>
> Cheers
> Dave
----------------------------------------------------------------
So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
Plugins, tutorials and more on our website
----------------------------------------------------------------
Web site http://www.sosmartsoftware.com/
Email eric.chatonet at sosmartsoftware.com/
Phone 33 (0)1 43 31 77 62
Mobile 33 (0)6 20 74 50 86
----------------------------------------------------------------
More information about the use-livecode
mailing list