Re: Read text error
Re: Read text error
- Subject: Re: Read text error
- From: Emmanuel <email@hidden>
- Date: Thu, 20 Nov 2003 08:41:44 +0100
At 11:01 AM +1100 20/11/03, webguide wrote:
>
G'day folks,
>
>
I'm having a problem with a script which reads a text file before processing
>
it and inserting into a db.
>
>
The error I'm getting on the read is:
>
>
"Could not run the script because the text would be longer than the maximum
>
possible length"
>
>
A try block generates a -20013 error which I've been unable to find any
>
reference to
This is not AppleScript's: could it be your application?
>
The text I'm reading is 384k. Weird thing is that a few days ago it was
>
working fine with files of a similar length.
Did you install any OS upgrade since?
>
2 questions - is there a known limit of the size of a file which can be
>
read?
I don't know, but I have a 400 MB text file that I love so much that I search it from time to time. I search it by performing successive searches on successive chunks obtained with "read the_file for 10000000" (10 MB).
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.