Copy link to clipboard
Copied
Hello.
We have a book which has 530 files. This book is in FrameMaker10 format.
Now we want to resave all files to FM12 format.
We used FrameMaker Scripting to open all book components, open the document and save document and then close.
The problem is that it only processes 176 files and then it crashes with message in console:
Script Error :
Error Message : Uncaught exception Open
Script, Line# : D:\Temp\FM_HierarchicalBooks.jsx, 73
so it fail by calling Open function.
Then we have tried to create simple FDK plugin to do the same work and it fails with same error.
What can be a problem?
Copy link to clipboard
Copied
If the script and plugin fail at the same file, I would try opening the file by hand and see if you get any errors. Otherwise, it could be a memory issue.
Another thing you can: make a copy of the book and delete all of the components that have already been converted and start the script again. See if it fails on the same component or if it gets farther before failing.
Copy link to clipboard
Copied
Hello.
Yes, when we delete some components and start it again, this works.
I have splitted book to 5 parts with 150 documents and then resave works.
Then I combined all documents to book and tried to import EDD to then and it works.
Then only problem what remains is that when book has 500 files, it cannot be resaved as whole.
The problem is we need to have all files in a book.
Copy link to clipboard
Copied
Hello.
We have achieved resave of whole book with opening the FramaMaker documents invisible.
Then whole resave was successful.
Then I tried the files in Fm12 format to resave again with opening document visible and it fails with same error.