Re: Read text error
Re: Read text error
- Subject: Re: Read text error
- From: Christopher Nebel <email@hidden>
- Date: Thu, 20 Nov 2003 10:59:42 -0800
On Nov 19, 2003, at 4:01 PM, webguide wrote:
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.
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.
That's an internal Script Editor 1.x error that happens when you try to
log something that's bigger than 20K. I'm guessing you have the event
log open this time, but didn't before. Script Editor 2.0 doesn't have
this restriction.
Is there a known limit of the size of a file which can be read?
There is, but it's 1 GB, so it'll be a while before you hit that.
--Chris Nebel
AppleScript Engineering
_______________________________________________
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.