Bug 19309 - "add printer" for remote cups printer doesn't work, cups does
Summary: "add printer" for remote cups printer doesn't work, cups does
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: release_blocker normal
Target Milestone: Mageia 6
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 18367
  Show dependency treegraph
 
Reported: 2016-09-08 00:14 CEST by Frank Griffin
Modified: 2016-10-26 16:23 CEST (History)
4 users (show)

See Also:
Source RPM: system-config-printer
CVE:
Status comment:


Attachments

Description Frank Griffin 2016-09-08 00:14:56 CEST
In a fresh cauldron install on a system with no attached printers but network access to systems which have attached printers, the system-config-printer "Add Printer" dialog finds the remote printers, but when you complete the dialog to add the printer, you are returned to the s-c-f panel with no new printer shown.

If you do "Add Printer" via CUPS Administration, the printers are found and added, and if you reopen s-c-f they are shown.
Marja Van Waes 2016-09-08 10:49:24 CEST

CC: (none) => marja11
Blocks: (none) => 18367
Assignee: bugsquad => mageiatools

Nicolas Lécureuil 2016-09-08 11:00:54 CEST

CC: (none) => mageia, makowski.mageia

Comment 1 Chris Denice 2016-09-20 16:04:22 CEST
Confirmed, switched to release blocker.

In addition, within system-config-printer, and the last cups update, printers seem to be added automatically, icons are appearing, then they disappear almost instantaneously.
The logs of s-c-f show this:


-------------

 File "/usr/share/system-config-printer/system-config-printer.py", line 2156, in deferred_refresh
    self.populateList (prompt_allowed=False)
  File "/usr/share/system-config-printer/system-config-printer.py", line 1074, in populateList
    model.foreach (maybe_select, None)
AttributeError: 'NoneType' object has no attribute 'foreach'
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 2156, in deferred_refresh
    self.populateList (prompt_allowed=False)
  File "/usr/share/system-config-printer/system-config-printer.py", line 1074, in populateList
    model.foreach (maybe_select, None)
AttributeError: 'NoneType' object has no attribute 'foreach'

------------------

while the system logs indeed loop over discovered printers, and their removal forever

--------------------

Sep 20 16:01:53 cp3wks01 cupsd[2159]: Bad resolution "default" for printer lw0_1.
Sep 20 16:01:53 cp3wks01 cupsd[2159]: REQUEST localhost - root "POST /admin/ HTTP/1.1" 200 13874 CUPS-Add-Modify-Printer successful-ok
Sep 20 16:01:53 cp3wks01 cupsd[2159]: REQUEST localhost - root "POST /admin/ HTTP/1.1" 200 178 CUPS-Add-Modify-Printer successful-ok
Sep 20 16:01:53 cp3wks01 cupsd[2159]: REQUEST localhost - root "POST /admin/ HTTP/1.1" 200 148 CUPS-Delete-Printer successful-ok
Sep 20 16:01:53 cp3wks01 cupsd[2159]: REQUEST localhost - root "POST /admin/ HTTP/1.1" 200 150 CUPS-Delete-Printer successful-ok
Sep 20 16:01:54 cp3wks01 cupsd[2159]: CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
Sep 20 16:01:54 cp3wks01 cupsd[2159]: CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
Sep 20 16:01:54 cp3wks01 cupsd[2159]: CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
Sep 20 16:01:54 cp3wks01 cupsd[2159]: Bad resolution "default" for printer ricoh-full-option.
Sep 20 16:01:54 cp3wks01 cupsd[2159]: REQUEST localhost - root "POST /admin/ HTTP/1.1" 200 13905 CUPS-Add-Modify-Printer successful-ok
Sep 20 16:01:54 cp3wks01 cupsd[2159]: REQUEST localhost - root "POST /admin/ HTTP/1.1" 200 190 CUPS-Add-Modify-Printer successful-ok
Sep 20 16:01:56 cp3wks01 cupsd[2159]: CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
Sep 20 16:01:56 cp3wks01 cupsd[2159]: CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
Sep 20 16:01:56 cp3wks01 cupsd[2159]: CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
Sep 20 16:01:56 cp3wks01 cupsd[2159]: Bad resolution "default" for printer rx0.
Sep 20 16:01:56 cp3wks01 cupsd[2159]: REQUEST localhost - root "POST /admin/ HTTP/1.1" 200 13877 CUPS-Add-Modify-Printer successful-ok
Sep 20 16:01:56 cp3wks01 cupsd[2159]: REQUEST localhost - root "POST /admin/ HTTP/1.1" 200 176 CUPS-Add-Modify-Printer successful-ok
Sep 20 16:01:56 cp3wks01 cupsd[2159]: REQUEST localhost - root "POST /admin/ HTTP/1.1" 200 162 CUPS-Delete-Printer successful-ok
Sep 20 16:01:57 cp3wks01 cupsd[2159]: REQUEST localhost - root "POST /admin/ HTTP/1.1" 200 148 CUPS-Delete-Printer successful-ok
Sep 20 16:02:04 cp3wks01 cupsd[2159]: CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
Sep 20 16:02:04 cp3wks01 cupsd[2159]: CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
Sep 20 16:02:05 cp3wks01 cupsd[2159]: REQUEST localhost - root "POST /admin/ HTTP/1.1" 200 48717 CUPS-Add-Modify-Printer successful-ok
Sep 20 16:02:05 cp3wks01 cupsd[2159]: REQUEST localhost - root "POST /admin/ HTTP/1.1" 200 177 CUPS-Add-Modify-Printer successful-ok

Priority: Normal => release_blocker
CC: (none) => eatdirt
Target Milestone: --- => Mageia 6

Comment 2 Nicolas Lécureuil 2016-10-25 09:18:02 CEST
Can you test current s-c-p please ?
Comment 3 Chris Denice 2016-10-26 16:23:24 CEST
Hi there,
as far as I am concerned, this bug is closed, works fine with latest sync with cauldron. Frank, reopen if this does not work for you!

Cheers.

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


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