Rebol crashes reading NASDAQ symbol file
[1/5] from: ddharing::mindspring::com at: 30-May-2002 21:47
I'm trying to read a symbol list from nasdaq.com. It is about a 2.5 meg CSV
file. Reading it from the web crashes Rebol, but reading it from the hard
disk is OK. I have tried Rebol/Core and Rebol/View on 2 different computers.
This script NEVER works without crashing:
REBOL[]
nasdaq: read/lines http://www.nasdaq.com/asp/symbols.asp?exchange=Q&start=0
This script is OK:
REBOL[]
nasdaq: read/lines %nasdaq.csv
Size seems to matter. The AMEX file is only about 500K and it reads OK with
the first script. Is this a bug or am I doing something wrong?
Thanks.
[2/5] from: greggirwin:mindspring at: 30-May-2002 21:07
Hi David,
<< I'm trying to read a symbol list from nasdaq.com. It is about a 2.5 meg
CSV
file. Reading it from the web crashes Rebol, but reading it from the hard
disk is OK. I have tried Rebol/Core and Rebol/View on 2 different computers.
>>
Try with the new beta releases, if you can, but it's worth a feedback if
they fail as well. Have you tried it without the /lines refinement or with
/direct?
--Gregg
[3/5] from: atruter:hih:au at: 31-May-2002 14:03
> Try with the new beta releases, if you can, but it's worth a feedback if
> they fail as well. Have you tried it without the /lines refinement or
with
> /direct?
I just tried the same thing with the Beta version and it crashed as well.
The /direct refinement does the trick though.
Regards,
Ashley
[4/5] from: al:bri:xtra at: 31-May-2002 16:15
It could well be a time out issue. IIRC there was a discussion about this on
this list some time ago. Might be a mention in Core .pdf manual as well.
Andrew Martin
ICQ: 26227169 http://valley.150m.com/
[5/5] from: ddharing:mindspring at: 2-Jun-2002 13:42
Yes, using the /direct refinement works. I still don't like the totally
ungraceful crash of the Rebol interpreter without this refinement. In
software, though, having a workaround is the next best thing.
Thanks, Ashley, Gregg and Andrew for your help!
David.