Bug 10067 - Cannot setup wifi printing with hplip 3.12
Summary: Cannot setup wifi printing with hplip 3.12
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Florian Hubold
QA Contact:
URL:
Whiteboard:
Keywords: PATCH, Triaged, UPSTREAM
: 11022 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-05-11 22:28 CEST by Greg McGee
Modified: 2014-02-04 12:58 CET (History)
5 users (show)

See Also:
Source RPM: hplip-3.12.9-6.mga3
CVE:
Status comment:


Attachments

Description Greg McGee 2013-05-11 22:28:01 CEST
Description of problem:
Version-Release number of selected component (if applicable):

Wifi printing setup fails with hplip 3.12.





How reproducible:
Attempt to setup wifi.

Errors out with:
.....
Searching on USB bus...
Traceback (most recent call last):
  File "/usr/share/hplip/ui4/wifisetupdialog.py", line 703, in NextButton_clicked
    self.showNetworkPage()
  File "/usr/share/hplip/ui4/wifisetupdialog.py", line 272, in showNetworkPage
    self.adaptor_id, self.adapterName, state, presence =  self.wifiObj.setAdaptorPower(self.dev, adaptor_list )
ValueError: need more than 1 value to unpack


Problem supposedly fixed with hplip there is a bug in one of the install scripts 

https://bugs.launchpad.net/hplip/+bug/1048754

Current hplip is 3.13.4

Reproducible: 

Steps to Reproduce:
Comment 1 Manuel Hiebel 2013-05-11 22:38:42 CEST
maybe it works using this file https://bugs.launchpad.net/hplip/+bug/1048754/comments/22 ?
(better save the original wifi.py)

(I change also version as we are near to mga3)

Keywords: (none) => Triaged
Component: Release (media or process) => RPM Packages
Version: Cauldron => 3
Assignee: bugsquad => doktor5000
Whiteboard: (none) => upstream,patch

Comment 2 Greg McGee 2013-05-12 04:12:32 CEST
Confirming fix, works as expected.

I urpme'd everything print related out by the roots and started over to make as sure as possible it was a clean install.

You must run (as user) hp-setup (or from hp-toolbox) to get the printer on your network, then then run hp-setup (ipaddress) as user (in a shell) to finish the deed, the Mageia priner GUI doesn't appear to have all the required hooks, but the hp-toolbox works well.
Comment 3 Greg McGee 2013-05-12 04:17:57 CEST
Just to be clear, I only:
cp wifi.py /usr/share/hplip/base/

into existing std Mageia version.
Comment 4 Manuel Hiebel 2013-05-12 10:37:27 CEST
ok , I added something in the errata

Keywords: (none) => PATCH, UPSTREAM
Whiteboard: upstream,patch => (none)

Comment 5 Florian Hubold 2013-08-17 18:32:53 CEST
*** Bug 11022 has been marked as a duplicate of this bug. ***

CC: (none) => thomas

Comment 6 Thomas Spuhler 2013-09-17 02:27:24 CEST
When will this move forward?

Severity: normal => major

Comment 7 Florian Hubold 2013-09-17 20:42:08 CEST
Well, feel free to fix it in the meantime ...

CC: (none) => doktor5000

