URL:
<http://gna.org/bugs/?21119>
Summary: Error in Run
Project: MyPaint
Submitted by: mred
Submitted on: dom 08 sep 2013 06:10:10 COT
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: Commit 373c2208f8a811cf704b37c72aad668b4
Planned Release: None
Operating System: LinuxMint KDE
_______________________________________________________
Details:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py", line 629,
<lambda>(data=())
if cb_num_args == 0:
return (lambda data: callback(*data), user_data)
if cb_num_args == 2:
variables: {'callback': ('local', <bound method
SwitchableFreehandMode._motion_queue_idle_cb of
<gui.canvasevent.SwitchableFreehandMode object at 0x3a8fd90>>), 'data':
('local', ()), 'user_data': (None, [])}
File "/gui/canvasevent.py", line 625,
_motion_queue_idle_cb(self=<gui.canvasevent.SwitchableFreehandMode object>)
"avg=%.3f)", qlen, dtime, dtime_avg)
self._handle_motion_event(*event_data)
if qlen == 0:
variables: {'event_data': ('local', (<TiledDrawWidget object at 0x3a84dc0
(TiledDrawWidget at 0x2e1e440)>, 99249156L, 701.576904296875,
369.7565612792969, 99249178L, <gtk.gdk.X11DeviceXI2 object at 0x3c56370
(GdkX11DeviceXI2 at 0x2b1b4c0)>, <flags GDK_MOD2_MASK of type
GdkModifierType>, 701.576904296875, 367.70367431640625, 0.0, None, None,
None)), 'self._handle_motion_event': ('local', <bound method
SwitchableFreehandMode._handle_motion_event of
<gui.canvasevent.SwitchableFreehandMode object at 0x3a8fd90>>)}
File "/gui/canvasevent.py", line 647,
_handle_motion_event(self=<gui.canvasevent.SwitchableFreehandMode object>,
tdw=<TiledDrawWidget object at 0x3a84dc0 (TiledDrawWidget at 0x2e1e440)>,
last_event_time=99249156L, last_x=701.576904296875, last_y=369.7565612792969,
time=99249178L, device=<gtk.gdk.X11DeviceXI2 object at 0x3c56370
(GdkX11DeviceXI2 at 0x2b1b4c0)>, state=<flags GDK_MOD2_MASK of type
GdkModifierType>, x=701.576904296875, y=367.70367431640625, pressure=0.0,
xtilt=None, ytilt=None, button1_pressed=None)
if app is not None:
same_device = app.device_monitor.device_used(device)
variables: {'same_device': ('local', True), 'device': ('local',
<gtk.gdk.X11DeviceXI2 object at 0x3c56370 (GdkX11DeviceXI2 at 0x2b1b4c0)>),
'app.device_monitor.device_used': ('local', <bound method
DeviceUseMonitor.device_used of <gui.application.DeviceUseMonitor object at
0x3b55c10>>)}
File "/gui/application.py", line 816,
device_used(self=<gui.application.DeviceUseMonitor object>,
device=<gtk.gdk.X11DeviceXI2 object at 0x3c56370 (GdkX11DeviceXI2 at
0x2b1b4c0)>)
for func in self.device_observers:
func(self._last_event_device, device)
self._last_event_device = device
variables: {'self._last_event_device': ('local',
<gui.application.DeviceUseMonitor object at 0x3b55c10>), 'device': ('local',
<gtk.gdk.X11DeviceXI2 object at 0x3c56370 (GdkX11DeviceXI2 at 0x2b1b4c0)>),
'func': ('local', <bound method DeviceUseMonitor.device_changed_cb of
<gui.application.DeviceUseMonitor object at 0x3b55c10>>)}
File "/gui/application.py", line 872,
device_changed_cb(self=<gui.application.DeviceUseMonitor object>,
old_device=None, new_device=<gtk.gdk.X11DeviceXI2 object at 0x3c56370
(GdkX11DeviceXI2 at 0x2b1b4c0)>)
self.app.preferences['devbrush.last_used'] = new_device.name
bm.select_brush(brush)
variables: {'bm.select_brush': ('local', <bound method
BrushManager.select_brush of <gui.brushmanager.BrushManager object at
0x3b32510>>), 'brush': ('local', <ManagedBrush
u'devbrush_Wacom+Bamboo+16FG+4x5+Finger+touch' p=ramon/Marker>)}
File "/gui/brushmanager.py", line 678,
select_brush(self=<gui.brushmanager.BrushManager object>, brush=<ManagedBrush
u'ramon/Marker' (settings not loaded yet)>)
# brush, amongst other things
self.brush_selected(brush, brushinfo)
variables: {'self.brush_selected': ('local',
<lib.observable._MethodWithObservers object at 0x3b55b10>), 'brush': ('local',
<ManagedBrush u'ramon/Marker' (settings not loaded yet)>), 'brushinfo':
('local', <lib.brush.BrushInfo instance at 0x3cd51b8>)}
File "/lib/observable.py", line 175,
__call__(self=<lib.observable._MethodWithObservers object>,
*args=(<ManagedBrush u'ramon/Marker' (settings not loaded yet)>,
<lib.brush.BrushInfo instance>), **kwargs={})
try:
observer(observed, *args, **kwargs)
except _BoundObserverMethod._ReferenceError, ex:
variables: {'observed': ('local', <gui.brushmanager.BrushManager object at
0x3b32510>), 'args': ('local', (<ManagedBrush u'ramon/Marker' (settings not
loaded yet)>, <lib.brush.BrushInfo instance at 0x3cd51b8>)), 'observer':
('local', 'brush_selected_cb' of <gui.brushmodifier.BrushModifier instance at
0x3ceaa70>), 'kwargs': ('local', {})}
File "/lib/observable.py", line 288, __call__(self='brush_selected_cb' of
<gui.brushmodifier.BrushModifier instance>,
observed=<gui.brushmanager.BrushManager object>, *args=(<ManagedBrush
u'ramon/Marker' (settings not loaded yet)>, <lib.brush.BrushInfo instance>),
**kwargs={})
raise self._ReferenceError
self._observer_method(observer, observed, *args, **kwargs)
del observer
variables: {'observed': ('local', <gui.brushmanager.BrushManager object at
0x3b32510>), 'self._observer_method': ('local', <function brush_selected_cb at
0x3a6e578>), 'args': ('local', (<ManagedBrush u'ramon/Marker' (settings not
loaded yet)>, <lib.brush.BrushInfo instance at 0x3cd51b8>)), 'observer':
('local', <gui.brushmodifier.BrushModifier instance at 0x3ceaa70>), 'kwargs':
('local', {})}
File "/gui/brushmodifier.py", line 280,
brush_selected_cb(self=<gui.brushmodifier.BrushModifier instance>,
bm=<gui.brushmanager.BrushManager object>, managed_brush=<ManagedBrush
u'ramon/Marker' (settings not loaded yet)>, 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
0x3a43dd0>>)}
File "/mypaint/lib/brush.py", line 414,
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 0x3733fc8>), 'hsv': ('local',
None), 'v': (None, [])}
TypeError: 'NoneType' object is not iterable
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21119>
_______________________________________________
Mensaje enviado vía/por Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs