Bug 13731

Summary: system-config-printer can not be launched
Product: Mageia Reporter: Atilla ÖNTAŞ <tarakbumba>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: doktor5000, eeeemail, maurice77, thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: system-config-printer-1.4.5-1.mga5.src.rpm CVE:
Status comment:

Description Atilla ÖNTAŞ 2014-07-12 21:59:00 CEST
Description of problem:
Trying to execute system-config-printer either from mcc or from commandline resulting with the following error and can not be launched:

$ system-config-printer
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 2213, in <module>
    main(show_jobs)
  File "/usr/share/system-config-printer/system-config-printer.py", line 2183, in main
    mainwindow = GUI()
  File "/usr/share/system-config-printer/system-config-printer.py", line 226, in __init__
    None, None)
GLib.Error: polkit-error-quark: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.opensuse.cupspkhelper.mechanism.all-edit is not registered (0)

I don't really know if this is about system-config-printer, cups or polkit.

Version-Release number of selected component (if applicable):
system-config-printer-1.4.5-1.mga5

Steps to Reproduce:
1.Type system-config-printer from commandline
2.See the mentioned error.


Reproducible: 

Steps to Reproduce:
Comment 1 Maurice Batey 2014-07-12 23:02:40 CEST
I have precisely the same problem with fully-updated KDE 64-bit Mageia-5-Alpha1.

CC: (none) => maurice

Comment 2 claire robinson 2014-07-13 00:12:21 CEST
Action org.opensuse.cupspkhelper.mechanism.all-edit is not registered (0)

likely cause

CC: (none) => eeeemail

claire robinson 2014-07-13 00:13:10 CEST

CC: (none) => doktor5000, thierry.vignaud

Comment 3 Jani Välimaa 2014-07-13 20:22:10 CEST
Try to install pkg cups-pk-helper.
Comment 4 Maurice Batey 2014-07-13 20:48:50 CEST
Will try on Wednesday when I return home...
Comment 5 Atilla ÖNTAŞ 2014-07-13 21:56:12 CEST
(In reply to Jani Välimaa from comment #3)
> Try to install pkg cups-pk-helper.

Thanks. It works. Then i think we need to add cups-pk-helper as requires to system-config-printer ?
Comment 6 Thierry Vignaud 2014-07-14 06:30:42 CEST
Thx for the report
Fixed.

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

Comment 7 Maurice Batey 2014-07-16 13:58:33 CEST
> Try to install pkg cups-pk-helper.

Now done, and now system-config-printer comes to life...

Just one oddity I noticed. After downloading and installing various printer packages (including HP utilities - so it knew the printer was HP), it left me only with 'Add Printer'. Wy - if it had indeed found the printer - did it do that?
  Also, Add Printer listed possibilities:

        - LPT #1 (for connections via Parellel Port)
        - URL
        - Network

i.e. no mention of USB.

Only when I selected Network did it show that it knew very well what (USB) printer was there!
Comment 8 Atilla ÖNTAŞ 2014-07-16 17:14:00 CEST
(In reply to Maurice Batey from comment #7)
> > Try to install pkg cups-pk-helper.
> 
> Now done, and now system-config-printer comes to life...
> 
> Just one oddity I noticed. After downloading and installing various printer
> packages (including HP utilities - so it knew the printer was HP), it left
> me only with 'Add Printer'. Wy - if it had indeed found the printer - did it
> do that?
>   Also, Add Printer listed possibilities:
> 
>         - LPT #1 (for connections via Parellel Port)
>         - URL
>         - Network
> 
> i.e. no mention of USB.
> 
> Only when I selected Network did it show that it knew very well what (USB)
> printer was there!

Please start another bug report for this. Thank you.
Comment 9 Maurice Batey 2014-07-16 18:40:12 CEST
> Please start another bug report for this.

  Done - see https://bugs.mageia.org/show_bug.cgi?id=13753.