hp-setup error with Envy Photo 6230

Bug #1805032 reported by Fabrizio Renna
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
In Progress
Undecided
Unassigned

Bug Description

- I have just bought a HP ENVY Photo 6230 printer and it is working very well in Wifi on a Windows PC. I wanted to install it also on my laptop provided with Linux Mint 18.3 Sylvia.

- I managed to complete installation of HPLIP driver (ver. 3.18.10) without any error.
Just a note: I had to run hplip-3.18.10.run as superuser (sudo).

- When I tried to complete Wireless connection using hp-setup and related GUI I obtain the following error:

============================================================================

brizio@brizio-HP ~/Scrivania $ hp-setup

HP Linux Imaging and Printing System (ver. 3.18.10)
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 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

GET /IoMgmt/Adapters HTTP/1.1
Host: localhost
User-Agent: hplip/3.0
Content-Type: text/xml; charset=utf-8
Content-Length: 0

GET /IoMgmt/Adapters/Wifi0/WifiNetworks HTTP/1.1
Host: localhost
User-Agent: hplip/3.0
Content-Type: text/xml; charset=utf-8
Content-Length: 0

Traceback (most recent call last):
  File "/usr/share/hplip/ui4/wifisetupdialog.py", line 713, in NextButton_clicked
    self.showNetworkPage()
  File "/usr/share/hplip/ui4/wifisetupdialog.py", line 299, in showNetworkPage
    self.performScan()
  File "/usr/share/hplip/ui4/wifisetupdialog.py", line 316, in performScan
    self.networks = self.wifiObj.performScan(self.dev, self.adapterName)
  File "/usr/share/hplip/base/LedmWifi.py", line 161, in performScan
    params,code,elementCount = readXmlDataFromURI(dev,URI,'<io:WifiNetworks', '<io:WifiNetwork>',10)
  File "/usr/share/hplip/base/LedmWifi.py", line 586, in readXmlDataFromURI
    strResp = utils.extract_xml_chunk(strResp)
  File "/usr/share/hplip/base/utils.py", line 2438, in extract_xml_chunk
    size = int(data[0:index+1], 16)
ValueError: invalid literal for int() with base 16: 'HTTP/1.1 200 OK '

=================================================================

It seems to be a bug in the python file/usr/share/hplip/base/utils.py.

Could you please provide a fix?
How can I modify this file to work?

I have attached also the complete output from hp-check script.
Thanks in advance.

Revision history for this message
Fabrizio Renna (rennafab) wrote :
Revision history for this message
brian_p (claremont102) wrote :

> - I have just bought a HP ENVY Photo 6230 printer and it is working very well in > Wifi on a Windows PC. I wanted to install it also on my laptop provided with
> Linux Mint 18.3 Sylvia.

Look at what cups-browsed has to offer you. You are in the second decade of of the 21st century and your printer fits well with driverless printing. You can, of course, wait for upstream HPLIP to attend to your bug.

--
Brian.

Revision history for this message
brian_p (claremont102) wrote :

After this length of time, and no response, it is most probable that the OP has solved his problem and is able to print.

--
Brian.

Changed in hplip:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.