|
From: | Riccardo Mottola |
Subject: | Re: invalid printinfo data, NetBSD |
Date: | Tue, 03 Jan 2012 08:57:04 +0100 |
User-agent: | Mozilla/5.0 (X11; NetBSD i386; rv:8.0) Gecko/20111219 Thunderbird/8.0 |
Hi,
An invalid object is perhaps the worst thing indeed.. An exception, a nil object are more user and programmer friendly. In this case, GNUstep is looking up one of its own configuration files, if it fails, clearly some misconfiguration or internal bug happened (like in my case the domain local / sytem got mixed up somehow)My only nitpick now remains that perhaps we should return "nil" asprintInfo if the PPD information is invalid, and not some partial object.The only thing we could do here is to raise an exception, if the files could not be read. Probably this is better than working with an invalid object.
Actually no, I don't even know all these debug options, a Wiki page would be nice!Some useful NSlog would helped me hours of debugging :)Did you try to use --GNU-Debug=GSPrinting
Riccardo
[Prev in Thread] | Current Thread | [Next in Thread] |