Reply to topic  [ 14 posts ] 
Console log filling up with print errors 
Author Message
User avatar

Joined: 2004-04-26 10:20:33
Posts: 44
Location: London, UK
Whenever I print from Nisus Express I get hundreds of messages written to the console log, a sample:

Nov 14 15:00:05 Fenris /Applications/Nisus/Nisus Writer Express.app/Contents/MacOS/Nisus Writer Express: CGContextGetCTM: invalid context
Nov 14 15:00:05 Fenris /Applications/Nisus/Nisus Writer Express.app/Contents/MacOS/Nisus Writer Express: CGContextGetAlpha: invalid context
Nov 14 15:00:05 Fenris /Applications/Nisus/Nisus Writer Express.app/Contents/MacOS/Nisus Writer Express: CGContextSaveGState: invalid context
Nov 14 15:00:05 Fenris /Applications/Nisus/Nisus Writer Express.app/Contents/MacOS/Nisus Writer Express: CGContextSetAlpha: invalid context
Nov 14 15:00:05 Fenris /Applications/Nisus/Nisus Writer Express.app/Contents/MacOS/Nisus Writer Express: CGContextGetCompositeOperation: invalid context
Nov 14 15:00:05 Fenris /Applications/Nisus/Nisus Writer Express.app/Contents/MacOS/Nisus Writer Express: CGContextSetCompositeOperation: invalid context
Nov 14 15:00:05 Fenris /Applications/Nisus/Nisus Writer Express.app/Contents/MacOS/Nisus Writer Express: CGContextDrawImage: invalid context
Nov 14 15:00:05 Fenris /Applications/Nisus/Nisus Writer Express.app/Contents/MacOS/Nisus Writer Express: CGContextRestoreGState: invalid context
Nov 14 15:00:05 Fenris /Applications/Nisus/Nisus Writer Express.app/Contents/MacOS/Nisus Writer Express: CGContextRestoreGState: invalid context
Nov 14 15:00:05 Fenris /Applications/Nisus/Nisus Writer Express.app/Contents/MacOS/Nisus Writer Express: CGContextSaveGState: invalid context
Nov 14 15:00:05 Fenris /Applications/Nisus/Nisus Writer Express.app/Contents/MacOS/Nisus Writer Express: CGContextConcatCTM: invalid context
Nov 14 15:00:05 Fenris /Applications/Nisus/Nisus Writer Express.app/Contents/MacOS/Nisus Writer Express: CGContextConcatCTM: invalid context
Nov 14 15:00:05 Fenris /Applications/Nisus/Nisus Writer Express.app/Contents/MacOS/Nisus Writer Express: CGContextGetCTM: invalid context
Nov 14 15:00:05 Fenris /Applications/Nisus/Nisus Writer Express.app/Contents/MacOS/Nisus Writer Express: CGContextGetAlpha: invalid context
Nov 14 15:00:05 Fenris /Applications/Nisus/Nisus Writer Express.app/Contents/MacOS/Nisus Writer Express: CGContextSaveGState: invalid context

I am using Nisus Express 2.5, MacOSX 10.4.3, and printing to a Canon i850 inkjet.
Other applications print without any problems.

_________________
Geoff Roynon
Mac Pro 2.66MHz, MacOS X 10.8.1
NW Pro 2.0.4


2005-11-14 11:13:17
Profile
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
Post 
It looks like these log messages are not being generated by Express itself, but rather by "Fenris". What is Fenris exactly?


2005-11-14 15:10:52
Profile WWW
User avatar

Joined: 2004-09-09 18:07:11
Posts: 333
Location: Utah
Post 
martin wrote:
It looks like these log messages are not being generated by Express itself, but rather by "Fenris". What is Fenris exactly?


Maybe?


2005-11-14 20:00:03
Profile ICQ WWW

Joined: 2003-11-21 19:25:28
Posts: 333
Location: Sydney, Australia
Post 
martin wrote:
It looks like these log messages are not being generated by Express itself, but rather by "Fenris". What is Fenris exactly?


'Fenris' is the machine's hostname I believe (similar msgs, not from NWX, in my console log show the hostname there). Those messages do seem to be coming from/triggered by NWX.

Geoff, have you checked for newer print drivers from Canon?


2005-11-14 23:13:34
Profile
User avatar

Joined: 2004-09-09 18:07:11
Posts: 333
Location: Utah
Post 
Looks like some kind of core graphics issue. I wonder if it's just some corrupted file? Maybe one that's diseased or somehow simply impure? ;)


2005-11-14 23:17:02
Profile ICQ WWW
User avatar

Joined: 2004-04-26 10:20:33
Posts: 44
Location: London, UK
Post 
"Fenris" is my computer name (my PowerBook is called "Loki").
I am running with the latest driver from Canon for the i850 printer. These messages only show up when printing from Nisus Express, when I print from other applications, AppleWorks, NoteBook, etc. there are no messages.

_________________
Geoff Roynon
Mac Pro 2.66MHz, MacOS X 10.8.1
NW Pro 2.0.4


2005-11-15 02:57:05
Profile
User avatar

Joined: 2004-04-26 10:20:33
Posts: 44
Location: London, UK
Post 
I did some googling today for this problem and found the following on the SourceForge forum:

One thing that I noticed in the API-SUMMARY file for the CG reference
was to CGContextMeasureRTFTextInRect, which looks like it provides
similar functionality to AppKit's [NSString sizeWithAttributes:]
method. I googled for any documentation on this, but nothing is found
on it, so I thought I would give it a try anyway. The results it
gives seem to be correct, but it is throwing up a heap of warnings (I
guess - an error would stop the program)

CGContextClipToRect: invalid context
CGContextSaveGState: invalid context
CGContextSetShouldAntialias: invalid context
CGContextRestoreGState: invalid context
CGContextSetFillColorWithColor: invalid context
CGContextSetStrokeColorWithColor: invalid context
CGContextSetTextMatrix: invalid context
CGContextSetFont: invalid context
CGContextSetFontSize: invalid context
CGContextSetFontRenderingMode: invalid context
CGContextSetCharacterSpacing: invalid context
CGContextSetTextPosition: invalid context
CGContextShowGlyphsWithAdvances: invalid context

I think this is because the arguments don't actually take a reference
to a context. Should I just ignore this or is this method not
implmented properly?

The URL for this is: http://sourceforge.net/mailarchive/foru ... nth=200509

Don't know if this makes sense to the Nisus programmers?

_________________
Geoff Roynon
Mac Pro 2.66MHz, MacOS X 10.8.1
NW Pro 2.0.4


2005-11-15 08:45:26
Profile
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
Post 
dshan wrote:
'Fenris' is the machine's hostname I believe (similar msgs, not from NWX, in my console log show the hostname there). Those messages do seem to be coming from/triggered by NWX.

Oops, that was a silly oversight on my part. Are we talking about the giant wolf Fenris then?

dshan wrote:
Geoff, have you checked for newer print drivers from Canon?

This is definitely a good idea. Please give it a try Geoff.

GeoffRoynon wrote:
Don't know if this makes sense to the Nisus programmers?

It does provide a clue that I'll be happy to pass along. Geoff, I gather this problem shows itself when you print any document? Even so, could you send me a sample document using the Help > Send Feedback mechanism? Thanks.


2005-11-16 14:47:48
Profile WWW
User avatar

Joined: 2004-04-26 10:20:33
Posts: 44
Location: London, UK
I'm posting this topic again to see if I can get it resolved. Whenever I print from NWE or NWP I get hundreds of errors in the Console and System logs for each page that is printed.
An example of the latest errors:

Oct 24 19:54:17 Fenris /Applications/Beta/Nisus Writer Pro 1.0.2 public beta.app/Contents/MacOS/Nisus Writer Pro: CGContextGetCompositeOperation: invalid context
Oct 24 19:54:17 Fenris /Applications/Beta/Nisus Writer Pro 1.0.2 public beta.app/Contents/MacOS/Nisus Writer Pro: CGContextSetCompositeOperation: invalid context
Oct 24 19:54:17 Fenris /Applications/Beta/Nisus Writer Pro 1.0.2 public beta.app/Contents/MacOS/Nisus Writer Pro: CGContextDrawImage: invalid context
Oct 24 19:54:17 Fenris /Applications/Beta/Nisus Writer Pro 1.0.2 public beta.app/Contents/MacOS/Nisus Writer Pro: CGContextConcatCTM: invalid context
Oct 24 19:54:17 Fenris /Applications/Beta/Nisus Writer Pro 1.0.2 public beta.app/Contents/MacOS/Nisus Writer Pro: CGContextRestoreGState: invalid context
Oct 24 19:54:17 Fenris /Applications/Beta/Nisus Writer Pro 1.0.2 public beta.app/Contents/MacOS/Nisus Writer Pro: CGContextGetCompositeOperation: invalid context

When I reported this error previously, I was using a Canon i850 inkjet (with the latest drivers). I have now upgraded to a new Canon iP4500, also with the latest drivers and the errors are still occurring. I can print with no errors to the same printer with Pages and NeoOffice. In fact, NWE & NWP are the only applications that cause these errors so I assume it is a Nisus problem (I have tried TextEdit - no problem).

I will send one of my documents to Nisus using feedback once I have posted this but don't think it will help.

Geoff

_________________
Geoff Roynon
Mac Pro 2.66MHz, MacOS X 10.8.1
NW Pro 2.0.4


2007-10-24 11:25:00
Profile
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
Post 
Thanks Geoff, I've received your documents. Unfortunately we are no closer to understanding the cause. We can't even reproduce the warning messages with the (non-Canon) printers we have in office.

As you may know, the printing and display systems on OSX are connected in a way that allows developers to easily create WYSIWYG applications. We write one set of code that specifies what you should see and OSX is responsible for translating these instructions for either your graphics card or printer as necessary. This is a great thing for us, but when something goes amiss under the hood it's hard for us to know the cause, especially if we can't reproduce the problem.

The most likely explanation is that something Nisus Writer is doing indirectly rubs your printer drivers the wrong way. Unfortunately that's all the information I have. Sorry to not be of more help.


2007-10-24 17:23:49
Profile WWW
User avatar

Joined: 2007-01-17 03:25:42
Posts: 729
I get errors like Geoff does whenever I print any document from NWP on any printer. The same documents printed from TextEdit or Jedit X do not give anything in the Console log. Here are some unique examples of errors, rearranged alphabetically. Each appears several times:

CGContextAddLineToPoint: invalid context
CGContextBeginPath: invalid context
CGContextClipToRect: invalid context
CGContextConcatCTM: invalid context
CGContextDrawImage: invalid context
CGContextDrawPath: invalid context
CGContextFillRects: invalid context
CGContextGetAlpha: invalid context
CGContextGetBaseCTM: invalid context
CGContextGetCompositeOperation: invalid context
CGContextGetCTM: invalid context
CGContextMoveToPoint: invalid context
CGContextRestoreGState: invalid context
CGContextSaveGState: invalid context
CGContextSetAlpha: invalid context
CGContextSetCharacterSpacing: invalid context
CGContextSetCMYKFillColor: invalid context
CGContextSetCMYKStrokeColor: invalid context
CGContextSetCompositeOperation: invalid context
CGContextSetFillColorSpace: invalid context
CGContextSetFillColorWithColor: invalid context
CGContextSetFillPattern: invalid context
CGContextSetFont: invalid context
CGContextSetFontRenderingMode: invalid context
CGContextSetFontSize: invalid context
CGContextSetLineCap: invalid context
CGContextSetLineJoin: invalid context
CGContextSetLineWidth: invalid context
CGContextSetPatternPhase: invalid context
CGContextSetShouldAntialias: invalid context
CGContextSetStrokeColorSpace: invalid context
CGContextSetStrokeColorWithColor: invalid context
CGContextSetStrokePattern: invalid context
CGContextSetTextMatrix: invalid context
CGContextSetTextPosition: invalid context
CGContextShowGlyphsWithAdvances: invalid context

etc. etc. etc.


2007-10-25 00:10:05
Profile
User avatar

Joined: 2004-04-26 10:20:33
Posts: 44
Location: London, UK
Post 
I'm glad I'm not the only one with this problem. I responded by e-mail to Martin today and mentioned that I had the same problem with the initial version 7.0 release of Adobe Acrobat Reader. I complained to them and they resolved it by version 7.03 or 7.04.
I use the console log to check that I have no problems with security or disks etc. But with the log filling up with these error messages it makes it difficult.

I am currently playing around with Pages to see if I can use that for printing Nisus documents but it's not a good way to do things.

Geoff

_________________
Geoff Roynon
Mac Pro 2.66MHz, MacOS X 10.8.1
NW Pro 2.0.4


2007-10-25 01:14:26
Profile
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
Post 
Thanks for the additional information- we'll investigate this further.


2007-10-26 13:02:55
Profile WWW
User avatar

Joined: 2004-04-26 10:20:33
Posts: 44
Location: London, UK
I installed NW Pro 1.2 today and tested the printing and it appears that this bug is finally fixed! I have been using Pages almost exclusively for the last year because of this.

_________________
Geoff Roynon
Mac Pro 2.66MHz, MacOS X 10.8.1
NW Pro 2.0.4


2008-11-06 07:57:51
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software