hp-wificonfig fails with core dump

Bug #1752060 reported by Boyd Kelly
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
HPLIP
In Progress
Undecided
Afshan F

Bug Description

Running from hplip 3.17.11 on Fedora Rawhide hp-wificonfig after seeming to connect to printer ends with:

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'
Aborted (core dumped)

(When runnning from with device manager, only the Back and Cancel buttons are active after printer seemingly connects. No possibility to complete installation.

Tags: patch
Revision history for this message
brian_p (claremont102) wrote :

Is your wireless-capable device one which is supported by this utility?

Cheers,

Brian.

Revision history for this message
Vasil Sarafov (vasil-sarafov) wrote :

I can also confirm the very same bug on Fedora 26 running 3.17.11-3.fc26

I was trying to connect an HP Deskjet 3050 j610 printer to a WiFi network with a hidden SSID and WPA2 protection. After ~1h of fighting with hplip I opened another Access Point without any protection and with a public SSID, connected the printer to it using hplip (without any hassle) and opened the embedded website where I specified the correct credentials of the original, protected network. Everything worked as expected thereafter.

I assume there is a problem with WPA2 and/or hidden SSIDs.

Revision history for this message
Boyd Kelly (bkelly) wrote : Re: [Bug 1752060] Re: hp-wificonfig fails with core dump

Yeah it has always worked in the past. Some update of something has broken
it.

On Tue, Feb 27, 2018, 21:30 Vasil Sarafov, <email address hidden> wrote:

> I can also confirm the very same bug on Fedora 26 running 3.17.11-3.fc26
>
> I was trying to connect an HP Deskjet 3050 j610 printer to a WiFi
> network with a hidden SSID and WPA2 protection. After ~1h of fighting
> with hplip I opened another Access Point without any protection and with
> a public SSID, connected the printer to it using hplip (without any
> hassle) and opened the embedded website where I specified the correct
> credentials of the original, protected network. Everything worked as
> expected thereafter.
>
> I assume there is a problem with WPA2 and/or hidden SSIDs.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1752060
>
> Title:
> hp-wificonfig fails with core dump
>
> Status in HPLIP:
> New
>
> Bug description:
> Running from hplip 3.17.11 on Fedora Rawhide hp-wificonfig after
> seeming to connect to printer ends with:
>
> 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'
> Aborted (core dumped)
>
>
> (When runnning from with device manager, only the Back and Cancel
> buttons are active after printer seemingly connects. No possibility to
> complete installation.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hplip/+bug/1752060/+subscriptions
>

Revision history for this message
Afshan F (afshan) wrote :

Hi Boyd,

Can you please mention which printer you are using?

Thanks,
Afshan

Changed in hplip:
assignee: nobody → Afshan F (afshan)
status: New → In Progress
Revision history for this message
Boyd Kelly (bkelly) wrote :

Sorry its an HPLaserJet P1102w

On Wed, Feb 28, 2018 at 6:01 AM Afshan F <email address hidden> wrote:

> Hi Boyd,
>
> Can you please mention which printer you are using?
>
> Thanks,
> Afshan
>
> ** Changed in: hplip
> Status: New => In Progress
>
> ** Changed in: hplip
> Assignee: (unassigned) => Afshan F (afshan)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1752060
>
> Title:
> hp-wificonfig fails with core dump
>
> Status in HPLIP:
> In Progress
>
> Bug description:
> Running from hplip 3.17.11 on Fedora Rawhide hp-wificonfig after
> seeming to connect to printer ends with:
>
> 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'
> Aborted (core dumped)
>
>
> (When runnning from with device manager, only the Back and Cancel
> buttons are active after printer seemingly connects. No possibility to
> complete installation.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hplip/+bug/1752060/+subscriptions
>

Revision history for this message
Dinh (dinhdinh) wrote :

Same problem. I use mobile hotspot and have no chance to configure the wifi hotspot in term of "protection".

Revision history for this message
Matthew Darwin (bugs-mdarwin) wrote :

Same problem with HPLaserJet P1102w on Ubuntu 18.04 (beta)

Revision history for this message
Robin Kirchner (lootbox) wrote :

I have the same printer (HPLaserJet P1102w) and get the same error on Ubuntu 16.10 LTS.

Revision history for this message
kkivi (kkivi) wrote :

ubuntu 18.04, HPLaserJet P1102w
same problem

Revision history for this message
Tomas Korbar (tkorbar) wrote :

Hi,
This bug is caused by typo in property call wifiobj. It is supposed to be wifiObj. Im including patch which fixes it.

tags: added: has patch
tags: removed: has
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.