Printing Problems

We have been using Yosemite in PowerCADD development from the first of the Apple beta releases, and it’s behaved normally for us and operated without problems in everything we’ve done with it.

But it’s quite common that obscure problems will show up over time, sometimes in six months, sometimes in a year and sometimes even longer.  Problems that happen only with some users or under certain circumstances are extraordinarily difficult to isolate and replicate, but once the problem is understood, it is usually a very easy and simple thing to fix.  That’s the case here.

While everyone was able to print from Yosemite, beginning in February 2015 a few users reported that PowerCADD would crash after using the Print dialog to create a PDF.  Then they noticed that it would happen after the seventh print operation.

Crash logs showed that it was a problem with disposing of menus deep in the Apple programming, and it had nothing to do with PowerCADD or WildTools.

In March, Derek Dubout was able to find the source of the problem.

The Problem

Like all programs, PowerCADD has to provide some basic resources to Apple’s Print window where you will find PowerCADD Settings in the menu, and this includes choices like Print Area, Print To, Fit to Page, etc.

PowerCADD has all this in the PowerCADDCustomPDE.bundle which is located in the PlugIns folder that is inside the PowerCADD program package at the path

PowerCADD/Contents/PlugIns/PowerCADDCustomPDE.bundle

The simplest solution is to manually remove this from PowerCADD.  It will stop all of the crashes, however you will give up the PowerCADD Settings and the choices that go with them.

To Manually Remove

To be safe, make a backup copy of PowerCADD.

  • Make sure PowerCADD is not running.
  • Locate the PowerCADD application in the Finder (Applications/PowerCADD 9/PowerCADD)
  • Right-click on the application and select “Show Package Contents”.
  • Open or expand the Plugins folder.
  • Locate the file PowerCADDCustomPDE.bundle (see image below).
  • Hold down the Command key and drag the file out to some other location.
  • Verify the action using your password.

You may now restart PowerCADD.

PowerCADDInternalPlugIns

The next two choices are to manually replace or use an updater to do the same thing.  Both methods replace this plugin with one that has a slight internal change that means you can continue to use the PowerCADD Settings and the choices that go with them.  This has no effect on the programming, only how the Macintosh OS unloads things.

To Manually Replace

Download the repaired plugin (this is compatible with PowerCADD 9.1.3 and fixes the printing problems with El Capitan):

PowerCADDCustomPDE.bundle

To be safe, make a backup copy of PowerCADD.

  • Make sure PowerCADD is not running.
  • Locate the PowerCADD application in the Finder (Applications/PowerCADD 9/PowerCADD)
  • Right-click on the application and select “Show Package Contents”.
  • Open or expand the Plugins folder.
  • Locate the file PowerCADDCustomPDE.bundle (see image above).
  • Hold down the Command key and drag the file out to some other location as a backup.
  • Verify the action using your password.
  • Drag the just-downloaded file PowerCADDCustomPDE.bundle into the Plugins folder replacing the existing file.
  • Verify the action using your password.

You may now restart PowerCADD.

You may do this if you are running Mavericks, but it doesn’t change or fix anything, so there’s really no purpose for doing this except to prepare for an update to Yosemite or El Capitan.

To Replace with Repair Print Crash Updater

Derek Dubout has created a Repair Print Crash program, that automates the process of replacing the files as described above.  It’s simple to use, but the Macintosh OS will not let you run this without giving it permission.

Download the Repair Print Crash file (this is compatible with PowerCADD 9.1.3 and fixes the printing problems with El Capitan):

RepairPrintCrash

This is a .zip file.  Double-click on the file to decompress it.

RepairPrintCrashView

You will then have a folder with Repair Print Crash and PowerCADDCustomPDE.bundle.

Do not move either of these out of the folder.

This updater will only update PowerCADD 9.1.3 and no other version.

  • Make sure PowerCADD is not running.
  • Double-click on the Repair Print Crash program.

It will ask you to locate the PowerCADD program.

When you click to update, the Macintosh OS will not let the program run, so…

  • Select System Preferences from the Apple menu.
  • Click on Security & Privacy.
  • Authorize the OS to run Repair Print Crash.

After it runs, you will get a message “The Printing Crash problem has been repaired.”

You may now restart PowerCADD.

 

If you would like to send Derek a note of thanks, his email is: derekdubout@optusnet.com.au

Update

This problem has been fixed in the upcoming PowerCADD 9.1.4