Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#56228 - [sip] Broken QDialogButtonBox

Attached to Project: Arch Linux
Opened by Doug Newgard (Scimmia) - Saturday, 04 November 2017, 00:57 GMT
Last edited by Antonio Rojas (arojas) - Monday, 06 November 2017, 07:28 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jelle van der Waa (jelly)
Antonio Rojas (arojas)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


After updating to sip/python2-sip 4.19.4-1 (currently in testing), calibre refuses to start. Error is:

Traceback (most recent call last):
File "/usr/lib/calibre/calibre/gui2/", line 239, in initialize
File "/usr/lib/calibre/calibre/gui2/actions/", line 145, in do_genesis
File "/usr/lib/calibre/calibre/gui2/actions/", line 430, in genesis = Report(self.gui)
File "/usr/lib/calibre/calibre/gui2/actions/", line 329, in __init__
AttributeError: 'NoneType' object has no attribute 'setDefault'

Rebuilding against testing does not help. Updating to 3.11.1 does not help.
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 06 November 2017, 07:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  sip 4.19.5
Comment by Doug Newgard (Scimmia) - Saturday, 04 November 2017, 01:32 GMT
Forgot to mention, pyqt5 5.9.1-1 does not help, either.
Comment by Antonio Rojas (arojas) - Saturday, 04 November 2017, 11:39 GMT
Minimal test case:
#!/usr/bin/env python2

import sys
from PyQt5.Qt import QDialogButtonBox,QApplication

app = QApplication(sys.argv)
qdbb = QDialogButtonBox(QDialogButtonBox.Close)