Print UI hangs on launch and will not close

Bug #1479143 reported by GNAServicesInc
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups-pdf (Ubuntu)
Expired
Undecided
Unassigned
system-config-printer (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

If I launch the print UI from the system control panel it takes forever to open (if it opens) and when it opens it will not close and then will crash.

If I try to print from an application the print everything locks up and eventually goes back to normal but no print UI is shown.

ProblemType: RecoverableProblem
DistroRelease: Ubuntu 15.04
Package: system-config-printer-gnome 1.5.6+20150318-0ubuntu2.1
ProcVersionSignature: Ubuntu 3.19.0-25.26-generic 3.19.8-ckt2
Uname: Linux 3.19.0-25-generic x86_64
NonfreeKernelModules: nvidia
ActionNames:

ActionPaths: /com/canonical/unity/gtk/window/0;
Added: 0
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
BusName: :1.76
CurrentDesktop: Unity
Date: Tue Jul 28 18:57:16 2015
DuplicateSignature: /usr/share/system-config-printer/system-config-printer.py:GMenuModelItemsChangedInvalidIndex
ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
InstallationDate: Installed on 2015-07-03 (24 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
InterpreterPath: /usr/bin/python3.4
ItemCount: 0
LinkType: root
Lpstat: device for PDF: cups-pdf:/
MachineType: System manufacturer System Product Name
MenuLabel:

MenuName:

MenuPath: /com/canonical/unity/gtk/window/0
PackageArchitecture: all
Papersize: letter
Position: 0
PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/PDF.ppd'] failed with exit code 2: grep: /etc/cups/ppd/PDF.ppd: Permission denied
ProcCmdline: /usr/bin/python3 /usr/share/system-config-printer/system-config-printer.py
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-25-generic root=UUID=7c125488-bd8f-4f66-a744-c95dfe7dc5db ro quiet splash enable_mtrr_cleanup acpi_osi=Linux nmi_watchdog=0 cgroup_disable=memory intel_pstate=enable
Removed: 1
SourcePackage: system-config-printer
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio bluetooth cdrom dialout dip floppy lpadmin netdev plugdev sambashare scanner sudo video
dmi.bios.date: 11/09/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 3603
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: P8Z68-V PRO
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr3603:bd11/09/2012:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP8Z68-VPRO:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
GNAServicesInc (gnaservicesinc) wrote :
tags: removed: need-duplicate-check
Revision history for this message
GNAServicesInc (gnaservicesinc) wrote :

Not sure if this is the cause but I noticed the report states.

exit code 2: grep: /etc/cups/ppd/PDF.ppd: Permission denied

  File: ‘/etc/cups/ppd/PDF.ppd’
  Size: 20956 Blocks: 48 IO Block: 4096 regular file
Device: 801h/2049d Inode: 800693 Links: 1
Access: (0640/-rw-r-----) Uid: ( 0/ root) Gid: ( 7/ lp)
Access: 2015-07-03 23:02:26.802926705 -0400
Modify: 2015-07-03 23:02:26.802926705 -0400
Change: 2015-07-03 23:02:26.842926706 -0400
 Birth:

So that is 0640 but the documentation on http://www.cups-pdf.de says it should be 0700.

<a href="http://www.cups-pdf.de/documentation.shtml">CUPS-PDF requires root privileges since it has to modify file ownerships. In order to ensure CUPS-PDF is running with the required root privileges you have to make 'root' the owner of the cups-pdf backend and set the file permissions of the backend to 0700 (root only)</a>

Revision history for this message
GNAServicesInc (gnaservicesinc) wrote :

Another thing I have noticed, again not sure if related but none the less here it is.

I am unable to remove the package printer-driver-cups-pdf (I assume this package is related as it is the only 'pdf' cups package I see installed.

If I try to uninstall it the system just hangs up and dose not nothing, frozen on uninstalling.

Revision history for this message
GNAServicesInc (gnaservicesinc) wrote :

Also, do you think this is related to bug 562679 ?

Revision history for this message
gf (gf-interlinks-deactivatedaccount) wrote :

Hello GNA,
Thank you for submitting this bug and reporting a problem with the system-config-printer package. You made this bug report in 2015 and Ubuntu and the system-config-printer package have been updated since then.

Could you confirm that this is no longer a problem and that we can close the ticket?
If it is still a problem, are you still interested in finding a solution to this bug?
If you are, could you let us know and, in the current version, could you run the following (only once):
apport-collect 1479143
and upload the updated logs and and any other logs that are relevant for this particular issue.

Thank you again for helping make Ubuntu better.
G
[Ubuntu Bug Squad volunteer triager]

Changed in cups-pdf (Ubuntu):
status: New → Incomplete
Changed in system-config-printer (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cups-pdf (Ubuntu) because there has been no activity for 60 days.]

Changed in cups-pdf (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for system-config-printer (Ubuntu) because there has been no activity for 60 days.]

Changed in system-config-printer (Ubuntu):
status: Incomplete → Expired
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.