Summary: | "Unable to retrieve the printer list" after upgrade to kde-3.5.5. (may be problem with hiddenvisibility) | ||
---|---|---|---|
Product: | [Applications] kdeprint | Reporter: | Peter Volkov <torre_cremata> |
Component: | general | Assignee: | KDEPrint Devel Mailinglist <kde-print-devel> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | bugzilla, felix.claudio, jlayt, matser1973, nxntz, presently42 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Peter Volkov
2006-10-13 09:34:28 UTC
I confirm this bug and would like to add that it is not related to the kdehiddenvisibility use flag. Well, it works for me with KUbuntu. Could this just be another Gentoo problem? I have the same problem on Kubuntu 6.06 after upgrade to kde-3.5.5. However because I also upgraded cups from 1.2.1 to 1.2.2 I cannot say for sure it's a KDE problem. The CUPS command line tools work. If I try to use only the KDE print the CUPS logs are empty, even the access_log. Seems to be some communication problem. tcpdump shows that KDE print is connecting to localhost:631, few messages are exchanged. Kprinter does not show anything except of the pseudo-printers (PDF, Fax, etc.). I downgraded to cups 1.2.0, didn't help. After having turned on the debug info on cupsd.conf, this appears in the error_log: ========================================== I [13/Oct/2006:19:31:34 +0200] Listening to 127.0.0.1:631 on fd 0... D [13/Oct/2006:19:33:58 +0200] cupsdAcceptClient: 4 from localhost:631 (IPv4) D [13/Oct/2006:19:33:58 +0200] cupsdCloseClient: 4 D [13/Oct/2006:19:33:59 +0200] cupsdAcceptClient: 4 from localhost:631 (IPv4) D [13/Oct/2006:19:33:59 +0200] cupsdCloseClient: 4 D [13/Oct/2006:19:34:00 +0200] cupsdAcceptClient: 4 from localhost:631 (IPv4) D [13/Oct/2006:19:34:00 +0200] cupsdCloseClient: 4 D [13/Oct/2006:19:34:01 +0200] cupsdAcceptClient: 4 from localhost:631 (IPv4) D [13/Oct/2006:19:34:01 +0200] cupsdCloseClient: 4 D [13/Oct/2006:19:34:02 +0200] cupsdAcceptClient: 4 from localhost:631 (IPv4) D [13/Oct/2006:19:34:02 +0200] cupsdCloseClient: 4 D [13/Oct/2006:19:34:03 +0200] cupsdAcceptClient: 4 from localhost:631 (IPv4) D [13/Oct/2006:19:34:03 +0200] cupsdCloseClient: 4 ========================================== KDEPrint apparently tries to reconnect more times, this can be seen in tcpdump as well (different client port numbers). If I run e.g. lpq -l I get: ========================================== D [13/Oct/2006:19:34:15 +0200] cupsdAcceptClient: 4 from localhost:631 (IPv4) D [13/Oct/2006:19:34:15 +0200] cupsdReadClient: 4 POST / HTTP/1.1 D [13/Oct/2006:19:34:15 +0200] cupsdAuthorize: No authentication data provided. D [13/Oct/2006:19:34:15 +0200] CUPS-Get-Printers .... ========================================== I'm using KDE 3.5.5 with CUPS 1.1.23 on Linux. K-Button->Control Center->Peripherals->Printers works. What is broken is Print System applet on the panel->Print Manager. Settings (Control Center modules menu) applet on the panel->Peripherals->Printers also broken. K-Button->Settings->Printers also broken. K-Button->Settings->Peripherals->Printers also broken. I think this issue could have avoided if KDE had released a 3.5.5-RC1. Just for the record: I remained silent because I can't reproduce this. And I don't remember any commit that would have this effect. Cristian, could you try comment #5 to #7? Could you please display the first few lines of this file: /usr/share/applications/kde/printers.desktop?. If possible attach the whole file. Hi, using Debian Sid up-to-date with KDE3.5.5 and CUPS 1.2.4. I too have problems with printing, kdeprint cannot fetch the printer list as it cannot connect to CUPS. I had a listing once yesterday after playing around with kcontrol->conneced devices->printers, but I can't get it back today. There's also a Debian bugreport here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=392052 It seems this was fixed already in SVN... Anyway I can confirm that it doesn't work in kpdf and konqueror, but works in konsole. Andreas Unga: Conserning comment #5. I do have the same problem with K-Button->Control Center->Peripherals->Printers Also I've checked that I do not have problems with printing from console. And kdehiddenvisibility have no effect here. So Crisian, please, change the subject. Remove "(may be problem with hiddenvisibility)". Gentoo users, please check http://bugs.gentoo.org/show_bug.cgi?id=151261. Kubuntu Edgy 6.10 KDE 3.5.5 CUPS 1.2.4 ------------------------------ "What is broken is Print System applet on the panel->Print Manager. " ------------------------------ This works fine for me, no issues Systems Settings -> Printers works just fine for me I get my printer list with every application that I have tried. I do not see, nor have, any problems with CUPS and KDE 3.5.5 at this time. Richard, maybe the Kubuntu packages include the fix to this. Take a look at http://bugs.gentoo.org/show_bug.cgi?id=151261. Jochen includes a patch that fix the problems. The patch is applied to kdelibs and it's already in KDE svn. kdelibs-3.5.5-r1 fixes this for Gentoo. *** Bug 135522 has been marked as a duplicate of this bug. *** Of course, my comment #8 is wrong. I just have bad memory, it seems. There *was* a commit made 12 days before the tagging of KDE-3.5.5, a very valuable one that reintroduced socket connection to CUPS in kdeprint. Unfortunately there was a little confusion in that code, that could explain the behaviors exposed in this BR. A timeout was set too small while waiting for connection answer from CUPS. This could explain why sometimes connections seem to work, while other times they don't, for certain reporters. A correction to this problem was commited 5 days ago (8 days after the tagging of the KDE-3.5.5). It is very probable that packages for distros that seem to not have problems already included this patch: http://websvn.kde.org/branches/KDE/3.5/kdelibs/kdeprint/cups/kmcupsmanager.cpp?rev=594190&r1=586782&r2=594190 The solution would be for each of you that experience this problem to get in contact with your distro's packagers of kdelibs and convince them to issue a bugfix package. I will wait for confirmations that getting such a solution in place fixes the problem then I will close this bug report. Thanks for your understanding. And a big thank you to André Wöbbeking for helping my faulty memory. > The solution would be for each of you that experience this problem to get in contact with your distro's packagers of kdelibs and convince them to issue a bugfix package.
As I said, Gentoo is ok in -r1 of kdelibs.
Desperate need for printing and no time to wait. Had to downgrade to 3.4.2 on suse 10.0 *** Bug 135728 has been marked as a duplicate of this bug. *** it is already fixed: http://websvn.kde.org/branches/KDE/3.5/kdelibs/kdeprint/cups/kmcupsmanager.cpp?rev=594190&r1=586782&r2=594190 please ask your gentoo packagers to include this patch. As I say in comments #17 and #14, it is already fixed in kdelibs-3.5.5-r1. People read the comments here please. *** Bug 137225 has been marked as a duplicate of this bug. *** *** Bug 139303 has been marked as a duplicate of this bug. *** Closing old Resolved status bug. |