Bug 145223 - printer daemon dies, cannot print
Summary: printer daemon dies, cannot print
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdeprint
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KDEPrint Devel Mailinglist
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-09 12:54 UTC by Gregor B. Rosenauer
Modified: 2011-05-27 18:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregor B. Rosenauer 2007-05-09 12:54:54 UTC
Version:            (using KDE 3.5.6, Kubuntu (feisty) 4:3.5.6-0ubuntu14)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.22-1-386

I reproducably experience kdeprint crashing when using the PDF printer for several jobs (3-5 are sufficient to trigger this bug).
Sometimes GhostscriptEPS dies, but mostly I get the error that "kdeprint is not running/reachable", which is resolved on logging out and in again (hence restarting the daemon).

I will add the exact error messages on the next occasion, sorry I do not remember the wording.
There is an old related bug which I haven't found now.
Comment 1 Gregor B. Rosenauer 2007-05-22 17:01:22 UTC
also happened on Feisty 7.0.4 PPC on my Apple Powerbook G4.
After some prints (using PDF-output and a HP PCL5 Laserjet 5si-driver), the daemon dies and printing is no longer possible: (sorry, German translation):

"Fehler bei der Druckausgabe. Das System meldet:
Abhängiger Druckprozess kann nicht gestartet werden. Der KDE-Druckserver (kdeprintd) ist nicht auffindbar. Stellen Sie sicher, dass der Server läuft."
Comment 2 Gregor B. Rosenauer 2007-06-21 11:18:24 UTC
This may be related: the gs-backend returns an error on some files (maybe the whitespace is still a problem? see also bug #40294):

A print error occurred. Error message received from system:

Abnormal process termination (gs -q -dSAFER -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$out{/media/grexdox/Medien/DVD-Authoring unter Linux_Marco Kraus.pdf} -sPAPERSIZE=a4 -c .setpdfwrite -f '/tmp/kde-grexe/kdeprint_8Lg4Ylui'

I tried to PDF-print the page at:
http://www.kraus.tk/publications/DVDauthoring-Artikel/dvdauthoring.html
Comment 3 David Bailey 2007-11-04 23:47:24 UTC
I can reliably produce this condition on OpenSUSE 10.3 x86_64 by trying to print from Google Maps.

Abnormal process termination (gs -q -dSAFER -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$out{/home/USERNAME/print.pdf} -sPAPERSIZE=letter -c .setpdfwrite -f '/tmp/kde-USERNAME/kdeprint_AUQ9HbCZ' ).

Unfortunately, I don't see any errors in any cups logging or other system logging files, other than the one below:

localhost - - [04/Nov/2007:17:45:11 -0500] "POST /printers/ HTTP/1.1" 200 256 CUPS-Get-Printers successful-ok
localhost - - [04/Nov/2007:17:45:11 -0500] "POST /classes/ HTTP/1.1" 200 224 CUPS-Get-Classes successful-ok
localhost - - [04/Nov/2007:17:45:11 -0500] "POST /printers/ HTTP/1.1" 200 112 CUPS-Get-Default successful-ok
localhost - - [04/Nov/2007:17:45:11 -0500] "POST / HTTP/1.1" 200 384 Get-Jobs client-error-not-found

Here are some of the installed packages:

ghostscript-fonts-std-8.15.4-3
ghostscript-library-8.15.4-3
ghostscript-x11-8.15.4-3
ghostscript-fonts-other-8.15.4-3
kdebase3-3.5.7-87
xorg-x11-libXprintUtil-32bit-7.2-60
libgimpprint-4.2.7-178
gutenprint-5.0.1-1
xorg-x11-libXprintUtil-devel-7.2-60
xorg-x11-libXprintUtil-7.2-60
yast2-printer-2.15.6-4
Comment 4 Cristian Tibirna 2007-11-05 00:26:34 UTC
Are you trying to print to a printer or to a pdf file?
Comment 5 David Bailey 2007-11-05 03:55:45 UTC
Hi Cristian,

I am trying to create a PDF from Konqueror using the print to PDF functionality of KDE.

The screwy thing is that I can output to a PS file and then use ps2pdf to convert it. Also, it doesn't always appear to happen. Some web pages print to PDF fine.
Comment 6 David Bailey 2007-11-05 03:59:39 UTC
BTW- I can confirm the error happens trying to print to PDF from Konqueror at the URL listed above:

http://www.kraus.tk/publications/DVDauthoring-Artikel/dvdauthoring.html 
Comment 7 Cristian Tibirna 2007-11-05 04:21:28 UTC
I think you're falling on a bug of Qt generating PS v. 3 data, on which 
ghostscript chokes when trying to convert to PDF. This is already described 
in the bug database. Sorry for being too tired right now to be able to sift 
through all the bugs (perhaps the closed ones should be included too) to find 
the previous reports. There is some option that you can pass to ghostscript 
(by modifying your system's kde3/share/apps/kdeprint/special.desktop, the 
ps2pdf command)

I'm terribly sorry for being so vague, I have no more than these few minutes 
right now. Thanks for your understanding.
Comment 8 David Bailey 2007-11-26 13:34:39 UTC
Cristian, I'm sorry I don't know what this means, what to search for, or how to take action on this information.
Comment 9 John Layt 2011-05-27 18:33:17 UTC
KDEPrint is obsolete, unmaintained and will never be revived.  Closing all open bugs.