discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: invalid printinfo data, NetBSD


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,
My only nitpick now remains that perhaps we should return "nil" as
printInfo 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.
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)


Some useful NSlog would helped me hours of debugging :)

Did you try to use --GNU-Debug=GSPrinting
Actually no, I don't even know all these debug options, a Wiki page would be nice!

Riccardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]