Comment 0 for bug 1707193

Revision history for this message
Karl-Philipp Richter (krichter722) wrote :

Adding a Hewlett-Packard HP Color LaserJet MFP M476dn as IPP network printer via DNS-DS fails due to "There was an error during the CUPS operation: 'server-error-internal-error'". The error message is unhelpful and can't be copied. The output of the console is

    > system-config-printer

    (system-config-printer.py:21002): Gtk-CRITICAL **: gtk_tree_store_insert_after: assertion 'G_NODE (sibling->user_data)->parent == G_NODE (parent->user_data)' failed

    (system-config-printer.py:21002): Gtk-CRITICAL **: gtk_tree_store_set_value: assertion 'VALID_ITER (iter, tree_store)' failed

    (system-config-printer.py:21002): Gtk-CRITICAL **: gtk_tree_store_set_value: assertion 'VALID_ITER (iter, tree_store)' failed

    (system-config-printer.py:21002): Gtk-WARNING **: Failed to fetch network locations: Timeout was reached
    Caught non-fatal exception. Traceback:
    File "/usr/share/system-config-printer/newprinter.py", line 4196, in getNPPPD
        ppd = cups.PPD(f)
    RuntimeError: ppdOpenFile failed
    Continuing anyway..

which looks like the error message could be improved dramatically.

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: system-config-printer 1.5.7+20160812-0ubuntu9
ProcVersionSignature: Ubuntu 4.10.0-28.32-generic 4.10.17
Uname: Linux 4.10.0-28-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
CurrentDesktop: XFCE
Date: Fri Jul 28 14:40:51 2017
InstallationDate: Installed on 2015-12-12 (594 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
Lpstat:
 Gerät für HP_Color_LaserJet_MFP_M476dn: hp:/usb/HP_Color_LaserJet_MFP_M476dn?serial=CNB8H415Z5
 Gerät für QL-570: usb://Brother/QL-570?serial=F4Z735525
MachineType: LENOVO 20221
PackageArchitecture: all
Papersize: a4
PpdFiles:
 QL-570: Brother QL-570 CUPS v1.1
 HP_Color_LaserJet_MFP_M476dn: HP Color LaserJet Pro MFP M476 Postscript (recommended)
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.10.0-28-generic root=UUID=791b47e7-915d-4d5a-bce0-d7e9b660a2ab ro rootflags=subvol=ubuntu-main-root
SourcePackage: system-config-printer
UpgradeStatus: Upgraded to zesty on 2017-05-01 (88 days ago)
dmi.bios.date: 07/12/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: 71CN51WW(V1.21)
dmi.board.asset.tag: No Asset Tag
dmi.board.name: INVALID
dmi.board.vendor: LENOVO
dmi.board.version: 31900003WIN8 STD MLT
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo IdeaPad Z500 Touch
dmi.modalias: dmi:bvnLENOVO:bvr71CN51WW(V1.21):bd07/12/2013:svnLENOVO:pn20221:pvrLenovoIdeaPadZ500Touch:rvnLENOVO:rnINVALID:rvr31900003WIN8STDMLT:cvnLENOVO:ct10:cvrLenovoIdeaPadZ500Touch:
dmi.product.name: 20221
dmi.product.version: Lenovo IdeaPad Z500 Touch
dmi.sys.vendor: LENOVO