Follow-up Comment #5, bug #15476 (project mypaint):
I've tested with the eraser. It shows up correctly as "device change: eraser
<enum GDK_SOURCE_ERASER of type GdkInputSource>"*
, but still cannot click on the offending color selectors.
So that GDK_SOURCE_MOUSE issue may have nothing to do with
* after first triggering a 'programming error' in mypaint;
as usual, the Details button doesn't seem to do anything.
"device change: eraser <enum GDK_SOURCE_ERASER of type GdkInputSource>
Traceback (most recent call last):
File "/usr/share/mypaint/gui/tileddrawwidget.py", line 115, in
motion_notify_cb
f(self.last_event_device, event.device)
File "/usr/share/mypaint/gui/drawwindow.py", line 575, in
device_changed_cb
if old_device.source == gdk.SOURCE_MOUSE and self.last_pen_device:
AttributeError: 'NoneType' object has no attribute 'source'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/share/mypaint/gui/gtkexcepthook.py", line 168, in _info
trace = analyse (exctyp, value, tb)
File "/usr/share/mypaint/gui/gtkexcepthook.py", line 94, in analyse
inspect.formatargvalues (args, varargs, varkw, lcls, formatvalue=lambda
v: '=' + pydoc.text.repr (v)) + '\n')
File "/usr/lib/python2.6/inspect.py", line 875, in formatargvalues
specs.append(strseq(args[i], convert, join))
File "/usr/lib/python2.6/inspect.py", line 830, in strseq
return convert(object)
File "/usr/lib/python2.6/inspect.py", line 872, in convert
return formatarg(name) + formatvalue(locals[name])
KeyError: 'self'
Original exception was:
Traceback (most recent call last):
File "/usr/share/mypaint/gui/tileddrawwidget.py", line 115, in
motion_notify_cb
f(self.last_event_device, event.device)
File "/usr/share/mypaint/gui/drawwindow.py", line 575, in
device_changed_cb
if old_device.source == gdk.SOURCE_MOUSE and self.last_pen_device:
AttributeError: 'NoneType' object has no attribute 'source'
"
It looks like old_device does not get initialized in some circumstances (eg
when the first device sending input is of type gdk.SOURCE_ERASER)
I'm using a Graphire3, BTW.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?15476>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs