discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Printing not working at all...


From: Fred Kiefer
Subject: Re: Printing not working at all...
Date: Wed, 13 Jul 2016 22:01:16 +0200

Hi Riccardo,

the first thing I notice from your stack trace is that the line numbers are 
missing. That way I cannot tell which exception gets thrown. Most likely the 
PPD file is missing or corrupt. If the file is actually missing, you should try 
to select a different default printer. If there aren't any PPD files at all, as 
you wrote, you need to find out why that is the case.

Your issue with exceptions on X11 may be resolved by commenting out the line in 
NSMenuView.m that captures the mouse.

Even with that problem your results show that printing is still working, at 
least in some way. This poses the question why Greg is getting different 
results. I am currently far away from my computer so I am of little help. Maybe 
on the weekend I find a bit of time to look into that. As far as I am aware 
there hasn't been any changes to the printing code in the last year. The last 
obvious change I remember was by German to make PPD parsing saver.

Fred

On the road

Am 13.07.2016 um 18:10 schrieb Riccardo Mottola <riccardo.mottola@libero.it>:
> Gregory Casamento wrote:
>> It seems that printing is no longer producing a proper .ps file when it's 
>> supposed to save to disk or even when it's supposed to print.   More 
>> correctly, it is producing the file, but it is of zero length.
>> 
>> Have there been any changes recently which anyone can think of which might 
>> have caused this?  I'm asking to see if anyone knows offhand because at this 
>> point I'm having to search through the latest commits to see if it's 
>> something which has been done recently.y
> I can only partially reproduce this.
> 
> Graphos prints fine for me!
> Ink however does not, print has an exception and I see no print panel. SInce 
> it locks up X11 while in the debugger, getting a stacktrace was difficult. I 
> see this:
> 
> Breakpoint 1, 0x00007aedc665766d in -[NSException raise] ()
>   from /System/Library/Libraries/libgnustep-base.so.1.24.9
> (gdb) bt
> #0  0x00007aedc665766d in -[NSException raise] ()
>   from /System/Library/Libraries/libgnustep-base.so.1.24.9
> #1  0x00007aedc6656e03 in +[NSException raise:format:arguments:] ()
>   from /System/Library/Libraries/libgnustep-base.so.1.24.9
> #2  0x00007aedc6656d41 in +[NSException raise:format:] ()
>   from /System/Library/Libraries/libgnustep-base.so.1.24.9
> #3  0x00007aedc7126240 in -[NSPrinter(PPDParsingPrivate) 
> loadPPDAtPath:symbolValues:inclusionSet:] () from 
> /System/Library/Libraries/libgnustep-gui.so.0.25.0
> #4  0x00007aedc7125dd4 in -[NSPrinter(PPDParsing) parsePPDAtPath:] ()
>   from /System/Library/Libraries/libgnustep-gui.so.0.25.0
> #5  0x00007aedb3a04453 in +[GSLPRPrinter printerWithName:] ()
>   from /System/Library/Bundles/GSPrinting/GSLPR.bundle/GSLPR
> #6  0x00007aedc7123e5a in +[NSPrinter printerWithName:] ()
>   from /System/Library/Libraries/libgnustep-gui.so.0.25.0
> #7  0x00007aedb3a03459 in +[GSLPRPrintInfo defaultPrinter] ()
>   from /System/Library/Bundles/GSPrinting/GSLPR.bundle/GSLPR
> #8  0x00007aedc7128677 in +[NSPrintInfo defaultPrinter] ()
>   from /System/Library/Libraries/libgnustep-gui.so.0.25.0
> #9  0x00007aedc71288d9 in -[NSPrintInfo initWithDictionary:] ()
>   from /System/Library/Libraries/libgnustep-gui.so.0.25.0
> #10 0x00007aedc712852a in +[NSPrintInfo sharedPrintInfo] ()
>   from /System/Library/Libraries/libgnustep-gui.so.0.25.0
> #11 0x00007aedc70908a3 in -[NSDocument printInfo] ()
> 
> PPDs are no longer installed? where should be they?
> Also I wonder why one application prints, the other not.
> 
> Riccardo




reply via email to

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