Bug 1527575 - [abrt] hplip: open(): setupdialog.py:1113:readwriteFaxInformation:TypeError: critical(QWidget, str, str, buttons: Union[QMessageBox.StandardButtons, QMessageBox.StandardButton] = QMessageBox.Ok, defaultButton: QMessageBox.StandardButton = ...
Summary: [abrt] hplip: open(): setupdialog.py:1113:readwriteFaxInformation:TypeError: ...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 27
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:7eb38466d0c7e6268b888da87eb...
: 1468204 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-19 14:29 UTC by Maël Lavault
Modified: 2020-05-05 03:56 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-30 22:32:15 UTC
Type: ---
Embargoed:
mael.lavault: needinfo-


Attachments (Terms of Use)
File: backtrace (1.50 KB, text/plain)
2017-12-19 14:29 UTC, Maël Lavault
no flags Details
File: cgroup (319 bytes, text/plain)
2017-12-19 14:29 UTC, Maël Lavault
no flags Details
File: cpuinfo (1.26 KB, text/plain)
2017-12-19 14:29 UTC, Maël Lavault
no flags Details
File: environ (1.94 KB, text/plain)
2017-12-19 14:29 UTC, Maël Lavault
no flags Details
File: mountinfo (3.73 KB, text/plain)
2017-12-19 14:29 UTC, Maël Lavault
no flags Details
File: namespaces (129 bytes, text/plain)
2017-12-19 14:29 UTC, Maël Lavault
no flags Details
File: open_fds (1.74 KB, text/plain)
2017-12-19 14:29 UTC, Maël Lavault
no flags Details

Description Maël Lavault 2017-12-19 14:29:21 UTC
Version-Release number of selected component:
hplip-3.17.10-3.fc27

Additional info:
reporter:       libreport-2.9.3
cmdline:        /usr/bin/python3 /usr/bin/hp-setup -u
crash_function: open
exception_type: base.g.Error
executable:     /usr/bin/hp-setup
kernel:         4.14.5-300.fc27.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
setupdialog.py:1113: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 1104, 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 1305, 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 1113, 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 0x7ff6c7633e48>
read: True
self: <ui5.setupdialog.SetupDialog object at 0x7ff6ecebd798>

Comment 1 Maël Lavault 2017-12-19 14:29:28 UTC
Created attachment 1370054 [details]
File: backtrace

Comment 2 Maël Lavault 2017-12-19 14:29:29 UTC
Created attachment 1370055 [details]
File: cgroup

Comment 3 Maël Lavault 2017-12-19 14:29:31 UTC
Created attachment 1370056 [details]
File: cpuinfo

Comment 4 Maël Lavault 2017-12-19 14:29:32 UTC
Created attachment 1370057 [details]
File: environ

Comment 5 Maël Lavault 2017-12-19 14:29:34 UTC
Created attachment 1370058 [details]
File: mountinfo

Comment 6 Maël Lavault 2017-12-19 14:29:35 UTC
Created attachment 1370059 [details]
File: namespaces

Comment 7 Maël Lavault 2017-12-19 14:29:37 UTC
Created attachment 1370060 [details]
File: open_fds

Comment 8 Zdenek Dohnal 2018-01-02 09:49:38 UTC
Hi Maël,

thank you for reporting this issue! Would you mind telling me what were you doing when crash happened? 
Logs show hp-setup cannot find device (printer), was printer turned on when crash happened?
Is your printer multifunction printer with fax support? How is your printer connected to your computer?

Comment 9 Zdenek Dohnal 2018-01-04 13:19:53 UTC
*** Bug 1468204 has been marked as a duplicate of this bug. ***

Comment 10 Sergio Basto 2018-09-20 00:46:26 UTC
I got some similar issue with kanyremote ?!

/usr/bin/python
Traceback (most recent call last):
  File "/usr/bin/kanyremote", line 4507, in <module>
    main()
  File "/usr/bin/kanyremote", line 4426, in main
    mainWindow = kAnyRemote(cfgSet)
  File "/usr/bin/kanyremote", line 3173, in __init__
    self.showWizard(cfgSet,cfgReader.j2meDir_)
  File "/usr/bin/kanyremote", line 3218, in showWizard
    ret  = yesno(self,_tr('Would You like to download J2ME client from Web ?'))
  File "/usr/bin/kanyremote", line 4076, in yesno
    ret = QMessageBox.question(widget,"kAnyRemote",message,QMessageBox.Yes|QMessageBox.Default,QMessageBox.No|QMessageBox.Escape)
TypeError: question(QWidget, str, str, buttons: Union[QMessageBox.StandardButtons, QMessageBox.StandardButton] = QMessageBox.StandardButtons(QMessageBox.Yes|QMessageBox.No), defaultButton: QMessageBox.StandardButton = QMessageBox.NoButton): argument 5 has unexpected type 'StandardButtons'

Comment 11 Sergio Basto 2018-09-20 00:46:56 UTC
also fedora 27

Comment 12 Ben Cotton 2018-11-27 14:39:04 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 13 Ben Cotton 2018-11-30 22:32:15 UTC
Fedora 27 changed to end-of-life (EOL) status on 2018-11-30. Fedora 27 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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