Bug 12025 - KDE applications fail printing on this system, also new users. Gnome works.
Summary: KDE applications fail printing on this system, also new users. Gnome works.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Nicolas Lécureuil
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-17 21:46 CET by Morgan Leijström
Modified: 2014-01-08 10:28 CET (History)
0 users

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Morgan Leijström 2013-12-17 21:46:07 CET
Description of problem:

When I in Okular, Opera or most other application selects File<Print, the program just freezes.

Printing from Leafpad works.

And CUPS can print test page (controlled by browsing to localhost:631.)

I do not know where to continue tracing the problem...


System mga4 b2 -64, KDE, updated 2013-12-17.

I only have one printer, on network, is working with mga2 and 3, now also set up on two mga4 with same result.

I set it up according to my own howto:
https://forums.mageia.org/en/viewtopic.php?f=24&t=4203

Reproducible: 

Steps to Reproduce:
Comment 1 David Walser 2013-12-18 19:17:57 CET
I wanted to try to reproduce this on a machine I installed Cauldron on here, but I tried to add a network printer in system-config-printer and once I put in the IP in the jetdirect dialog and hit Forward, it just sits there with a spinning pointer forever.

Assignee: bugsquad => mageia

Comment 2 David Walser 2013-12-19 21:36:36 CET
Thierry Vignaud fixed system-config-printer by updating it to 1.4.3, so I was able to set up a printer on my Cauldron test machine.  Printing from Okular and Konqueror works just fine.  So, at the very least this doesn't seem to be a general problem.  system-config-printer gives a choice of PPDs I think it is, for some printers, and I had to choose the 2nd choice for this Xerox Phaser 6700DN to make it actually work.  I noticed in your forum thread that yours is a Canon printer, which from what I understand is the hardest printer brand to get working on Linux typically, so maybe that's the cause of the problem.
Comment 3 Morgan Leijström 2013-12-20 09:55:28 CET
Thank you David and Thierry. Will try more tests tomorrow.

Canon have put effort to make this special hard to run configuration utility that handles ppd and settings, and two large manuals. I do not understand why they could not just ship the PPD and make it work with CUPS directly... 

Printer itself is wonderful once it runs.

My former printer was a Xerox that was very easy to install, but the printer itself had problems with both hardware, software, and enourmous out of marketing spec standby power.  Sigh.  Why are printer manufacturers so out in the blue?
Comment 4 Morgan Leijström 2013-12-21 10:57:59 CET
After updates and printer reinstalled i tried again.
I realised Opera and Firefox prints OK, but not Okular nor LibreOffice.

They do not carsh as i thought before, if i wait a cuple minutes after selecting file>print or similar, the printing dialog appears.  During that long time kwin take 100% of one of two CPU!  It again consumes 100% for a minute when i press print button in that dialog.  But print never comes out.  Below are some rows from http://localhost:631/admin/log/error_log

D [20/Dec/2013:21:44:03 +0100] [Job 5] Filetype: PDF
D [20/Dec/2013:21:44:03 +0100] [Job 5] PID 28012 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [20/Dec/2013:21:44:03 +0100] [Job 5] STATE: -output-area-full-warning
D [20/Dec/2013:21:44:03 +0100] [Job 5] backendWaitLoop(snmp_fd=5, addr=0x7f1e8297dbf8, side_cb=0x7f1e8173f1d0)
D [20/Dec/2013:21:44:03 +0100] [Job 5] File contains 1 pages
D [20/Dec/2013:21:44:03 +0100] [Job 5] Starting renderer with command: gs -dFirstPage=1  -q -dBATCH  -sDEVICE=pxlcolor -dPARANOIDSAFER -dNOPAUSE -sPAPERSIZE=a4 -dPDFFitPage  -sOutputFile=-     /var/spool/cups/tmp/foomatic-u97iDm | sicgsfilter -MPXL -NP  -d1 -K1 -ukajsa -V"Protokoll styrelse 1301281" -n1 
D [20/Dec/2013:21:44:03 +0100] [Job 5] Starting process "kid3" (generation 1)
D [20/Dec/2013:21:44:03 +0100] [Job 5] Starting process "kid4" (generation 2)
D [20/Dec/2013:21:44:03 +0100] [Job 5] Starting process "renderer" (generation 2)
D [20/Dec/2013:21:44:03 +0100] [Job 5] JCL: %-12345X@PJL
D [20/Dec/2013:21:44:03 +0100] [Job 5] <job data> 
D [20/Dec/2013:21:44:03 +0100] [Job 5] /bin/bash: sicgsfilter: kommandot finns inte
D [20/Dec/2013:21:44:03 +0100] [Job 5] renderer exited with status 127
D [20/Dec/2013:21:44:03 +0100] [Job 5] Kid3 exit status: 1
D [20/Dec/2013:21:44:03 +0100] [Job 5] PID 28013 (/usr/lib/cups/filter/foomatic-rip) stopped with status 9.
D [20/Dec/2013:21:44:03 +0100] [Job 5] Hint: Try setting the LogLevel to "debug" to find out more.
D [20/Dec/2013:21:44:03 +0100] [Job 5] PID 28014 (/usr/lib/cups/backend/socket) exited with no errors.
D [20/Dec/2013:21:44:03 +0100] [Job 5] End of messages
D [20/Dec/2013:21:44:03 +0100] [Job 5] printer-state=3(idle)
D [20/Dec/2013:21:44:03 +0100] [Job 5] printer-state-message="Filter failed"
D [20/Dec/2013:21:44:03 +0100] [Job 5] printer-state-reasons=none
E [20/Dec/2013:21:44:20 +0100] [Job 3] The printer is not responding.
E [20/Dec/2013:21:48:20 +0100] [Job 3] The printer is not responding.
E [20/Dec/2013:21:49:10 +0100] [Job 5] Stopping unresponsive job.
E [20/Dec/2013:21:49:20 +0100] [Job 3] The printer is not responding.
E [20/Dec/2013:21:56:21 +0100] [Job 3] The printer is not responding.
E [20/Dec/2013:21:57:21 +0100] [Client 15] pam_authenticate() returned 7 (Authentication failure)
E [20/Dec/2013:21:57:30 +0100] Unknown directive BrowseAddress on line 5 of /etc/cups/cupsd.conf.
Morgan Leijström 2013-12-21 12:58:56 CET

Summary: KDE applications hang selecting to print. Cups print test page OK. => KDE applications fail printing on this system, also new users. Gnome works.

Comment 5 Morgan Leijström 2013-12-21 13:07:28 CET
On this Thinkpad R61, and my other mga4 test system, a thinkpad T61:

Done: Todays updates, removed all printers, (also disabled all printer sharing on all computers on network just in case), defined again the printer using the canon utility.

Result:  On this system still KDE apps fail, also for new users.


* Installed gnome: works for all users both computers! *


This R61 system probably have some underlaying problem, that i think is related to KDE not able to start kwrite (on this system only) , see my thread:
https://forums.mageia.org/en/viewtopic.php?f=15&t=6528

On the T61 system: all works (also KDE)

-> Resolved fixed. (this printing problem)

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 6 Morgan Leijström 2013-12-25 23:02:23 CET
Also tried on the R61 to change from Nvdia to noveau driver, bot no luck on printing (it mysteriously enabled KDE to launch kwrite - bug 11946)
Comment 7 Morgan Leijström 2014-01-08 10:28:33 CET
Update: now this R61 system start kwrite OK
Printing from KDE apps still not working

Note You need to log in before you can comment on or make changes to this bug.