Jump to content
You must now use your email address to sign in [click for more info] ×

Publisher "stopped working" when opening afpub document


Recommended Posts

The document I created is of a reasonable size - 17.9 MB (18,782,101 bytes), 10 pages, each page containing 9 cards for a game project.

The document will cause the application to crash 80%+ of the time. I have tried a few things to alleviate the issue; changing the render from "UHD Graphics 605" to "WARP" has not helped, although I thought it may, but that was just the minimal chance of opening without a crash, apparently.
I changed much of the imagery within the document from .eps to .svg, when I could open the document, which were smaller, but that did not help, either.

There are no logs, or error message, created by Publisher to indicate what the issue is.

While typing this, I managed to open the document without crashing, and split the document into 5 parts, 2 pages per document, then closed the application and re-opened each of the smaller documents individually, without any issue; for now…

Is that it? Does Publisher allow a document to be created that is too large to be re-opened?
If so, then maybe some internal protection is required…

Link to comment
Share on other sites

6 minutes ago, DavidRGreen said:

… I'm out of possible ideas right now.

Keep testing (lots), if it crashes on another of the smaller documents then it could be something common to both/all documents e.g. Master page(s), a Logo/image, etc

If it only crashes on that one smaller document, probably quickest to just redo those pages in a new document or upload that document, to the forum, for further analysis

PS the size of your original document is definitely not the problem

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Link to comment
Share on other sites

  • Staff

Hi @DavidRGreen welcome to the forums,

As Carl mentioned, it is highly unlikely that the crashes is a result from the file size. If you could provide us with a few of the latest crash reports along with the original file that would be beneficial in us finding out what may be causing the crashes.

I've linked the forum thread below which details where to find crash reports, if you don't feel comfortable uploading your files to the forum I can provide a private dropbox link.

 

 

Link to comment
Share on other sites

Hi Nathan,

As I mentioned in my original report, Publisher is terminating without generating a "Crash report", the aforementioned directory was devoid of any relevant entries. But while typing this, I opened a few of the split files, and they apparently opened without issue, for the time being. But, a new entry in the "Crash report" path was created.

2df7f872-503f-497c-b62d-c9774c0317fc.dmp

But, I'll attach one of the split files anyway, that had caused a crash.

Solo Play Card Deck - large icon - sheet1.afpub

As I plan to expand this document in future, I am keen to come to terms with what is causing the issue. So while these documents contain 9 elements arranged on a single page, I am staring to create a new version using a 9-Up layout with each element on a separate "page". But that will take a while to build…

I can't read that .dmp file, but I will be interested if it can throw some light on the problem.

/David…

Link to comment
Share on other sites

I have been working through the large document I created.

Instead of being 17.9 MB (18,782,101 bytes), it is now 15.8 MB (16,604,122 bytes) in size. Although, it is understood that the document size is not the issue, I have been reducing the number of assets in the document, which I have done by transferring them from the content body to the Master page.

This process is only partially complete, but about 40 elements have been removed so far, mostly (rounded) box elements and text, and a few undisplayed SVGs. The document is a work in progress, so there have been some element additions as well, but an overall reduction.

In the last two days, the document now has only crashed Publisher about 50% of the time. Obvious scope for improvement, but an improvement none the less. Better than the aforementioned 80% crash rate.

So while size may not be the issue, maybe element type and count is significant.

Link to comment
Share on other sites

I have pretty much finished shrinking the document down to its minimum. All repeatable elements that were transferable to the Master Page have been removed from the main body of the document. And I also discovered that all the bitmap images, including the backgrounds, were embedded, contrary to an assumed link status, but that's changed. The document size is now 4.94 MB (5,187,545 bytes).

As reliability goes, for the past two days, I did notice that when I opened the document for the first time in the day, it would crash Publisher. But then if I opened the document again, without much delay, it would not crash, and in those past two days, any other time it was opened on that day, Publisher would not crash. Next day, crash on first opening of the document, and never again on that day.

… that does strike me as unusual; as if opening causes something that allows it to re-open without crashing.

Given that document size is not supposed to be issue, and at 5Mb, that's not unreasonable, it could be element count. I didn't count every element in the document, but there is about 800 by extrapolation in the document body overall.
There are two Master pages, one contains 117 elements, the other contains 9 elements.
So, all up, about 930 elements; a mix of "Artistic Text", Rounded corner boxes, Donuts, Lines, SVG pictures, and a few bitmap pictures, all are linked.

I hope that the links between the document and the assets are relative. It may be a nightmare if the document moves to a new path and they are absolute.

With more than 150 elements per page, that may be pushing Publisher's envelope.

… Is that it?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.