1

I'm on ubuntu 16.4 and have an updated and upgraded hplip and hplip-gui installed. Now, I try to install a hp laser printer M 15w.

The setup routine finds a printer but crashes with the traceback:

Traceback (most recent call last):
  File "/usr/share/hplip/ui5/wifisetupdialog.py", line 754, in NextButton_clicked
    self.showExitPage()
  File "/usr/share/hplip/ui5/wifisetupdialog.py", line 573, in showExitPage
    self.ip, subnetmask, gateway, pri_dns, sec_dns, addressmode = self.wifiobj.getwifiotherdetails(self.dev,self.adapterName)
AttributeError: 'WifiSetupDialog' object has no attribute 'wifiobj'

This happens just before completing the installation process.

The command

apt-cache policy hplip hplip-data; python3 -V; python -V 

gives:

hplip:
  Installiert:           3.17.10+repack0-5
  Installationskandidat: 3.17.10+repack0-5
  Versionstabelle:
 *** 3.17.10+repack0-5 500
        500 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status
hplip-data:
  Installiert:           3.17.10+repack0-5
  Installationskandidat: 3.17.10+repack0-5
  Versionstabelle:
 *** 3.17.10+repack0-5 500
        500 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://de.archive.ubuntu.com/ubuntu bionic/main i386 Packages
        100 /var/lib/dpkg/status
Python 3.6.9
Python 2.7.17
Michael
  • 111
  • 2
  • 2
    Can you please provide `apt-cache policy hplip hplip-data; python3 -V; python -V` (edit your question and provide details there) – guiverc Jan 11 '20 at 12:36
  • @guiverc I edited my question to provide details. – Michael Jan 11 '20 at 13:28
  • 2
    Does this answer your question? [How to install latest HPLIP on my Ubuntu to support my HP printer and/or scanner?](https://askubuntu.com/questions/1056077/how-to-install-latest-hplip-on-my-ubuntu-to-support-my-hp-printer-and-or-scanner) (as you need at least 3.18.4 for [yours printer](https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index)). – N0rbert Jan 11 '20 at 17:16

0 Answers0