Bug 1371287

Summary: [abrt] hplip: setupdialog.py:1111:readwriteFaxInformation:TypeError: critical(QWidget, str, str, buttons: Union[QMessageBox.StandardButtons, QMessageBox.StandardButton] = QMessageBox.Ok, defaultButton: QMessageBox.StandardButton = QMessageBox.NoButton)...
Product: [Fedora] Fedora Reporter: jibecfed <jean-baptiste>
Component: hplipAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: jean-baptiste, jpopelka, twaugh, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/63b21043f94b2570324b84230111ca811305c467
Whiteboard: abrt_hash:a840e4309e53ff247d58be194fa46022a925e092;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-10 11:12:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description jibecfed 2016-08-29 19:45:10 UTC
Description of problem:
just found my printer then it crashed

Version-Release number of selected component:
hplip-3.16.7-2.fc24

Additional info:
reporter:       libreport-2.7.2
cmdline:        /usr/bin/python3 /usr/bin/hp-setup
executable:     /usr/bin/hp-setup
kernel:         4.6.7-300.fc24.x86_64
pkg_fingerprint: 73BD E983 81B4 6521
pkg_vendor:     Fedora Project
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:
d: <fax.ledmfax.LEDMFaxDevice object at 0x7fe46748ff60>
read: True
error_text: 'Unable to communicate with the device. Please check the device and try again.'
self: <ui5.setupdialog.SetupDialog object at 0x7fe49bbe4af8>

Comment 1 jibecfed 2016-08-29 19:45:17 UTC
Created attachment 1195482 [details]
File: backtrace

Comment 2 jibecfed 2016-08-29 19:45:19 UTC
Created attachment 1195483 [details]
File: environ

Comment 3 Zdenek Dohnal 2017-01-11 17:32:02 UTC
Hi,

would you mind trying the newest build if it solves issue? https://koji.fedoraproject.org/koji/taskinfo?taskID=17245172

Comment 4 jibecfed 2017-04-10 11:05:33 UTC
Bugzilla tell me it's one of my outstanding request, but I'm afraid I don't know how to reproduce this. I'll try again from virtual machine to see if it crash again and will try to record my actions. Sorry for this huge delay in my answer.

Comment 5 jibecfed 2017-07-10 11:12:20 UTC
I can't reproduce it. Sorry.