for anyone still running into this problem, i worked around it today by
getting the latest HPLIP from https://developers.hp.com/hp-linux-
imaging-and-printing (i downloaded 3.17.11) and when installing it i
told it to not enable PC/network fax support (it asks near the beginning
of the install); also remember to let it uninstall your old version of
HPLIP, and allow it to install the dependencies it wants.  the setup of
the printer continued fine after that, and i now have printing and
scanning working properly on this HP M1212nf laser printer i'm testing
on a kubuntu 16.04 LTS station.  i used xsane to test the scanning
capabilities.  if you don't need PC/network fax capabilities, this
worked for me to get the rest of it working. -- yossman.net/2018-02-18

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

Title:
  sudo hp-setup fails

Status in sane-backends package in Ubuntu:
  Confirmed

Bug description:
  I have a network printer - HP LaserJet Professional m1212 nf MFP set
  as a network printer and working with several other pc (windows).

  Steps I used:
  1. type 'sudo hp-setup' in the terminal, then entering my password.
  2. select the second option (network/ethernet/wireless) and click next
  3. scan successfully found my printer's ip address
  4. click next
  5. click add printer
  6. seeing a nasty python error in the terminal:

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

  Copyright (c) 2001-15 HP 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.

  Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
  Traceback (most recent call last):
    File "/usr/share/hplip/ui4/setupdialog.py", line 1304, in NextButton_clicked
      self.showAddPrinterPage()
    File "/usr/share/hplip/ui4/setupdialog.py", line 730, in showAddPrinterPage
      self.readwriteFaxInformation()
    File "/usr/share/hplip/ui4/setupdialog.py", line 1099, in 
readwriteFaxInformation
      d = fax.getFaxDevice(self.fax_uri, disable_dbus=True)
    File "/usr/share/hplip/fax/fax.py", line 534, in getFaxDevice
      return MarvellFaxDevice(device_uri, printer_name, callback, fax_type, 
disable_dbus)
    File "/usr/share/hplip/fax/marvellfax.py", line 91, in __init__
      sendfax_a_path = os.readlink(sendfax_path+"/hp-sendfax")
  OSError: [Errno 22] Invalid argument: '/usr/bin/hp-sendfax'
  Traceback (most recent call last):
    File "/usr/share/hplip/ui4/setupdialog.py", line 1304, in NextButton_clicked
      self.showAddPrinterPage()
    File "/usr/share/hplip/ui4/setupdialog.py", line 730, in showAddPrinterPage
      self.readwriteFaxInformation()
    File "/usr/share/hplip/ui4/setupdialog.py", line 1099, in 
readwriteFaxInformation
      d = fax.getFaxDevice(self.fax_uri, disable_dbus=True)
    File "/usr/share/hplip/fax/fax.py", line 534, in getFaxDevice
      return MarvellFaxDevice(device_uri, printer_name, callback, fax_type, 
disable_dbus)
    File "/usr/share/hplip/fax/marvellfax.py", line 91, in __init__
      sendfax_a_path = os.readlink(sendfax_path+"/hp-sendfax")
  OSError: [Errno 22] Invalid argument: '/usr/bin/hp-sendfax'

  """

  NOTE TO DEVS:
  Thanks for deving so much but I can't depend on my Ubuntu machine because I 
can't setup the printer. FOR 6 FUCKING MONTHS. I know you try really hard. But 
this is a plain failure. It saddens me deeply because I really love Ubuntu. 
Just convinced a Debian guy to give Unity a try the other day. But I depend on 
windows for a fucking printer. It sucks, it really does. I wish you'd stop 
releasing new OSes twice a year and focus on making the ones you do release 
work. FUCK YOU CANONICAL FOR NOT MANAGING TO FINISH THE JOB YOU HAVE BEEN 
STARTING SO WELL FOR ALL THESE YEARS.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1627710/+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