Bug 1371287 - [abrt] hplip: setupdialog.py:1111:readwriteFaxInformation:TypeError: critical(QWidget, str, str, buttons: Union[QMessageBox.StandardButtons, QMessageBox.StandardButton] = QMessageBox.Ok, defaultButton: QMessageBox.StandardButton = QMessageBox.NoButton)...
Summary: [abrt] hplip: setupdialog.py:1111:readwriteFaxInformation:TypeError: critical...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:a840e4309e53ff247d58be194fa...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-29 19:45 UTC by jibecfed
Modified: 2017-07-10 11:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-10 11:12:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.49 KB, text/plain)
2016-08-29 19:45 UTC, jibecfed
no flags Details
File: environ (3.03 KB, text/plain)
2016-08-29 19:45 UTC, jibecfed
no flags Details

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.


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