Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/home/home/mypaint/gui/brushselectionwindow.py", line 146, button_press_cb(self=<BrushList object at 0x34d9e60 (PixbufList at 0x3713180)>, widget=<BrushList object at 0x34d9e60 (PixbufList at 0x3713180)>, event=<gtk.gdk.Event at 0x30dafd0: GDK_BUTTON_PRESS x=22.95, y=34.20, button=1>)
- self.app.device_monitor.device_used(event.device)
- pixbuflist.PixbufList.button_press_cb(self, widget, event)
- variables: {'widget': ('local', <BrushList object at 0x34d9e60 (PixbufList at 0x3713180)>), 'self': ('local', <BrushList object at 0x34d9e60 (PixbufList at 0x3713180)>), 'pixbuflist.PixbufList.button_press_cb': ('global', <unbound method PixbufList.button_press_cb>), 'event': ('local', <gtk.gdk.Event at 0x30dafd0: GDK_BUTTON_PRESS x=22.95, y=34.20, button=1>)}
- File "/home/home/mypaint/gui/pixbuflist.py", line 268, button_press_cb(self=<BrushList object at 0x34d9e60 (PixbufList at 0x3713180)>, widget=<BrushList object at 0x34d9e60 (PixbufList at 0x3713180)>, event=<gtk.gdk.Event at 0x30dafd0: GDK_BUTTON_PRESS x=22.95, y=34.20, button=1>)
- self.set_selected(item)
- self.on_select(item)
- if self.selected is not None:
- variables: {'item': ('local', <ManagedBrush u'b002' p=None>), 'self.on_select': ('local', <bound method BrushList.on_select of <BrushList object at 0x34d9e60 (PixbufList at 0x3713180)>>)}
- File "/home/home/mypaint/gui/brushselectionwindow.py", line 179, on_select(self=<BrushList object at 0x34d9e60 (PixbufList at 0x3713180)>, brush=<ManagedBrush u'b002' p=None>)
- self.bm.select_brush(brush)
- variables: {'self.bm.select_brush': ('local', <bound method BrushManager.select_brush of <gui.brushmanager.BrushManager instance at 0x332c290>>), 'brush': ('local', <ManagedBrush u'b002' p=None>)}
- File "/home/home/mypaint/gui/brushmanager.py", line 565, select_brush(self=<gui.brushmanager.BrushManager instance>, brush=<ManagedBrush u'b002' p=None>)
- for callback in self.selected_brush_observers:
- callback(brush, brushinfo)
- variables: {'callback': ('local', <bound method BrushModifier.brush_selected_cb of <gui.brushmodifier.BrushModifier instance at 0x34b27a0>>), 'brush': ('local', <ManagedBrush u'b002' p=None>), 'brushinfo': ('local', <lib.brush.BrushInfo instance at 0x3349710>)}
- File "/home/home/mypaint/gui/brushmodifier.py", line 279, brush_selected_cb(self=<gui.brushmodifier.BrushModifier instance>, managed_brush=<ManagedBrush u'b002' 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 0x3101f80>>)}
- File "/home/home/mypaint/lib/brush.py", line 406, 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 0x2e4fc20>), 'hsv': ('local', None), 'v': (None, [])}
- TypeError: 'NoneType' object is not iterable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement