Follow-up Comment #4, bug #21145 (project mypaint):
>From my bug email, salamanderrake's second reported backtrace was:
[code]
Traceback (most recent call last):
File "/home/salamanderrake/src/mypaint/git/gui/pixbuflist.py", line 300,
button_press_cb(self=<_BrushList object at 0x1fbf960 (gui+dialogs+_BrushList
at 0x25cde30)>, widget=<_BrushList object at 0x1fbf960
(gui+dialogs+_BrushList
at 0x25cde30)>, event=<void>)
self.set_selected(item)
self.on_select(item)
if self.selected is not None:
variables: {'item': ('local', <ManagedBrush u'deevad/blending' p=None>),
'self.on_select': ('local', <bound method _BrushList.on_select of <_BrushList
object at 0x1fbf960 (gui+dialogs+_BrushList at 0x25cde30)>>)}
File "/home/salamanderrake/src/mypaint/git/gui/dialogs.py", line 295,
on_select(self=<_BrushList object at 0x1fbf960 (gui+dialogs+_BrushList at
0x25cde30)>, brush=<ManagedBrush u'deevad/blending' p=None>)
def on_select(self, brush):
self.chooser.on_select(brush)
variables: {'self.chooser.on_select': ('local', <bound method
BrushDropdownToolItem.on_quick_change_select of <BrushDropdownToolItem object
at 0x1fbceb0 (MyPaintBrushDropdownToolItem at 0x2a345a0)>>), 'brush':
('local', <ManagedBrush u'deevad/blending' p=None>)}
File "/home/salamanderrake/src/mypaint/git/gui/toolbar.py", line 439,
on_quick_change_select(self=<BrushDropdownToolItem object at 0x1fbceb0
(MyPaintBrushDropdownToolItem at 0x2a345a0)>, brush=<ManagedBrush
u'deevad/blending' p=None>)
self.dropdown_button.panel_hide(immediate=False)
self.app.brushmanager.select_brush(brush)
variables: {'self.app.brushmanager.select_brush': ('local', <bound method
BrushManager.select_brush of <gui.brushmanager.BrushManager object at
0xa67910>>), 'brush': ('local', <ManagedBrush u'deevad/blending' p=None>)}
File "/home/salamanderrake/src/mypaint/git/gui/brushmanager.py", line 678,
select_brush(self=<gui.brushmanager.BrushManager object>, brush=<ManagedBrush
u'deevad/blending' p=None>)
# brush, amongst other things
self.brush_selected(brush, brushinfo)
variables: {'self.brush_selected': ('local',
<lib.observable._MethodWithObservers object at 0xa85fd0>), 'brush': ('local',
<ManagedBrush u'deevad/blending' p=None>), 'brushinfo': ('local',
<lib.brush.BrushInfo instance at 0xa7dcb0>)}
File "/home/salamanderrake/src/mypaint/git/lib/observable.py", line 175,
__call__(self=<lib.observable._MethodWithObservers object>,
*args=(<ManagedBrush u'deevad/blending' p=None>, <lib.brush.BrushInfo
instance>), **kwargs={})
try:
observer(observed, *args, **kwargs)
except _BoundObserverMethod._ReferenceError, ex:
variables: {'observed': ('local', <gui.brushmanager.BrushManager object at
0xa67910>), 'args': ('local', (<ManagedBrush u'deevad/blending' p=None>,
<lib.brush.BrushInfo instance at 0xa7dcb0>)), 'observer': ('local',
'brush_selected_cb' of <gui.brushmodifier.BrushModifier instance at
0x1db9ea8>), 'kwargs': ('local', {})}
File "/home/salamanderrake/src/mypaint/git/lib/observable.py", line 288,
__call__(self='brush_selected_cb' of <gui.brushmodifier.BrushModifier
instance>, observed=<gui.brushmanager.BrushManager object>,
*args=(<ManagedBrush u'deevad/blending' p=None>, <lib.brush.BrushInfo
instance>), **kwargs={})
raise self._ReferenceError
self._observer_method(observer, observed, *args, **kwargs)
del observer
variables: {'observed': ('local', <gui.brushmanager.BrushManager object at
0xa67910>), 'self._observer_method': ('local', <function brush_selected_cb at
0x20bdb18>), 'args': ('local', (<ManagedBrush u'deevad/blending' p=None>,
<lib.brush.BrushInfo instance at 0xa7dcb0>)), 'observer': ('local',
<gui.brushmodifier.BrushModifier instance at 0x1db9ea8>), 'kwargs': ('local',
{})}
File "/home/salamanderrake/src/mypaint/git/gui/brushmodifier.py", line 280,
brush_selected_cb(self=<gui.brushmodifier.BrushModifier instance>,
bm=<gui.brushmanager.BrushManager object>, managed_brush=<ManagedBrush
u'deevad/blending' p=None>, brushinfo=<lib.brush.BrushInfo instance>)
b.set_color_hsv(color)
b.set_string_property("parent_brush_name", managed_brush.name)
variables: {'color': ('local', None), 'b.set_color_hsv': ('local', <bound
method BrushInfo.set_color_hsv of <lib.brush.BrushInfo instance at
0xa0d200>>)}
File "/home/salamanderrake/src/mypaint/git/lib/brush.py", line 414,
set_color_hsv(self=<lib.brush.BrushInfo instance>, hsv=None)
try:
h, s, v = hsv
self.set_base_value('color_h', h)
variables: {'h': (None, []), 's': ('global',
<brushlib.brushsettings.BrushSetting instance at 0x1d45c68>), 'hsv':
('local',
None), 'v': (None, [])}
TypeError: 'NoneType' object is not iterable
[/code]
Two methods of selecting brushes, but same widget involved and same error. So
same bug.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21145>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs