← Back to team overview

desktop-packages team mailing list archive

[Bug 1306344] Re: hp-setup crashes when adding new printer because hp-sendfax is not found

 

Creating the file as described in #2 did not help in my case.  I had to:

sudo ln -s /usr/share/hplip/sendfax.py /usr/bin/hp-sendfax

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

Title:
  hp-setup crashes when adding new printer because hp-sendfax is not
  found

Status in hplip package in Ubuntu:
  Expired

Bug description:
  I am trying to add a new printer (also for scanning and faxing), but
  this fails because the setup routine for Marvell fax expects hp-
  sendfax, which is not part of the installed package.

  $ hp-setup

  HP Linux Imaging and Printing System (ver. 3.14.3)
  Printer/Fax Setup Utility ver. 9.0

  Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
  This software comes with ABSOLUTELY NO WARRANTY.
  This is free software, and you are welcome to distribute it
  under certain conditions. See COPYING file for more details.

  Found device: hp:/net/HP_LaserJet_Professional_M1212nf_MFP?zc=laser
  Traceback (most recent call last):
    File "/usr/share/hplip/ui4/setupdialog.py", line 1237, in NextButton_clicked
      self.showAddPrinterPage()
    File "/usr/share/hplip/ui4/setupdialog.py", line 713, in showAddPrinterPage
      self.readwriteFaxInformation()
    File "/usr/share/hplip/ui4/setupdialog.py", line 1034, in readwriteFaxInformation
      d = fax.getFaxDevice(self.fax_uri, disable_dbus=True)
    File "/usr/share/hplip/fax/fax.py", line 533, in getFaxDevice
      return MarvellFaxDevice(device_uri, printer_name, callback, fax_type, disable_dbus)
    File "/usr/share/hplip/fax/marvellfax.py", line 90, in __init__
      sendfax_a_path = os.readlink(sendfax_path+"/hp-sendfax")
  OSError: [Errno 2] No such file or directory: '/hp-sendfax'
  Traceback (most recent call last):
    File "/usr/share/hplip/ui4/setupdialog.py", line 1237, in NextButton_clicked
      self.showAddPrinterPage()
    File "/usr/share/hplip/ui4/setupdialog.py", line 713, in showAddPrinterPage
      self.readwriteFaxInformation()
    File "/usr/share/hplip/ui4/setupdialog.py", line 1034, in readwriteFaxInformation
      d = fax.getFaxDevice(self.fax_uri, disable_dbus=True)
    File "/usr/share/hplip/fax/fax.py", line 533, in getFaxDevice
      return MarvellFaxDevice(device_uri, printer_name, callback, fax_type, disable_dbus)
    File "/usr/share/hplip/fax/marvellfax.py", line 90, in __init__
      sendfax_a_path = os.readlink(sendfax_path+"/hp-sendfax")
  OSError: [Errno 2] No such file or directory: '/hp-sendfax'

  alex@thinkpad:~$ apt-cache policy hplip
  hplip:
    Installed: 3.14.3-0ubuntu3
    Candidate: 3.14.3-0ubuntu3
    Version table:
   *** 3.14.3-0ubuntu3 0
          500 http://tw.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: hplip 3.14.3-0ubuntu3
  ProcVersionSignature: Ubuntu 3.13.0-23.45-generic 3.13.8
  Uname: Linux 3.13.0-23-generic x86_64
  ApportVersion: 2.14.1-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Apr 11 11:06:56 2014
  InstallationDate: Installed on 2013-03-19 (387 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130318)
  MachineType: LENOVO 3626A14
  Papersize: a4
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-23-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash crashkernel=384M-:128M vt.handoff=7
  SourcePackage: hplip
  UpgradeStatus: Upgraded to trusty on 2014-03-04 (37 days ago)
  dmi.bios.date: 04/26/2012
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 6QET69WW (1.39 )
  dmi.board.name: 3626A14
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr6QET69WW(1.39):bd04/26/2012:svnLENOVO:pn3626A14:pvrThinkPadX201:rvnLENOVO:rn3626A14:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 3626A14
  dmi.product.version: ThinkPad X201
  dmi.sys.vendor: LENOVO

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