Bug 424942

Summary: Cannot add printer via GUI
Product: [Frameworks and Libraries] print-manager Reporter: rbugman28 <rbugman28>
Component: generalAssignee: Daniel Nicoletti <dantti12>
Status: RESOLVED FIXED    
Severity: normal CC: nate, noeerover
Priority: NOR    
Version: 20.04   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 6.0.4
Sentry Crash Report:
Attachments: System Settings add printer error
printer_failure1.png
printer_failure2.png
forbidden_Screenshot_20240404_132023.png
System_Screenshot_20240404_132454.png

Description rbugman28@yahoo.com 2020-08-02 20:56:57 UTC
Created attachment 130592 [details]
System Settings add printer error

SUMMARY
Cannot add printer via GUI

STEPS TO REPRODUCE
1. Open Printers - System Settings
2. Add printer
3. read error message

OBSERVED RESULT
Failed to get a list of devices: forbidden

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Cups error: NO root passwd
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-42-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6500 CPU @ 3.20GHz
Memory: 62.7 GiB of RAM
Comment 1 Nate Graham 2020-08-10 16:44:05 UTC
I think you added a screenshot of this bug report rather than the error message yo were seeing.

> OBSERVED RESULT
> Failed to get a list of devices: forbidden
> ADDITIONAL INFORMATION
> Cups error: NO root passwd
Seems like the printing system is configured to require the elevated privileges, but it didn't get them. Did it ask for your password at all during the process?
Comment 2 rbugman28@yahoo.com 2020-08-10 18:04:48 UTC
Created attachment 130762 [details]
printer_failure1.png

 Yes, CUPS asked for a root password which is not set during a Kubuntu 20.04 install. Change root passwd by using sudo. Then changes are accepted using user root. User name/passwd is not accepted and results in failure. 18.04 work perfect, don't know what changed but most users wouldn't know how to do this.
     On Monday, August 10, 2020, 12:44:08 PM EDT, Nate Graham <bugzilla_noreply@kde.org> wrote:  
 
 https://bugs.kde.org/show_bug.cgi?id=424942

Nate Graham <nate@kde.org> changed:

          What    |Removed                    |Added
----------------------------------------------------------------------------
        Resolution|---                        |WAITINGFORINFO
                CC|                            |nate@kde.org
            Status|REPORTED                    |NEEDSINFO

--- Comment #1 from Nate Graham <nate@kde.org> ---
I think you added a screenshot of this bug report rather than the error message
yo were seeing.

> OBSERVED RESULT
> Failed to get a list of devices: forbidden
> ADDITIONAL INFORMATION
> Cups error: NO root passwd
Seems like the printing system is configured to require the elevated
privileges, but it didn't get them. Did it ask for your password at all during
the process?
Comment 3 rbugman28@yahoo.com 2020-08-10 18:04:48 UTC
Created attachment 130763 [details]
printer_failure2.png
Comment 4 Bug Janitor Service 2020-08-25 04:33:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 rbugman28@yahoo.com 2020-08-31 12:38:04 UTC
The print errors are attached
Comment 6 Mike 2024-04-04 16:05:33 UTC
We believe this is fixed in a later version of Plasma5 and the recently released Plasma6.  Can you retest this and report back?
Comment 7 rbugman28@yahoo.com 2024-04-04 17:26:32 UTC
Created attachment 168150 [details]
forbidden_Screenshot_20240404_132023.png

 I get the error, but then I don't have another printer to test with.

    On Thursday, April 4, 2024 at 12:05:35 PM EDT, Mike <bugzilla_noreply@kde.org> wrote:  
 
 https://bugs.kde.org/show_bug.cgi?id=424942

Mike <noeerover@gmail.com> changed:

          What    |Removed                    |Added
----------------------------------------------------------------------------
                CC|                            |noeerover@gmail.com

--- Comment #6 from Mike <noeerover@gmail.com> ---
We believe this is fixed in a later version of Plasma5 and the recently
released Plasma6.  Can you retest this and report back?
Comment 8 rbugman28@yahoo.com 2024-04-04 17:26:32 UTC
Created attachment 168151 [details]
System_Screenshot_20240404_132454.png
Comment 9 Mike 2024-04-08 19:07:06 UTC
I think all Plasma5 versions will have this problem, in some scenarios.  Should be fixed in Plasma6.