This error seems to be in the /prnt/filters/hpps file. The file handle
output_fd is never opened. The line opens the file (150) is commented
out. The issue is that when the HPPS filter throws an error, it attempts
to write to a non-existant temp file. It could be solved by uncommenting
line 150, or even better, adding some exception handling. See attached
patch.

** Patch added: "hpps.patch"
   
https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1495826/+attachment/5116032/+files/hpps.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/1495826

Title:
  hpps crashed with BrokenPipeError in __main__: [Errno 32] Broken pipe

Status in HPLIP:
  New
Status in hplip package in Ubuntu:
  Confirmed

Bug description:
  Got this error after today's updates.

  ProblemType: Crash
  DistroRelease: Ubuntu 15.10
  Package: hplip 3.15.7-0ubuntu2
  ProcVersionSignature: Ubuntu 4.2.0-7.7-generic 4.2.0
  Uname: Linux 4.2.0-7-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.18.1-0ubuntu1
  Architecture: amd64
  Date: Wed Sep  9 09:07:05 2015
  ExecutablePath: /usr/lib/cups/filter/hpps
  InstallationDate: Installed on 2010-10-25 (1785 days ago)
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  InterpreterPath: /usr/bin/python3.4
  MachineType: Dell Inc. Precision WorkStation T3400
  Papersize: letter
  ProcCmdline: /usr/bin/python3 /usr/lib/cups/filter/hpps 2822 wgarcia 
printable 1 HPRGBEmulation=DefaultSRGB\ HPGeneralHalftone=Smooth\ 
HPGraphicsNeutralGrays=Black\ noHPEconoMode\ number-up=1\ HPEdgeControl=Normal\ 
PageSize=Letter\ InputSlot=Auto\ HPPhotoNeutralGrays=ProcessBlack\ 
HPTextNeutralGrays=Black\ noHPEasyColor\ MediaType=Unspecified\ HPColorAsGray\ 
job-uuid=urn:uuid:1c51f32e-7371-3dc7-60eb-e363d3b6af75\ 
job-originating-host-name=localhost\ date-time-at-creation=\ 
date-time-at-processing=\ time-at-creation=1441782411\ 
time-at-processing=1441782411
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-7-generic 
root=UUID=dadc68cb-c217-4aef-a751-ba0b61137c4a ro quiet splash
  PythonArgs: ['/usr/lib/cups/filter/hpps', '2822', 'wgarcia', 'printable', 
'1', 'HPRGBEmulation=DefaultSRGB HPGeneralHalftone=Smooth 
HPGraphicsNeutralGrays=Black noHPEconoMode number-up=1 HPEdgeControl=Normal 
PageSize=Letter InputSlot=Auto HPPhotoNeutralGrays=ProcessBlack 
HPTextNeutralGrays=Black noHPEasyColor MediaType=Unspecified HPColorAsGray 
job-uuid=urn:uuid:1c51f32e-7371-3dc7-60eb-e363d3b6af75 
job-originating-host-name=localhost date-time-at-creation= 
date-time-at-processing= time-at-creation=1441782411 
time-at-processing=1441782411']
  SourcePackage: hplip
  Title: hpps crashed with BrokenPipeError in __main__: [Errno 32] Broken pipe
  Traceback:
   Traceback (most recent call last):
     File "/usr/lib/cups/filter/hpps", line 354, in <module>
       os.write(output_fd, data)
   BrokenPipeError: [Errno 32] Broken pipe
  UpgradeStatus: Upgraded to wily on 2015-09-02 (12 days ago)
  UserGroups:
   
  dmi.bios.date: 06/04/2009
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A09
  dmi.board.name: 0TP412
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 7
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA09:bd06/04/2009:svnDellInc.:pnPrecisionWorkStationT3400:pvr:rvnDellInc.:rn0TP412:rvr:cvnDellInc.:ct7:cvr:
  dmi.product.name: Precision WorkStation T3400
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1495826/+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