Bug 1468204 - [abrt] hplip: open(): setupdialog.py:1111:readwriteFaxInformation:TypeError: critical(QWidget, str, str, buttons: Union[QMessageBox.StandardButtons, QMessageBox.StandardButton] = QMessageBox.Ok, defaultButton: QMessageBox.StandardButton = ... [NEEDINFO]
[abrt] hplip: open(): setupdialog.py:1111:readwriteFaxInformation:TypeError: ...
Status: NEW
Product: Fedora
Classification: Fedora
Component: hplip (Show other bugs)
26
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Zdenek Dohnal
Fedora Extras Quality Assurance
https://retrace.fedoraproject.org/faf...
abrt_hash:a840e4309e53ff247d58be194fa...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-06 06:21 EDT by daramas444
Modified: 2017-07-10 04:42 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
zdohnal: needinfo? (daramas444)


Attachments (Terms of Use)
File: backtrace (1.50 KB, text/plain)
2017-07-06 06:22 EDT, daramas444
no flags Details
File: cgroup (289 bytes, text/plain)
2017-07-06 06:22 EDT, daramas444
no flags Details
File: cpuinfo (1.73 KB, text/plain)
2017-07-06 06:22 EDT, daramas444
no flags Details
File: environ (3.77 KB, text/plain)
2017-07-06 06:22 EDT, daramas444
no flags Details
File: mountinfo (3.25 KB, text/plain)
2017-07-06 06:22 EDT, daramas444
no flags Details
File: namespaces (102 bytes, text/plain)
2017-07-06 06:22 EDT, daramas444
no flags Details
File: open_fds (1.13 KB, text/plain)
2017-07-06 06:22 EDT, daramas444
no flags Details

  None (edit)
Description daramas444 2017-07-06 06:21:58 EDT
Description of problem:
use hp-setup to add a printer

Version-Release number of selected component:
hplip-3.17.4-3.fc26

Additional info:
reporter:       libreport-2.9.1
cmdline:        /usr/bin/python3 /usr/bin/hp-setup
crash_function: open
exception_type: base.g.Error
executable:     /usr/bin/hp-setup
kernel:         4.11.6-301.fc26.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
setupdialog.py:1111:readwriteFaxInformation:TypeError: critical(QWidget, str, str, buttons: Union[QMessageBox.StandardButtons, QMessageBox.StandardButton] = QMessageBox.Ok, defaultButton: QMessageBox.StandardButton = QMessageBox.NoButton): argument 5 has unexpected type 'StandardButtons'

Traceback (most recent call last):
  File "/usr/share/hplip/ui5/setupdialog.py", line 1102, in readwriteFaxInformation
    d.open()
  File "/usr/share/hplip/base/device.py", line 1185, in open
    raise Error(ERROR_DEVICE_NOT_FOUND)
base.g.Error: ('Device not found', 2)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/hplip/ui5/setupdialog.py", line 1303, in NextButton_clicked
    self.showAddPrinterPage()
  File "/usr/share/hplip/ui5/setupdialog.py", line 729, in showAddPrinterPage
    self.readwriteFaxInformation()
  File "/usr/share/hplip/ui5/setupdialog.py", line 1111, in readwriteFaxInformation
    QMessageBox.NoButton) == QMessageBox.Cancel:
TypeError: critical(QWidget, str, str, buttons: Union[QMessageBox.StandardButtons, QMessageBox.StandardButton] = QMessageBox.Ok, defaultButton: QMessageBox.StandardButton = QMessageBox.NoButton): argument 5 has unexpected type 'StandardButtons'

Local variables in innermost frame:
error_text: 'Unable to communicate with the device. Please check the device and try again.'
d: <fax.ledmsoapfax.LEDMSOAPFaxDevice object at 0x7f4190e42a58>
read: True
self: <ui5.setupdialog.SetupDialog object at 0x7f41b1f65f78>

Potential duplicate: bug 1371287
Comment 1 daramas444 2017-07-06 06:22:05 EDT
Created attachment 1294910 [details]
File: backtrace
Comment 2 daramas444 2017-07-06 06:22:06 EDT
Created attachment 1294911 [details]
File: cgroup
Comment 3 daramas444 2017-07-06 06:22:08 EDT
Created attachment 1294912 [details]
File: cpuinfo
Comment 4 daramas444 2017-07-06 06:22:09 EDT
Created attachment 1294913 [details]
File: environ
Comment 5 daramas444 2017-07-06 06:22:11 EDT
Created attachment 1294914 [details]
File: mountinfo
Comment 6 daramas444 2017-07-06 06:22:13 EDT
Created attachment 1294915 [details]
File: namespaces
Comment 7 daramas444 2017-07-06 06:22:14 EDT
Created attachment 1294916 [details]
File: open_fds
Comment 8 Zdenek Dohnal 2017-07-10 04:42:03 EDT
Hi,

thank you for contacting us with your issue. Would you mind trying 'hp-setup -i' for installing your printer? To see if the issue is only with GUI part.

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