qlog crashes with 'NoneType' object has no attribute 'style'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Mac Installers |
Fix Released
|
Undecided
|
Unassigned | ||
QBzr |
Fix Released
|
Critical
|
Gary van der Merwe | ||
0.18 |
Fix Released
|
Critical
|
Gary van der Merwe | ||
Gentoo Linux |
Fix Released
|
Medium
|
|||
qbzr (Ubuntu) |
Fix Released
|
High
|
Andrew Starr-Bochicchio | ||
Lucid |
Fix Released
|
High
|
Andrew Starr-Bochicchio |
Bug Description
bzr qlog combination of PyQt 4.7.2 and Qt 4.6.2.
It works with:
PyQt 4.7.2 and Qt 4.6.1
PyQt 4.7.0 and Qt 4.6.2
bzr: ERROR: exceptions.
'style'
Traceback (most recent call last):
File
"/usr/lib/
188, in paint
style = widget.style()
AttributeError: 'NoneType' object has no attribute 'style'
Source code snipet:
class RevNoItemDelega
....
def paint(self, painter, option, index):
option = QtGui.QStyleOpt
widget = option.widget
style = widget.style() <-breaks here because widget is None
.... Paint code
Related branches
Changed in gentoo: | |
status: | Unknown → Confirmed |
description: | updated |
Changed in qbzr (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in qbzr: | |
assignee: | nobody → Gary van der Merwe (garyvdm) |
milestone: | none → 0.19b2 |
status: | Confirmed → Fix Released |
Changed in qbzr (Ubuntu Lucid): | |
assignee: | nobody → Andrew Starr-Bochicchio (andrewsomething) |
status: | Confirmed → In Progress |
Changed in gentoo: | |
status: | Confirmed → Fix Released |
summary: |
- qlog fails with a special combination of PyQt4 and Qt + Test |
summary: |
- Test + qlog crashes with 'NoneType' object has no attribute 'style' |
Changed in gentoo: | |
importance: | Unknown → Medium |
This also affects Qbzr 0.18.4