system-config-printer hangs when trying to change driver

Bug #1883370 reported by Bryan Walsh
72
This bug affects 11 people
Affects Status Importance Assigned to Milestone
System Config Printer
Fix Released
Unknown
system-config-printer (Ubuntu)
Fix Released
Medium
Unassigned
Focal
Confirmed
Medium
Till Kamppeter
Groovy
Won't Fix
Medium
Till Kamppeter

Bug Description

gnome-control-center is able to find and install my network printer (Samsung M287x) automatically. When I attempt to change the printer driver (default printer driver doesn't support duplex printing) via system-config-printer, system-config-printer will hang. Please see attached log captured via system-config-printer --debug. I am running stock Ubuntu 20.04. Changing the driver worked fine in ubuntu 19.10.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: system-config-printer 1.5.12-0ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-37.41-generic 5.4.41
Uname: Linux 5.4.0-37-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.2
Architecture: amd64
CasperMD5CheckResult: skip
CupsErrorLog:

CurrentDesktop: ubuntu:GNOME
Date: Sat Jun 13 10:34:15 2020
ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
InstallationDate: Installed on 2020-05-17 (27 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
InterpreterPath: /usr/bin/python3.8
Lpstat: device for M267x-287x: socket://192.168.1.166
MachineType: LENOVO 20KHCTO1WW
PackageArchitecture: all
Papersize: letter
PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/M267x-287x.ppd'] failed with exit code 2: grep: /etc/cups/ppd/M267x-287x.ppd: Permission denied
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-37-generic root=UUID=d86e16c0-e48c-492e-9cf8-05a068340cd7 ro quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
SourcePackage: system-config-printer
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/20/2020
dmi.bios.vendor: LENOVO
dmi.bios.version: N23ET71W (1.46 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20KHCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrN23ET71W(1.46):bd02/20/2020:svnLENOVO:pn20KHCTO1WW:pvrThinkPadX1Carbon6th:rvnLENOVO:rn20KHCTO1WW:rvrNotDefined:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad X1 Carbon 6th
dmi.product.name: 20KHCTO1WW
dmi.product.sku: LENOVO_MT_20KH_BU_Think_FM_ThinkPad X1 Carbon 6th
dmi.product.version: ThinkPad X1 Carbon 6th
dmi.sys.vendor: LENOVO

Revision history for this message
Bryan Walsh (yetanotherbryan) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in system-config-printer (Ubuntu):
status: New → Confirmed
Revision history for this message
Bas (beaver-ui) wrote :

This bug also affect my Linux Mint 20 install. I left the dialog for like 10 minutes, but it does not give control back to the user, it's just frozen. Is there a workaround available for this problem?

Revision history for this message
Bas (beaver-ui) wrote :

Addendum to the above message: I'm trying to change the driver of a Canon printer.

Revision history for this message
Bryan Walsh (yetanotherbryan) wrote :

I was able to change the driver directly through gnome-control-center dialog vs the system-control-printer dialog. Not sure if you have this option under Linux Mint or not, but this is what I did:
 Open gnome control center, go to printers and select the printer of interest, click the gear icon and click on "Printer Details".

Revision history for this message
Bas (beaver-ui) wrote :

That worked, thanks!

Revision history for this message
Ikuya Awashiro (ikuya-fruitsbasket) wrote :
Changed in system-config-printer:
status: Unknown → Fix Released
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "fix-1883370.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Revision history for this message
Ikuya Awashiro (ikuya-fruitsbasket) wrote :

I have uploaded the package which is applied atattach patch to my PPA.
https://launchpad.net/~ikuya-fruitsbasket/+archive/ubuntu/scp
It seems to fix this issue.

Revision history for this message
Mathew Hodson (mhodson) wrote :

Fixed in Ubuntu Hirsute

---
system-config-printer (1.5.15-0ubuntu1) hirsute; urgency=medium

  * New upstream release:
    - UI freeze when changing the driver of an existing printer fixed
      (Upstream issue #179)
    - Compatible with new autoconf

[...]

 -- Till Kamppeter <email address hidden> Tue, 26 Jan 2021 12:25:00 +0100

Changed in system-config-printer (Ubuntu):
importance: Undecided → Medium
Changed in system-config-printer (Ubuntu Focal):
importance: Undecided → Medium
Changed in system-config-printer (Ubuntu Groovy):
importance: Undecided → Medium
Changed in system-config-printer (Ubuntu):
status: Confirmed → Fix Released
Changed in system-config-printer (Ubuntu Focal):
assignee: nobody → Till Kamppeter (till-kamppeter)
Changed in system-config-printer (Ubuntu Groovy):
assignee: nobody → Till Kamppeter (till-kamppeter)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in system-config-printer (Ubuntu Focal):
status: New → Confirmed
Changed in system-config-printer (Ubuntu Groovy):
status: New → Confirmed
Revision history for this message
Brian Murray (brian-murray) wrote :

The Groovy Gorilla has reached end of life, so this bug will not be fixed for that release

Changed in system-config-printer (Ubuntu Groovy):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.