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 = ...
Summary: [abrt] hplip: open(): setupdialog.py:1111:readwriteFaxInformation:TypeError: ...
Keywords:
Status: CLOSED DUPLICATE of bug 1527575
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 26
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: 2017-07-06 10:21 UTC by daramas444
Modified: 2023-09-14 04:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-04 13:19:53 UTC
Type: ---
Embargoed:


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

Description daramas444 2017-07-06 10:21:58 UTC
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 10:22:05 UTC
Created attachment 1294910 [details]
File: backtrace

Comment 2 daramas444 2017-07-06 10:22:06 UTC
Created attachment 1294911 [details]
File: cgroup

Comment 3 daramas444 2017-07-06 10:22:08 UTC
Created attachment 1294912 [details]
File: cpuinfo

Comment 4 daramas444 2017-07-06 10:22:09 UTC
Created attachment 1294913 [details]
File: environ

Comment 5 daramas444 2017-07-06 10:22:11 UTC
Created attachment 1294914 [details]
File: mountinfo

Comment 6 daramas444 2017-07-06 10:22:13 UTC
Created attachment 1294915 [details]
File: namespaces

Comment 7 daramas444 2017-07-06 10:22:14 UTC
Created attachment 1294916 [details]
File: open_fds

Comment 8 Zdenek Dohnal 2017-07-10 08:42:03 UTC
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.

Comment 9 Zdenek Dohnal 2018-01-04 13:19:53 UTC

*** This bug has been marked as a duplicate of bug 1527575 ***

Comment 10 Red Hat Bugzilla 2023-09-14 04:00:43 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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