URL:
<http://gna.org/bugs/?20966>
Summary: An error is shown when clicking on MyPaint window
with Alt key pressed
Project: MyPaint
Submitted by: ntrrgc
Submitted on: dom 14 jul 2013 03:46:39 GMT
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.1.0
Planned Release: None
Operating System: Linux (X11)
_______________________________________________________
Details:
Traceback (most recent call last):
File "/usr/share/mypaint/gui/document.py", line 76,
button_press_cb(self=<gui.document.Document object>, tdw=<TiledDrawWidget
object at 0x21e5870 (GtkEventBox at 0x2cbbb30)>, event=<gtk.gdk.Event at
0x19fb1e8: GDK_BUTTON_PRESS x=603,51, y=325,45, button=1>)
"""
result = self.modes.top.button_press_cb(tdw, event)
self.__update_last_event_info(tdw, event)
variables: {'event': ('local', <gtk.gdk.Event at 0x19fb1e8: GDK_BUTTON_PRESS
x=603,51, y=325,45, button=1>), 'tdw': ('local', <TiledDrawWidget object at
0x21e5870 (GtkEventBox at 0x2cbbb30)>), 'result': (None, []),
'self.modes.top.button_press_cb': ('local', <bound method
SwitchableFreehandMode.button_press_cb of
<gui.canvasevent.SwitchableFreehandMode object at 0x2215e90>>)}
File "/usr/share/mypaint/gui/canvasevent.py", line 580,
button_press_cb(self=<gui.canvasevent.SwitchableFreehandMode object>,
tdw=<TiledDrawWidget object at 0x21e5870 (GtkEventBox at 0x2cbbb30)>,
event=<gtk.gdk.Event at 0x19fb1e8: GDK_BUTTON_PRESS x=603,51, y=325,45,
button=1>)
if action_name is not None:
return self._dispatch_named_action(None, tdw, event,
action_name)
variables: {'None': ('builtin', None), 'action_name': ('local',
u'ColorPickMode'), 'tdw': ('local', <TiledDrawWidget object at 0x21e5870
(GtkEventBox at 0x2cbbb30)>), 'event': ('local', <gtk.gdk.Event at 0x19fb1e8:
GDK_BUTTON_PRESS x=603,51, y=325,45, button=1>),
'self._dispatch_named_action': ('local', <bound method
SwitchableFreehandMode._dispatch_named_action of
<gui.canvasevent.SwitchableFreehandMode object at 0x2215e90>>)}
File "/usr/share/mypaint/gui/canvasevent.py", line 647,
_dispatch_named_action(self=<gui.canvasevent.SwitchableFreehandMode object>,
win=None, tdw=<TiledDrawWidget object at 0x21e5870 (GtkEventBox at
0x2cbbb30)>, event=<gtk.gdk.Event at 0x19fb1e8: GDK_BUTTON_PRESS x=603,51,
y=325,45, button=1>, action_name=u'ColorPickMode')
else:
return mode.button_press_cb(tdw, event)
elif handler_type == 'popup_state':
variables: {'tdw': ('local', <TiledDrawWidget object at 0x21e5870
(GtkEventBox at 0x2cbbb30)>), 'event': ('local', <gtk.gdk.Event at 0x19fb1e8:
GDK_BUTTON_PRESS x=603,51, y=325,45, button=1>), 'mode.button_press_cb':
('local', <bound method ColorPickMode.button_press_cb of
<gui.colorpicker.ColorPickMode object at 0x25a0a90>>)}
File "/usr/share/mypaint/gui/colorpicker.py", line 72,
button_press_cb(self=<gui.colorpicker.ColorPickMode object>,
tdw=<TiledDrawWidget object at 0x21e5870 (GtkEventBox at 0x2cbbb30)>,
event=<gtk.gdk.Event at 0x19fb1e8: GDK_BUTTON_PRESS x=603,51, y=325,45,
button=1>)
self._button_press_seen = True
self.doc.app.pick_color_at_pointer(self.doc.tdw, self.PICK_SIZE)
return super(ColorPickMode, self).button_press_cb(tdw, event)
AttributeError: 'NoneType' object has no attribute 'app'
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20966>
_______________________________________________
Mensaje enviado vía/por Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs