← Back to team overview

desktop-packages team mailing list archive

[Bug 1369789] Re: system-config-printer.py crashed with TypeError in get_hpfax_device_id(): unorderable types: str() >= int()

 

Uploaded a package fixing bug 1366756, bug 1156398, bug 1380514, and bug
1369789 to utopic-proposed. As soon as the package is approved it will
be available for download and testing and instructions will get posted
here. Please test the package and give your feedback here, otherwise it
will not get available as official update.

To the SRU team: debdiff attached.

** Patch added: "system-config-printer_1.5.1+20141010-0ubuntu2_1.5.1+20141010-0ubuntu2.1.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/1369789/+attachment/4249489/+files/system-config-printer_1.5.1%2B20141010-0ubuntu2_1.5.1%2B20141010-0ubuntu2.1.debdiff

** Changed in: system-config-printer (Ubuntu Utopic)
       Status: Triaged => In Progress

-- 
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/1369789

Title:
  system-config-printer.py crashed with TypeError in
  get_hpfax_device_id(): unorderable types: str() >= int()

Status in “system-config-printer” package in Ubuntu:
  Fix Released
Status in “system-config-printer” source package in Utopic:
  In Progress

Bug description:
  Description:	Ubuntu Utopic Unicorn (development branch)
  Release:	14.10

  hplip:
    Installé : 3.14.6-1ubuntu1
    Candidat : 3.14.6-1ubuntu1
   Table de version :
   *** 3.14.6-1ubuntu1 0
          500 http://archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
          100 /var/lib/dpkg/status

  I was installing my printer when this error popped up.

  
  [Impact]

  It is not possible to set up an HP multi-function printer with fax
  facility. system-config-printer crashes if one selects such a printer
  from the list of detected printers. One even cannot set up only a
  normal print queue for such a printer in case one does not need fax.

  [Test Case]

  Connect an HP multi-function devioce with fax to the computer or to
  the local network. Open system-config-printer, click the "Add printer"
  button, wait for your printer appearing in the list and select it.
  system-config-printer will crash then.

  In the proposed package this is fixed. You can set up both print and
  fax queues without problem.

  [Regression Potential]

  Very low, the patch is trivial.

  
  ProblemType: Crash
  DistroRelease: Ubuntu 14.10
  Package: system-config-printer-gnome 1.5.1+20140911-0ubuntu1
  ProcVersionSignature: Ubuntu 3.16.0-14.20-generic 3.16.2
  Uname: Linux 3.16.0-14-generic x86_64
  ApportVersion: 2.14.7-0ubuntu2
  Architecture: amd64
  CupsErrorLog:
   E [16/Sep/2014:01:51:58 +0200] [Client 19] Returning IPP client-error-bad-request for Print-Job (ipp://localhost/printers/Hewlett-Packard-HP-LaserJet-200-colorMFP-M276nw) from localhost
   W [16/Sep/2014:01:52:02 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'Hewlett-Packard-HP-LaserJet-200-colorMFP-M276nw-Gray..' already exists
   W [16/Sep/2014:01:52:02 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'Hewlett-Packard-HP-LaserJet-200-colorMFP-M276nw-RGB..' already exists
   W [16/Sep/2014:01:55:53 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'HP_LaserJet_200_colorMFP_M276nw-Gray..' already exists
   W [16/Sep/2014:01:55:53 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'HP_LaserJet_200_colorMFP_M276nw-RGB..' already exists
  CurrentDesktop: Unity
  Date: Tue Sep 16 01:50:40 2014
  ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
  InstallationDate: Installed on 2014-09-15 (0 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140915)
  InterpreterPath: /usr/bin/python3.4
  Lpstat:
   device for HP_LaserJet_200_colorMFP_M276nw: hp:/net/HP_LaserJet_200_colorMFP_M276nw?ip=192.168.0.20
   device for HP_LaserJet_200_colorMFP_M276nw_fax: hpfax:/net/HP_LaserJet_200_colorMFP_M276nw?ip=192.168.0.20
  MachineType: Dell Inc. XPS L701X
  PackageArchitecture: all
  Papersize: a4
  PpdFiles:
   HP_LaserJet_200_colorMFP_M276nw: HP LaserJet 200 color MFP M276 Postscript (recommended)
   HP_LaserJet_200_colorMFP_M276nw_fax: HP Fax2 hpcups
  ProcCmdline: /usr/bin/python3 /usr/share/system-config-printer/system-config-printer.py
  ProcEnviron:
   LANGUAGE=fr_FR
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-14-generic root=UUID=aec7736c-09b9-4487-8618-84b0b0716af0 ro quiet splash
  PythonArgs: ['/usr/share/system-config-printer/system-config-printer.py']
  SourcePackage: system-config-printer
  Title: system-config-printer.py crashed with TypeError in get_hpfax_device_id(): unorderable types: str() >= int()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm bumblebee cdrom dip lpadmin plugdev sambashare sudo
  dmi.bios.date: 07/26/2011
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A10
  dmi.board.name: 0V2WG4
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A10
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: A10
  dmi.modalias: dmi:bvnDellInc.:bvrA10:bd07/26/2011:svnDellInc.:pnXPSL701X:pvrA10:rvnDellInc.:rn0V2WG4:rvrA10:cvnDellInc.:ct8:cvrA10:
  dmi.product.name: XPS L701X
  dmi.product.version: A10
  dmi.sys.vendor: Dell Inc.

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