Copiar vínculo al Portapapeles
Copiado
Hi everyone,
I'm facing a strange error when running my script in Script Debugger.
"Internal Table Overflow ".
I guess this might be a memory Problem. My Script contains more than 1000 Lines.
But i really don know what to do to solve this Problem. Can anyone help me out in this?
Thanks,
Jacintha
Copiar vínculo al Portapapeles
Copiado
I have worked with scripts of over 2,000 lines without seeing that problem.
Try restarting ESTK with the Shift key held down. That will reset its preferences.
Dave
Copiar vínculo al Portapapeles
Copiado
Sorry. I'm not aware of ESTK.
What it is? Where to do this?
Copiar vínculo al Portapapeles
Copiado
Yes i'm working on AppleScript.
Copiar vínculo al Portapapeles
Copiado
Try restarting your computer...
Harbs
Copiar vínculo al Portapapeles
Copiado
By the fact that you wrote Script Debugger, I'm guessing you're
talking AppleScript, but you really should specify what scripting
language you are working in...
Harbs
Copiar vínculo al Portapapeles
Copiado
You can run much longer scripts than that in SD, but it's possible to get that error from AppleScript. Try stepping through the script to find where the problem happens, and post the relevant section.
--
Shane Stanley <sstanley@myriad-com.com.au>
AppleScript Pro Sessions <http://scriptingmatters.com/aspro>
Copiar vínculo al Portapapeles
Copiado
I'm using XML Rules Processing in my script
on XMLProcessing(glbInitialElement, ruleSet)
tell application "Adobe InDesign CS3"
set pathArray to {}
repeat with aRule in ruleSet
set pathArray to pathArray & (glbXPath of aRule)
end repeat
set myProcessor to make XML rule processor given rule paths:pathArray
-- Some code
end tell
end XMLProcessing
to ProcessingXpath()
script ProcessingXpath
property xpath : glbXPath
on apply(myXMLElement, myRuleProcessor)
end apply
end script
end ProcessingXpath
And when i execute the below code, i get this error.
set myProcessor to make XML rule processor given rule paths:pathArray
it returns to "end ProcessingXPath" function and raises an error "Internal Table Overflow".
Copiar vínculo al Portapapeles
Copiado
Oy, it sounds like something happening in the bowels of Adobe's code. Sorry I can't be any more helpful...
¡Prepárate! En enero llega una experiencia mejorada de Adobe Community.
Más información