The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniGraffle > OmniGraffle General
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Can't create PDF: "Failure when trying to produce data of type Apple PDF pasteboard" Thread Tools Search this Thread Display Modes
I'm trying to create a PDF of a 30-canvas document that worked fine until recently.

During PDF creation, I get a dialog box saying "Error when printing", and then another dialog box saying "The document [name.graffle] could not be saved to [name.pdf]. Failure when trying to produce data of type Apple PDF pasteboard type - check the console for messages.

The console has the following:

Code:
===== Tuesday, 5 August 2008 17:03:51 Europe/London =====
2008-08-05 17:05:15.794 OmniGraffle Professional[1967] Exception in [<OGShadowCacheManager: 0x16114490> drawGraphic:inView:forceCacheOnly:]: Error (1007) creating CGSWindow
2008-08-05 17:05:16.083 OmniGraffle Professional[1967] Exception in [<OGShadowCacheManager: 0x16114490> drawGraphic:inView:forceCacheOnly:]: Error (1007) creating CGSWindow
2008-08-05 17:05:16.272 OmniGraffle Professional[1967] Exception in [<OGShadowCacheManager: 0x16114490> drawGraphic:inView:forceCacheOnly:]: Error (1007) creating CGSWindow
2008-08-05 17:05:16.809 OmniGraffle Professional[1967] Exception in [<OGShadowCacheManager: 0x16114490> drawGraphic:inView:forceCacheOnly:]: Error (1007) creating CGSWindow
2008-08-05 17:05:16.883 OmniGraffle Professional[1967] Exception in [<OGShadowCacheManager: 0x16114490> drawGraphic:inView:forceCacheOnly:]: Error (1007) creating CGSWindow
2008-08-05 17:05:16.919 OmniGraffle Professional[1967] Exception in [<OGShadowCacheManager: 0x16114490> drawGraphic:inView:forceCacheOnly:]: Error (1007) creating CGSWindow
2008-08-05 17:05:18.743 OmniGraffle Professional[1967] Exception in [<OGShadowCacheManager: 0x16114490> drawGraphic:inView:forceCacheOnly:]: Error (1007) creating CGSWindow
2008-08-05 17:05:20.345 OmniGraffle Professional[1967] Unlocking Focus on wrong view ({
    "01_frame" = "{{19592, 0}, {2448, 1584}}"; 
    "__self__" = "<RenderingView: 0x161d1530>"; 
}), expected {"01_frame" = "{{801, 6}, {82, 32}}"; "__self__" = "<NSButton: 0x15b1950>"; }
2008-08-05 17:05:20.911 OmniGraffle Professional[1967] unlockFocus called too many time.
I don't know if it's related, but when I open the OG document, I also get these errors in Console (but OG otherwise functions normally):

Code:
2008-08-05 17:02:05.986 OmniGraffle Professional[1967] -[NSScriptSuiteRegistry aeteResource:] - the only supported language name is English.
2008-08-05 17:02:07.191 OmniGraffle Professional[1967] Warning: image "1" not found; removing image fill
2008-08-05 17:02:07.192 OmniGraffle Professional[1967] <OGShapeTool: 0x161561f0> loadTool: Unknown shape "2427381E-C855-4E16-A447-F65CB17DCE32-255-000016E0ACFC7CB5", will replace with Rectangle
Aug  5 17:02:07 francois-jordaans-computer-2 /Applications/OmniGraffle Professional 4.app/Contents/MacOS/OmniGraffle Professional: CGGStackRestore: gstack underflow.
I have tried exporting the canvases I have recently added individually (including some which have pasted-in bitmaps), but all these PDFs were created successfully.

I would really appreciate prompt help on this, as this has come out of the blue and I need to produce this PDF on a tight deadline.
 
The problem has inexplicably disappeared. All that I've changed is to quit Parallels in order to free up system resources.
 
The Error (1007) creating CGS Window is something I have seen far too much of on Leopard when using memory intensive apps (e.g. RapidWeaver often fails to publish for me with this error message - my site is very large and uses a lot of RAM to publish). I suspect it is an OS bug rather than an app specific one, but it is incredibly annoying when it occurs. If you check out all the messages in console do you also start to see lots of malloc errors around the same time? That has been another symptom I have seen when this error occurs.
 
Btw, I believe CGS stands for Core Graphics System, which suggests the bug is there and Apple's to solve.
 
Hi Guys,

I've been getting this error quite a bit lately...

Seems that if i'm working on a large canvas (80cm x 120cm) and using high quality PNG and PDF's to create my images the file size climbs a bit

As soon as I try to create a PDF/BMP/PNG via the export function I get this message

The document ... could not be exported as .... Failure when trying to produce data of type BMP - check the console for messages

Now the console returns some random error which makes no sense,

Any suggestions?

B

(iMac 27'' 2.8 i7, with 8GB Ram, OSX 10.6.2)
 
1 Yes, it is an Apple bug.

2 But it is no big deal to work around. Just delete the file you are trying to write (Eg. export PDF vector image), and then export.
 
hi guys -

this last post seems to suggest there is a fix for this... but i don't understand it - i.e.: what does delete the file you're trying to write mean?

is there anyway to fix this error? i get the same thing when i'm exporting large files to PDF on osx 10.6.8

thx!
 
Just in case it applies to anyone else, I have gotten the "Failure to to produce data of type..." message when I accidentally try to export canvases marked for non-printing.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to FIND text in columns that have the type property set to "pop-up list" qomni OmniOutliner 3 for Mac 20 2013-12-04 04:18 PM
Can't sort a column when its type property is set to "pop-up list" qomni OmniOutliner 3 for Mac 8 2012-02-02 11:05 AM
Can I default to "Embed attachment" rather than "Create link?" eepmatt OmniFocus 1 for Mac 4 2011-03-14 07:44 AM
How to create task with "due date" BUT without "due time" ? fire00 OmniFocus 1 for Mac 3 2010-04-14 12:36 AM
Feature request: "Bucket" default project type Mitch Wagner OmniFocus 1 for Mac 14 2008-12-10 03:09 PM


All times are GMT -8. The time now is 11:08 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.