Comment 8 Thomas Spuhler 2013-10-06 22:17:44 CEST
I'll do it this afternoon, if the maintainer, doctor5000 doesn't object.
The patch works locally. Already committed in svn
Comment 9 Florian Hubold 2013-10-13 14:57:45 CEST
(In reply to Thomas Spuhler from comment #8)
> I'll do it this afternoon, if the maintainer, doctor5000 doesn't object.
> The patch works locally. Already committed in svn

As you have already submitted it to updates_testing one week ago, will you also write the advisory and hand it over to QA? https://wiki.mageia.org/en/Updates_policy#Maintainer_.28or_any_interested_packager.29
Comment 10 Thomas Spuhler 2013-10-13 20:29:11 CEST
I will. I want to test it from a second box before writing the advisory
Comment 11 Florian Hubold 2013-10-13 22:04:20 CEST
Well, as the OP already has the fixed version, maybe it's better to wait until we have first reports about newest hplip in Cauldron, as it fixes some security issues, wifi setup, format issues and also plugin issues, so holds potential fixes for at least 4 open bugs.

See https://ml.mageia.org/wwsympa-wrapper.fcgi/arc/dev/2013-10/msg00386.html

And not push a minor fix, which still leaves 3 bugs to go ...
Comment 12 Thomas Spuhler 2013-10-14 00:19:20 CEST
Well, I thought about this when I saw your e-mail. It's up to you.
I certainly do not agree with your expression: minor fix.
This is a major feature broken, Wi-Fi HP printers are unusable, period.
Comment 13 Greg McGee 2013-10-14 03:12:25 CEST
Did the recent HPLIP update or fix make it into the last alpha?
I can give it a go if that is the case...
Comment 14 Florian Hubold 2013-10-15 21:45:14 CEST
(In reply to Greg McGee from comment #13)
> Did the recent HPLIP update or fix make it into the last alpha?
> I can give it a go if that is the case...

Not sure what the last alpha contained, but you can easily update hplip, I've just updated it to last stable 3.13.9 this weekend.
Comment 15 Greg McGee 2013-11-18 01:19:47 CET
Just confirmed working with current cauldron (mga4b1 + updates equivalent)
One does have to configure the usb device and save first ot the wireless setup does not "stick". (tried to go direct to wifi device as it will never see the printer that way again, it does allow it, doesn't take)
Comment 16 Florian Hubold 2014-01-28 23:59:28 CET
Totally forgot abou this, fix is also included in latest hplip update, cf. https://bugs.mageia.org/show_bug.cgi?id=11809

Suggested advisory:

I have uploaded a patched/updated package for Mageia 3.

You can test this installing hplip and setting up a wireless connection.

Suggested advisory:
========================

hplip after 3.12.9 and prior to version 3.12.11 had issues with setting up wireless connection to printers due to internal code changes which have not been applied consistently. This update adresses this issue.

References:
https://bugs.launchpad.net/hplip/+bug/1048754

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

*** Arch: i586 ***

RPMs from 'core-updates_testing'
========================
hplip-3.12.9-6.3.mga3.i586.rpm
hplip-doc-3.12.9-6.3.mga3.i586.rpm
hplip-gui-3.12.9-6.3.mga3.i586.rpm
hplip-hpijs-3.12.9-6.3.mga3.i586.rpm
hplip-hpijs-ppds-3.12.9-6.3.mga3.i586.rpm
hplip-model-data-3.12.9-6.3.mga3.i586.rpm
libhpip0-3.12.9-6.3.mga3.i586.rpm
libhpip0-devel-3.12.9-6.3.mga3.i586.rpm
libsane-hpaio1-3.12.9-6.3.mga3.i586.rpm

SRPMs from 'core-updates_testing'
========================
hplip-3.12.9-6.3.mga3.src.rpm

*** Arch: x86_64 ***

RPMs from 'core-updates_testing'
========================
hplip-3.12.9-6.3.mga3.x86_64.rpm
hplip-doc-3.12.9-6.3.mga3.x86_64.rpm
hplip-gui-3.12.9-6.3.mga3.x86_64.rpm
hplip-hpijs-3.12.9-6.3.mga3.x86_64.rpm
hplip-hpijs-ppds-3.12.9-6.3.mga3.x86_64.rpm
hplip-model-data-3.12.9-6.3.mga3.x86_64.rpm
lib64hpip0-3.12.9-6.3.mga3.x86_64.rpm
lib64hpip0-devel-3.12.9-6.3.mga3.x86_64.rpm
lib64sane-hpaio1-3.12.9-6.3.mga3.x86_64.rpm

SRPMs from 'core-updates_testing'
========================
hplip-3.12.9-6.3.mga3.src.rpm

Status: NEW => ASSIGNED
Assignee: doktor5000 => qa-bugs

Comment 17 claire robinson 2014-01-29 08:13:57 CET
This is confusing things I think Florian.

We now have two bugs assigned to us for the same update. I'm assigning this one back to you as the other one has already been tested and is awaiting validation.

Could you please transfer this advisory to the other bug and join them into one advisory.

Thanks in advance

Blocks: (none) => 11809
Assignee: qa-bugs => doktor5000

claire robinson 2014-01-29 08:14:17 CET

CC: (none) => qa-bugs

Comment 18 Samuel Verschelde 2014-01-29 17:59:50 CET
I merged the advisories into one and uploaded it.

CC: (none) => stormi

Comment 19 Samuel Verschelde 2014-01-29 18:03:26 CET
Now we need at least someone to test that WIFI works with hplip, so that we can push the update. Otherwise we can also just push the security update and not mention this bug.
Comment 20 Samuel Verschelde 2014-02-04 12:32:43 CET
We need to push the security update, so removing the dependency. 

Florian, either keep the bug report open if you want people to test it, or just close it as fixed since the update will be pushed with the security update.

Blocks: 11809 => (none)

Comment 21 Florian Hubold 2014-02-04 12:58:57 CET
(In reply to Samuel VERSCHELDE from comment #20)
> or just close it as fixed since the update will be pushed with the security
> update.

Yep. Should be fixed once hplip-3.12.9-6.3.mga3 hits normal update repos.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.