Hi,
I have a script that archives a GIThub project page hierarchy into a single PDF document. Till recently, it worked very well, but now a get a random problem that I cannot explain. This complete script fyi can be found here.
During the loop, I call the “create PDF document from” function of DT like shown below.
set contentobject to create PDF document from newwebsiteurl name newwebsiteurl
if contentobject is missing value then
log "DT create PDF document returns 'missing value'"
log " from: " & newwebsiteurl & ", name: " & newwebsiteurl
log " return: " & contentobject
end if
Since recently, the “create PDF document from” randomly returns “missing value”. It’s about 1 out of 10 URLs. No PDF is created in this case. (I need the contentobject to later merge all single PDFs into one).
For each run, even on the same repository, it’s a different sub-set of pages that produces the missing value. It really looks random.
When I open the URL in question in the browser, it shows the page. The URL is valid.
I don’t know exactly as of which DT moment/version this occurs. The DT log file that I can access via the DT menu does not show any message.
Has someone an idea?
Might there be a regression in a newer DT version?
Is there a way to get more information about what triggers the issue (eg other low-level logfiles)?
Thank you very much!
I.