Comment 0 for bug 1627710

Revision history for this message
Ezekiel (ezey) wrote : sudo hp-setup fails

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.