Code:
Traceback (most recent call last):
File "/usr/share/mypaint/gui/tileddrawwidget.py", line 203, button_press_cb(self=<TiledDrawWidget object at 0xb82ee3c (GtkDrawingArea at 0x9c350a0)>, win=<TiledDrawWidget object at 0xb82ee3c (GtkDrawingArea at 0x9c350a0)>, event=<gtk.gdk.Event at 0x9ebe1a0: GDK_2BUTTON_PRESS x=403.60, y=236.01, button=1>)
self.last_painting_pos = x, y
self.doc.stroke_to(dtime, x, y, pressure)
variables: {'y': ('local', 236.01098901098902), 'x': ('local', 403.59926739926738), 'dtime': ('local', None), 'self.doc.stroke_to': ('local', <bound method Document.stroke_to of <lib.document.Document instance at 0xb82d08c>>), 'pressure': ('local', None)}
File "/usr/share/mypaint/lib/document.py", line 109, stroke_to(self=<lib.document.Document instance>, dtime=0.0, x=403.59926739926738, y=236.01098901098902, pressure=None)
l.surface.begin_atomic()
split = self.brush.stroke_to (l.surface, x, y, pressure, dtime)
l.surface.end_atomic()
variables: {'self.brush.stroke_to': ('local', <bound method Brush.stroke_to of <lib.brush.Brush; proxy of <Swig Object of type 'Brush *' at 0x9ebe230> >>), 'pressure': ('local', None), 'split': (None, None), 'l.surface': ('local', <lib.tiledsurface.Surface; proxy of <Swig Object of type 'TiledSurface *' at 0x9ebe218> >), 'y': ('local', 236.01098901098902), 'x': ('local', 403.59926739926738), 'dtime': ('local', None)}
File "/usr/share/mypaint/lib/mypaintlib.py", line 134, stroke_to(self=<lib.brush.Brush; proxy of <Swig Object of type 'Brush *' at 0x9ebe230> >, *args=(<lib.tiledsurface.Surface; proxy of <Swig Object of type 'TiledSurface *' at 0x9ebe218> >, 403.59926739926738, 236.01098901098902, None, 0.0))
def set_mapping_point(self, *args): return _mypaintlib.Brush_set_mapping_point(self, *args)
def stroke_to(self, *args): return _mypaintlib.Brush_stroke_to(self, *args)
def get_state(self): return _mypaintlib.Brush_get_state(self)
variables: {'_mypaintlib.Brush_stroke_to': ('global', <built-in function Brush_stroke_to>), 'stroke_to': (None, None), 'self': ('local', <lib.brush.Brush; proxy of <Swig Object of type 'Brush *' at 0x9ebe230> >), 'args': ('local', (<lib.tiledsurface.Surface; proxy of <Swig Object of type 'TiledSurface *' at 0x9ebe218> >, 403.59926739926738, 236.01098901098902, None, 0.0))}
TypeError: in method 'Brush_stroke_to', argument 5 of type 'float'
I'm having the same issue dusjagr is, and that output matches mine, but in 9.10 it would automatically switch for me (although unplugging the headphones wouldn't)
Bookmarks