Hi,
this bug is caused by more arguments than argument specifiers in formatted 
string. Imho adding pid to the formatted string is obsolete because bug 
function in hpfax adds pid to the message itself. After removal of pid, call to 
bug function works as expected.

** Patch added: "hplip-hpfax-importerror-print.patch"
   
https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/616450/+attachment/5190541/+files/hplip-hpfax-importerror-print.patch

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

Title:
  hpfax crashed with TypeError in <module>()

Status in HPLIP:
  Incomplete
Status in hplip package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: hplip

  I had to restart in secure mood, tho fix problems with the
  nvidiadrivers, and then this bug came

  ProblemType: Crash
  DistroRelease: Ubuntu 10.10
  Package: hplip 3.10.6-1ubuntu1
  ProcVersionSignature: Ubuntu 2.6.35-14.20-generic 2.6.35
  Uname: Linux 2.6.35-14-generic x86_64
  Architecture: amd64
  Date: Wed Aug 11 19:54:42 2010
  ExecutablePath: /usr/lib/cups/backend/hpfax
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  InterpreterPath: /usr/bin/python2.6
  Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: 
Connection refused
  MachineType: System manufacturer P5QL-E
  Papersize: a4
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-14-generic 
root=UUID=b67e01ec-1845-4d7a-a6c0-ba6df646e66e ro single
  ProcCmdline: python /usr/lib/cups/backend/hpfax
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF8
  PythonArgs: ['/usr/lib/cups/backend/hpfax']
  SourcePackage: hplip
  Title: hpfax crashed with TypeError in <module>()
  Traceback:
   Traceback (most recent call last):
     File "/usr/lib/cups/backend/hpfax", line 86, in <module>
       bug("Error importing HPLIP modules: %s\n" % (pid, e))
   TypeError: not all arguments converted during string formatting
  UserGroups:
   
  dmi.bios.date: 10/14/2008
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0801
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: P5QL-E
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: Rev 2.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.:bvr0801:bd10/14/2008:svnSystemmanufacturer:pnP5QL-E:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5QL-E:rvrRev2.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: P5QL-E
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/616450/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to