• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

crash indesign during export pdf processor

Explorer ,
Oct 23, 2022 Oct 23, 2022

Copy link to clipboard

Copied

hi every body, i have a question, during a script who open document list, and update each link by recursion, for finish to export to pdf , i have a strange problem, and i try to isolate where is it

 

if i select a big folder with lot of sub folder and arround 70 file need to be updated

 my script turn with visual code, without any arror and never stop

indesgin crash 9/10, and every time on the same file. and i feel it crash during exportto pdf function

this crashed file is arorund 60/70 position file, mean befor it , 59 file war exported with success.

 

 

and other test, if i choose only the folder contain 10 file need to be updated

this file will not crash indesign

 

 my loop is include into

 try{}

catch(err){
   alert(err.line+" => "+err.message);
}
 
and no error is showed (because indesign is down)
 
how to open a error windows with visual code and not indesign?
TOPICS
Scripting

Views

121

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 23, 2022 Oct 23, 2022

Copy link to clipboard

Copied

$.writeln(err.line + " =>" + err.message);

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 23, 2022 Oct 23, 2022

Copy link to clipboard

Copied

thanks i will test

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 23, 2022 Oct 23, 2022

Copy link to clipboard

Copied

Hi @laurence roussel12011930, to troubleshoot this, add a line into your loop that logs the counter and the document name.

$.writeln('i = ' + i + '  document.name = ' + document.name);

 This will hopefully tell you if (a) it is crashing Indesign on a particular document, or (b) if it is crashing Indesign after a number of iterations. As soon as you find out that the crash happens always at a particular document you can investigate that document further by isolating it in a folder by itself.

- Mark

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 23, 2022 Oct 23, 2022

Copy link to clipboard

Copied

LATEST

thanks, will test soon, but very strange because if isolate = no problem, if in small group= no problem, if in big group = crash

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines