• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Read text error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Read text error
      • From: Walter Ian Kaye <email@hidden>
References: 
 >Read text error (From: webguide <email@hidden>)

  • Prev by Date: Re: How do I return current user information
  • Next by Date: Re: Getting label from a record
  • Previous by thread: Re: Read text error
  • Next by thread: Re: Read text error
  • Index(es):
    • Date
    • Thread