Please start system-config-printer using the command line

system-config-printer --debug 2>&1 | tee log.txt

and do the same attempts to set up your printer as before, one with the
DNS-SD/IPP choice and once with IPP driverless.

After that please attach log.txt (do not compress) to this bug report.

Try also the following:

Run the command

driverless

You get some lines of output. Each line is the URI (Unified Resource
Identifier) of one of the printers in your network which supports
driverless printing.

Is there one corresponding to your HP Color LaserJet MFP M476dn? You
recognize it if it by whether it contains the host name, IP address,
make, or model name of the printer.

Have you found the correct URI? Then run

lpadmin -p LJM476IPP -E -v URI -m everywhere

replacing URI by the URI you have found with the "driverless" command.
This creates a print queue for your printer, using driverless IPP
network printing.

Please post all screen output here.

Does this print queue work? Can you also attach (in a separate comment)
your /etc/cups/ppd/LJM476IPP.ppd file?

Please run also
ipptool -tv URI get-printer-attributes.test > ipp-attrs.txt

replacing URI again by your printer's URI and attach (in another
comment) ipp-attrs.txt.

Please do not compress any of your attachments nor package them
together. Attach them one-by-one.


** Changed in: system-config-printer (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to system-config-printer in Ubuntu.
https://bugs.launchpad.net/bugs/1707193

Title:
  adding printer with IPP network printer via DNS-DS fails due to "There
  was an error during the CUPS operation: 'server-error-internal-error'"

Status in system-config-printer package in Ubuntu:
  Incomplete

Bug description:
  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.

  The same issue happens for Driverless IPP.

  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/1707193/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to