HPLIP Wifi Config not working on HP Smart Tank 517

Asked by Elvio Lampugnani

Well... I bought an HP Smart Tank 517 printer to replace an HP OfficeJet 8100 Pro.
With HPLIP 3.20.9 on Linux Mint 20 Cinnamon 64bit, I can't access the wifi configuration of SmartTank 517.
I removed the HPLIP, installed it again and can't get access.
The "HP Device Manager" panel has a message "Device is busy, powered down, or unplugged".
When executing the command "hp-wificonfig" via terminal, I see the following result:
[
elvio@pc-elvio-mint20:~$ hp-wificonfig

HP Linux Imaging and Printing System (ver. 3.20.9)
Wifi Configuration Utility ver. 1.1

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

qt5ct: using qt5ct plugin
Searching on USB bus...
GET /IoMgmt/Adapters HTTP/1.1
Host: localhost
User-Agent: hplip/3.0
Content-Type: text/xml; charset=utf-8
Content-Length: 0

error: Channel write error
Traceback (most recent call last):
  File "/usr/share/hplip/ui5/wifisetupdialog.py", line 274, in showNetworkPage
    adaptor_list = self.wifiObj.getWifiAdaptorID(self.dev)
  File "/usr/share/hplip/base/LedmWifi.py", line 97, in getWifiAdaptorID
    ret = getAdaptorList(dev)
  File "/usr/share/hplip/base/LedmWifi.py", line 60, in getAdaptorList
    paramsList,code = readXmlTagDataFromURI(dev,URI,'<io:Adapters', '<io:Adapter>')
  File "/usr/share/hplip/base/LedmWifi.py", line 499, in readXmlTagDataFromURI
    dev.writeMarvell_EWS(data)
  File "/usr/share/hplip/base/device.py", line 2232, in writeMarvell_EWS
    return self.__writeChannel(self.openMarvell_EWS, data)
  File "/usr/share/hplip/base/device.py", line 2262, in __writeChannel
    raise Error(ERROR_DEVICE_IO_ERROR)
base.g.Error: ('Device I/O error', 12)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/hplip/ui5/wifisetupdialog.py", line 719, in NextButton_clicked
    self.showNetworkPage()
  File "/usr/share/hplip/ui5/wifisetupdialog.py", line 276, in showNetworkPage
    self.showIOError(e)
  File "/usr/share/hplip/ui5/wifisetupdialog.py", line 843, in showIOError
    FailureUI(self, self.__tr("<b>An I/O error occurred.</b><p>Please check the USB connection to your printer and try again.</p>(%s)" % str(e[0])))
TypeError: 'Error' object is not subscriptable
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] Arquivo ou diretório não encontrado: '/var/crash/_usr_share_hplip_wificonfig.py.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/share/hplip/ui5/wifisetupdialog.py", line 274, in showNetworkPage
    adaptor_list = self.wifiObj.getWifiAdaptorID(self.dev)
  File "/usr/share/hplip/base/LedmWifi.py", line 97, in getWifiAdaptorID
    ret = getAdaptorList(dev)
  File "/usr/share/hplip/base/LedmWifi.py", line 60, in getAdaptorList
    paramsList,code = readXmlTagDataFromURI(dev,URI,'<io:Adapters', '<io:Adapter>')
  File "/usr/share/hplip/base/LedmWifi.py", line 499, in readXmlTagDataFromURI
    dev.writeMarvell_EWS(data)
  File "/usr/share/hplip/base/device.py", line 2232, in writeMarvell_EWS
    return self.__writeChannel(self.openMarvell_EWS, data)
  File "/usr/share/hplip/base/device.py", line 2262, in __writeChannel
    raise Error(ERROR_DEVICE_IO_ERROR)
base.g.Error: ('Device I/O error', 12)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/hplip/ui5/wifisetupdialog.py", line 719, in NextButton_clicked
    self.showNetworkPage()
  File "/usr/share/hplip/ui5/wifisetupdialog.py", line 276, in showNetworkPage
    self.showIOError(e)
  File "/usr/share/hplip/ui5/wifisetupdialog.py", line 843, in showIOError
    FailureUI(self, self.__tr("<b>An I/O error occurred.</b><p>Please check the USB connection to your printer and try again.</p>(%s)" % str(e[0])))
TypeError: 'Error' object is not subscriptable

elvio@pc-elvio-mint20:~$
]
Is there a bug in the HPLIP code in relation to this printer model?

As I have an urgency to configure, a palliative solution was to install Windows on a Virtual Machine and access the wifi settings through the VM, so it worked.
In Linux Mint, the printer detected in the printer manager is installed, configured and working. The scanner has not been tested.

Question information

Language:
English Edit question
Status:
Expired
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.