Advertisement
Guest User

lol

a guest
Sep 22nd, 2012
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.19 KB | None | 0 0
  1. Traceback (most recent call last):
  2. 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>)
  3. self.app.device_monitor.device_used(event.device)
  4. pixbuflist.PixbufList.button_press_cb(self, widget, event)
  5. 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>)}
  6. 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>)
  7. self.set_selected(item)
  8. self.on_select(item)
  9. if self.selected is not None:
  10. 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)>>)}
  11. 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>)
  12. self.bm.select_brush(brush)
  13. 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>)}
  14. File "/home/home/mypaint/gui/brushmanager.py", line 565, select_brush(self=<gui.brushmanager.BrushManager instance>, brush=<ManagedBrush u'b002' p=None>)
  15. for callback in self.selected_brush_observers:
  16. callback(brush, brushinfo)
  17. 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>)}
  18. 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>)
  19. b.set_color_hsv(color)
  20. b.set_string_property("parent_brush_name", managed_brush.name)
  21. variables: {'color': ('local', None), 'b.set_color_hsv': ('local', <bound method BrushInfo.set_color_hsv of <lib.brush.BrushInfo instance at 0x3101f80>>)}
  22. File "/home/home/mypaint/lib/brush.py", line 406, set_color_hsv(self=<lib.brush.BrushInfo instance>, hsv=None)
  23. try:
  24. h, s, v = hsv
  25. self.set_base_value('color_h', h)
  26. variables: {'h': (None, []), 's': ('global', <brushlib.brushsettings.BrushSetting instance at 0x2e4fc20>), 'hsv': ('local', None), 'v': (None, [])}
  27. TypeError: 'NoneType' object is not iterable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement