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
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
|
Details
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/ui.py", line 239, in initialize ac.do_genesis() File "/usr/lib/calibre/calibre/gui2/actions/__init__.py", line 145, in do_genesis self.genesis() File "/usr/lib/calibre/calibre/gui2/actions/polish.py", line 430, in genesis self.report = Report(self.gui) File "/usr/lib/calibre/calibre/gui2/actions/polish.py", line 329, in __init__ bb.button(bb.Close).setDefault(True) 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
Monday, 06 November 2017, 07:28 GMT
Reason for closing: Fixed
Additional comments about closing: sip 4.19.5
-------
#!/usr/bin/env python2
import sys
from PyQt5.Qt import QDialogButtonBox,QApplication
app = QApplication(sys.argv)
qdbb = QDialogButtonBox(QDialogButtonBox.Close)
qdbb.button(qdbb.Close).setDefault(True)