[Kde-print-devel] [Bug 276572] New: [regression] Print dialog fails to list any CUPS printers

David Naylor blackdragon at highveldmail.co.za
Sun Jun 26 22:49:21 CEST 2011


https://bugs.kde.org/show_bug.cgi?id=276572

           Summary: [regression] Print dialog fails to list any CUPS
                    printers
           Product: kdelibs
           Version: 4.6
          Platform: Compiled Sources
        OS/Version: FreeBSD
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: print-dialog
        AssignedTo: kde-print-devel at kde.org
        ReportedBy: blackdragon at highveldmail.co.za


Version:           4.6 (using KDE 4.6.4) 
OS:                FreeBSD

I have two remote CUPS printers (via cups-smb-backend) installed with CUPS. 
These printers are visible from http://localhost:631, system-config-printer and
 "Printer Configuration" module in systemsettings, and are printable from
LibreOffice.  They, however, do not appear in any print dialogs from KDE
programs (such as kate, kwrite, KMyMoney, Konqueror).  

This problem only occurred recently, after an upgrade of KDE.  

Reproducible: Always

Steps to Reproduce:
Display Print Dialog

Actual Results:  
Only Print to PDF/PS displayed

Expected Results:  
CUPS Printers also displayed

I have turned on all debugging options under kdebugdialog however did not see
any output on the console for kwrite that indicated anything to do with
printing or CUPS.  

Also the only relevant entry in ~/.xsession-errors is:
Traceback (most recent call last):
  File "/usr/local/bin/printer-applet", line 1153, in <module>
    applet = JobManager()
  File "/usr/local/bin/printer-applet", line 299, in __init__
    notification = NewPrinterNotification(bus, self)
  File "/usr/local/bin/printer-applet", line 1042, in __init__
    bus_name = dbus.service.BusName (PDS_OBJ, bus=bus)
  File "/usr/local/lib/python2.7/site-packages/dbus/service.py", line 129, in
__new__
    retval = bus.request_name(name, name_flags)
  File "/usr/local/lib/python2.7/site-packages/dbus/bus.py", line 306, in
request_name
    'su', (name, flags))
  File "/usr/local/lib/python2.7/site-packages/dbus/connection.py", line 630,
in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied:
Connection ":1.111" is not allowed to own the service
"com.redhat.NewPrinterNotification" due to security policies in the
configuration file

There are no errors reported in /var/log/cups/error_log and only a single line
(when KDE starts) in /var/log/cups/access_log:
localhost - - [26/Jun/2011:22:33:40 +0200] "POST / HTTP/1.1" 200 345
Create-Printer-Subscription successful-ok

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-print-devel mailing list