Follow-up Comment #4, bug #20988 (project mypaint):
I updated mypaint with latest sources.
(Now I'm on my notebook dell XPS ubuntu 12.04 32 bit, 4Gb ram)
I loaded the illustration, I removed three not interesting layers and I tried
to save but I had this error (with stack trace a bit longer than previous):
Traceback (most recent call last):
File "/usr/local/share/mypaint/gui/filehandling.py", line 416,
save_cb(self=<gui.filehandling.FileHandler object>, action=<Action object at
0x9680dc4 (GtkAction at 0x96a5740)>)
else:
self.save_file(self.filename)
variables: {'self.save_file': ('local', <bound method FileHandler.wrapper of
<gui.filehandling.FileHandler object at 0x93c57ac>>), 'self.filename':
('local',
u'/home/gabri/Immagini/MyCreations/GranPaFarm/granpaFarm_150x70.ora')}
File "/usr/local/share/mypaint/gui/drawwindow.py", line 55,
wrapper(self=<gui.filehandling.FileHandler object>,
*args=(u'/home/gabri/Immagini/MyCreations/GranPaFarm/granpaFarm_150x70.ora',),
**kwargs={})
try:
func(self, *args, **kwargs)
# gtk main loop may be called in here...
variables: {'self': ('local', <gui.filehandling.FileHandler object at
0x93c57ac>), 'args': ('local',
(u'/home/gabri/Immagini/MyCreations/GranPaFarm/granpaFarm_150x70.ora',)),
'func': ('local', <function save_file at 0x9614b54>), 'kwargs': ('local',
{})}
File "/usr/local/share/mypaint/gui/filehandling.py", line 261,
save_file(self=<gui.filehandling.FileHandler object>,
filename=u'/home/gabri/Immagini/MyCreations/GranPaFarm/granpaFarm_150x70.ora',
export=False, **options={})
def save_file(self, filename, export=False, **options):
thumbnail_pixbuf = self.save_doc_to_file(filename, self.doc,
export=export, **options)
if "multifile" in options or not os.path.isfile(filename):
variables: {'thumbnail_pixbuf': (None, []), 'self.doc': ('local',
<gui.document.Document object at 0x96211cc>), 'filename': ('local',
u'/home/gabri/Immagini/MyCreations/GranPaFarm/granpaFarm_150x70.ora'),
'export': ('local', False), 'self.save_doc_to_file': ('local', <bound method
FileHandler.save_doc_to_file of <gui.filehandling.FileHandler object at
0x93c57ac>>), 'options': ('local', {})}
File "/usr/local/share/mypaint/gui/filehandling.py", line 298,
save_doc_to_file(self=<gui.filehandling.FileHandler object>,
filename=u'/home/gabri/Immagini/MyCreations/GranPaFarm/granpaFarm_150x70.ora',
doc=<gui.document.Document object>, export=False, **options={})
w, h = tiledsurface.N, tiledsurface.N # TODO: support for
other sizes
thumbnail_pixbuf = doc.model.save(filename,
feedback_cb=self.gtk_main_tick, **options)
self.lastsavefailed = False
variables: {'thumbnail_pixbuf': ('local', None), 'self.gtk_main_tick':
('local', <function gtk_main_tick at 0x9614a74>), 'feedback_cb': (None, []),
'filename': ('local',
u'/home/gabri/Immagini/MyCreations/GranPaFarm/granpaFarm_150x70.ora'),
'doc.model.save': ('local', <bound method Document.save of
<lib.document.Document instance at 0x96211ec>>), 'options': ('local', {})}
File "/usr/local/share/mypaint/lib/document.py", line 531,
save(self=<lib.document.Document instance>,
filename=u'/home/gabri/Immagini/MyCreations/GranPaFarm/granpaFarm_150x70.ora',
**kwargs={'feedback_cb': <function gtk_main_tick>})
try:
save(filename, **kwargs)
except GObject.GError, e:
variables: {'kwargs': ('local', {'feedback_cb': <function gtk_main_tick at
0x9614a74>}), 'save': ('local', <bound method Document.save_ora of
<lib.document.Document instance at 0x96211ec>>), 'filename': ('local',
u'/home/gabri/Immagini/MyCreations/GranPaFarm/granpaFarm_150x70.ora')}
File "/usr/local/share/mypaint/lib/document.py", line 760,
save_ora(self=<lib.document.Document instance>,
filename=u'/home/gabri/Immagini/MyCreations/GranPaFarm/granpaFarm_150x70.ora',
options=None, **kwargs={'feedback_cb': <function gtk_main_tick>})
thumbnail_pixbuf = self.render_thumbnail()
store_pixbuf(thumbnail_pixbuf, 'Thumbnails/thumbnail.png')
variables: {'thumbnail_pixbuf': (None, []), 'self.render_thumbnail':
('local', <bound method Document.render_thumbnail of <lib.document.Document
instance at 0x96211ec>>)}
File "/usr/local/share/mypaint/lib/document.py", line 595,
render_thumbnail(self=<lib.document.Document instance>)
pixbuf = self.render_as_pixbuf(x, y, w, h,
mipmap_level=mipmap_level)
assert pixbuf.get_width() == w and pixbuf.get_height() == h
variables: {'h': ('local', 312), 'pixbuf': (None, []), 'mipmap_level':
('local', 4), 'w': ('local', 616), 'y': ('local', 72), 'x': ('local', 0),
'self.render_as_pixbuf': ('local', <bound method Document.render_as_pixbuf of
<lib.document.Document instance at 0x96211ec>>)}
File "/usr/local/share/mypaint/lib/document.py", line 582,
render_as_pixbuf(self=<lib.document.Document instance>, *args=(0, 72, 616,
312), **kwargs={'mipmap_level': 4})
def render_as_pixbuf(self, *args, **kwargs):
return pixbufsurface.render_as_pixbuf(self, *args, **kwargs)
variables: {'pixbufsurface.render_as_pixbuf': ('global', <function
render_as_pixbuf at 0x948c6bc>), 'self': ('local', <lib.document.Document
instance at 0x96211ec>), 'args': ('local', (0, 72, 616, 312)), 'kwargs':
('local', {'mipmap_level': 4})}
File "/usr/local/share/mypaint/lib/pixbufsurface.py", line 126,
render_as_pixbuf(surface=<lib.document.Document instance>, *rect=(0, 72, 616,
312), **kwargs={'mipmap_level': 4})
with s.tile_request(tx, ty, readonly=False) as dst:
surface.blit_tile_into(dst, alpha, tx, ty,
mipmap_level=mipmap_level)
if feedback_cb and tn % TILES_PER_CALLBACK == 0:
variables: {'tx': ('local', 1), 'ty': ('local', 2), 'dst': ('local',
array([[[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0],
...,
[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0]],
[[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0],
...,
[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0]],
[[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0],
...,
[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0]],
...,
[[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0],
...,
[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0]],
[[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0],
...,
[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0]],
[[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0],
...,
[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0]]], dtype=uint8)), 'mipmap_level': ('local', 4), 'alpha':
('local', False), 'surface.blit_tile_into': ('local', <bound method
Document.blit_tile_into of <lib.document.Document instance at 0x96211ec>>)}
File "/usr/local/share/mypaint/lib/document.py", line 388,
blit_tile_into(self=<lib.document.Document instance>, dst=array([[[12923,
28006, 31143, 32768],
[1... [25608, 20825, 7990, 32768]]], dtype=uint16),
dst_has_alpha=False, tx=1, ty=2, mipmap_level=4, layers=[<lib.layer.Layer
instance>, <lib.layer.Layer instance>, <lib.layer.Layer instance>,
<lib.layer.Layer instance>, <lib.layer.Layer instance>, <lib.layer.Layer
instance>, <lib.layer.Layer instance>, <lib.layer.Layer instance>,
<lib.layer.Layer instance>, <lib.layer.Layer instance>, <lib.layer.Layer
instance>, <lib.layer.Layer instance>, <lib.layer.Layer instance>],
background=<lib.tiledsurface.Background instance>)
for layer in layers:
layer.composite_tile(dst, dst_has_alpha, tx, ty,
mipmap_level)
variables: {'tx': ('local', 1), 'ty': ('local', 2), 'dst_has_alpha':
('local', False), 'dst': ('local', array([[[12923, 28006, 31143, 32768],
[13028, 28023, 31152, 32768],
[13156, 28034, 31124, 32768],
...,
[30581, 27240, 8608, 32768],
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768]],
[[12781, 27798, 31137, 32768],
[12888, 27822, 31153, 32768],
[13341, 27813, 30709, 32768],
...,
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768]],
[[12687, 27611, 31132, 32768],
[12879, 27598, 31046, 32768],
[14374, 27559, 29311, 32768],
...,
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768],
[30581, 27240, 8608, 32768]],
...,
[[30645, 27091, 11575, 32768],
[30652, 27113, 11810, 32768],
[30680, 27169, 12195, 32768],
...,
[28938, 25338, 8875, 32768],
[29054, 25466, 8852, 32768],
[25090, 20184, 7727, 32768]],
[[30611, 27035, 11397, 32768],
[30652, 27076, 11599, 32768],
[30717, 27246, 12213, 32768],
...,
[24564, 18786, 7280, 32768],
[22957, 16607, 6576, 32768],
[20885, 13989, 5539, 32768]],
[[30612, 27030, 11407, 32768],
[30595, 26947, 11153, 32768],
[30684, 27160, 11938, 32768],
...,
[26224, 21739, 8475, 32768],
[25525, 20621, 7839, 32768],
[25608, 20825, 7990, 32768]]], dtype=uint16)),
'layer.composite_tile': ('local', <bound method Layer.composite_tile of
<lib.layer.Layer instance at 0x93e46ac>>), 'mipmap_level': ('local', 4)}
File "/usr/local/share/mypaint/lib/layer.py", line 216,
composite_tile(self=<lib.layer.Layer instance>, dst=array([[[12923, 28006,
31143, 32768],
[1... [25608, 20825, 7990, 32768]]], dtype=uint16),
dst_has_alpha=False, tx=1, ty=2, mipmap_level=4)
opacity=self.effective_opacity,
mode=self.compositeop
)
variables: {'self.compositeop': ('local', 'svg:src-over'), 'mode': (None,
[])}
File "/usr/local/share/mypaint/lib/tiledsurface.py", line 323,
composite_tile(self=<lib.tiledsurface.MyPaintSurface instance>,
dst=array([[[12923, 28006, 31143, 32768],
[1... [25608, 20825, 7990, 32768]]], dtype=uint16),
dst_has_alpha=False, tx=1, ty=2, mipmap_level=4, opacity=0.0,
mode='svg:src-over')
if self.mipmap_level < mipmap_level:
return self.mipmap.composite_tile(dst, dst_has_alpha, tx, ty,
mipmap_level, opacity, mode)
if not (tx,ty) in self.tiledict:
variables: {'opacity': ('local', 0.0), 'tx': ('local', 1), 'ty': ('local',
2), 'dst_has_alpha': ('local', False), 'dst': ('local', array([[[12923, 28006,
31143, 32768],
[13028, 28023, 31152, 32768],
[13156, 28034, 31124, 32768],
...,
[30581, 27240, 8608, 32768],
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768]],
[[12781, 27798, 31137, 32768],
[12888, 27822, 31153, 32768],
[13341, 27813, 30709, 32768],
...,
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768]],
[[12687, 27611, 31132, 32768],
[12879, 27598, 31046, 32768],
[14374, 27559, 29311, 32768],
...,
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768],
[30581, 27240, 8608, 32768]],
...,
[[30645, 27091, 11575, 32768],
[30652, 27113, 11810, 32768],
[30680, 27169, 12195, 32768],
...,
[28938, 25338, 8875, 32768],
[29054, 25466, 8852, 32768],
[25090, 20184, 7727, 32768]],
[[30611, 27035, 11397, 32768],
[30652, 27076, 11599, 32768],
[30717, 27246, 12213, 32768],
...,
[24564, 18786, 7280, 32768],
[22957, 16607, 6576, 32768],
[20885, 13989, 5539, 32768]],
[[30612, 27030, 11407, 32768],
[30595, 26947, 11153, 32768],
[30684, 27160, 11938, 32768],
...,
[26224, 21739, 8475, 32768],
[25525, 20621, 7839, 32768],
[25608, 20825, 7990, 32768]]], dtype=uint16)), 'mipmap_level':
('local', 4), 'self.mipmap.composite_tile': ('local', <bound method
MyPaintSurface.composite_tile of <lib.tiledsurface.MyPaintSurface instance at
0xa8d5b8c>>), 'mode': ('local', 'svg:src-over')}
File "/usr/local/share/mypaint/lib/tiledsurface.py", line 323,
composite_tile(self=<lib.tiledsurface.MyPaintSurface instance>,
dst=array([[[12923, 28006, 31143, 32768],
[1... [25608, 20825, 7990, 32768]]], dtype=uint16),
dst_has_alpha=False, tx=1, ty=2, mipmap_level=4, opacity=0.0,
mode='svg:src-over')
if self.mipmap_level < mipmap_level:
return self.mipmap.composite_tile(dst, dst_has_alpha, tx, ty,
mipmap_level, opacity, mode)
if not (tx,ty) in self.tiledict:
variables: {'opacity': ('local', 0.0), 'tx': ('local', 1), 'ty': ('local',
2), 'dst_has_alpha': ('local', False), 'dst': ('local', array([[[12923, 28006,
31143, 32768],
[13028, 28023, 31152, 32768],
[13156, 28034, 31124, 32768],
...,
[30581, 27240, 8608, 32768],
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768]],
[[12781, 27798, 31137, 32768],
[12888, 27822, 31153, 32768],
[13341, 27813, 30709, 32768],
...,
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768]],
[[12687, 27611, 31132, 32768],
[12879, 27598, 31046, 32768],
[14374, 27559, 29311, 32768],
...,
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768],
[30581, 27240, 8608, 32768]],
...,
[[30645, 27091, 11575, 32768],
[30652, 27113, 11810, 32768],
[30680, 27169, 12195, 32768],
...,
[28938, 25338, 8875, 32768],
[29054, 25466, 8852, 32768],
[25090, 20184, 7727, 32768]],
[[30611, 27035, 11397, 32768],
[30652, 27076, 11599, 32768],
[30717, 27246, 12213, 32768],
...,
[24564, 18786, 7280, 32768],
[22957, 16607, 6576, 32768],
[20885, 13989, 5539, 32768]],
[[30612, 27030, 11407, 32768],
[30595, 26947, 11153, 32768],
[30684, 27160, 11938, 32768],
...,
[26224, 21739, 8475, 32768],
[25525, 20621, 7839, 32768],
[25608, 20825, 7990, 32768]]], dtype=uint16)), 'mipmap_level':
('local', 4), 'self.mipmap.composite_tile': ('local', <bound method
MyPaintSurface.composite_tile of <lib.tiledsurface.MyPaintSurface instance at
0xa8d59ec>>), 'mode': ('local', 'svg:src-over')}
File "/usr/local/share/mypaint/lib/tiledsurface.py", line 323,
composite_tile(self=<lib.tiledsurface.MyPaintSurface instance>,
dst=array([[[12923, 28006, 31143, 32768],
[1... [25608, 20825, 7990, 32768]]], dtype=uint16),
dst_has_alpha=False, tx=1, ty=2, mipmap_level=4, opacity=0.0,
mode='svg:src-over')
if self.mipmap_level < mipmap_level:
return self.mipmap.composite_tile(dst, dst_has_alpha, tx, ty,
mipmap_level, opacity, mode)
if not (tx,ty) in self.tiledict:
variables: {'opacity': ('local', 0.0), 'tx': ('local', 1), 'ty': ('local',
2), 'dst_has_alpha': ('local', False), 'dst': ('local', array([[[12923, 28006,
31143, 32768],
[13028, 28023, 31152, 32768],
[13156, 28034, 31124, 32768],
...,
[30581, 27240, 8608, 32768],
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768]],
[[12781, 27798, 31137, 32768],
[12888, 27822, 31153, 32768],
[13341, 27813, 30709, 32768],
...,
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768]],
[[12687, 27611, 31132, 32768],
[12879, 27598, 31046, 32768],
[14374, 27559, 29311, 32768],
...,
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768],
[30581, 27240, 8608, 32768]],
...,
[[30645, 27091, 11575, 32768],
[30652, 27113, 11810, 32768],
[30680, 27169, 12195, 32768],
...,
[28938, 25338, 8875, 32768],
[29054, 25466, 8852, 32768],
[25090, 20184, 7727, 32768]],
[[30611, 27035, 11397, 32768],
[30652, 27076, 11599, 32768],
[30717, 27246, 12213, 32768],
...,
[24564, 18786, 7280, 32768],
[22957, 16607, 6576, 32768],
[20885, 13989, 5539, 32768]],
[[30612, 27030, 11407, 32768],
[30595, 26947, 11153, 32768],
[30684, 27160, 11938, 32768],
...,
[26224, 21739, 8475, 32768],
[25525, 20621, 7839, 32768],
[25608, 20825, 7990, 32768]]], dtype=uint16)), 'mipmap_level':
('local', 4), 'self.mipmap.composite_tile': ('local', <bound method
MyPaintSurface.composite_tile of <lib.tiledsurface.MyPaintSurface instance at
0xa8d592c>>), 'mode': ('local', 'svg:src-over')}
File "/usr/local/share/mypaint/lib/tiledsurface.py", line 323,
composite_tile(self=<lib.tiledsurface.MyPaintSurface instance>,
dst=array([[[12923, 28006, 31143, 32768],
[1... [25608, 20825, 7990, 32768]]], dtype=uint16),
dst_has_alpha=False, tx=1, ty=2, mipmap_level=4, opacity=0.0,
mode='svg:src-over')
if self.mipmap_level < mipmap_level:
return self.mipmap.composite_tile(dst, dst_has_alpha, tx, ty,
mipmap_level, opacity, mode)
if not (tx,ty) in self.tiledict:
variables: {'opacity': ('local', 0.0), 'tx': ('local', 1), 'ty': ('local',
2), 'dst_has_alpha': ('local', False), 'dst': ('local', array([[[12923, 28006,
31143, 32768],
[13028, 28023, 31152, 32768],
[13156, 28034, 31124, 32768],
...,
[30581, 27240, 8608, 32768],
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768]],
[[12781, 27798, 31137, 32768],
[12888, 27822, 31153, 32768],
[13341, 27813, 30709, 32768],
...,
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768]],
[[12687, 27611, 31132, 32768],
[12879, 27598, 31046, 32768],
[14374, 27559, 29311, 32768],
...,
[30580, 27240, 8608, 32768],
[30580, 27240, 8608, 32768],
[30581, 27240, 8608, 32768]],
...,
[[30645, 27091, 11575, 32768],
[30652, 27113, 11810, 32768],
[30680, 27169, 12195, 32768],
...,
[28938, 25338, 8875, 32768],
[29054, 25466, 8852, 32768],
[25090, 20184, 7727, 32768]],
[[30611, 27035, 11397, 32768],
[30652, 27076, 11599, 32768],
[30717, 27246, 12213, 32768],
...,
[24564, 18786, 7280, 32768],
[22957, 16607, 6576, 32768],
[20885, 13989, 5539, 32768]],
[[30612, 27030, 11407, 32768],
[30595, 26947, 11153, 32768],
[30684, 27160, 11938, 32768],
...,
[26224, 21739, 8475, 32768],
[25525, 20621, 7839, 32768],
[25608, 20825, 7990, 32768]]], dtype=uint16)), 'mipmap_level':
('local', 4), 'self.mipmap.composite_tile': ('local', <bound method
MyPaintSurface.composite_tile of <lib.tiledsurface.MyPaintSurface instance at
0xa8d588c>>), 'mode': ('local', 'svg:src-over')}
File "/usr/local/share/mypaint/lib/tiledsurface.py", line 327,
composite_tile(self=<lib.tiledsurface.MyPaintSurface instance>,
dst=array([[[12923, 28006, 31143, 32768],
[1... [25608, 20825, 7990, 32768]]], dtype=uint16),
dst_has_alpha=False, tx=1, ty=2, mipmap_level=4, opacity=0.0,
mode='svg:src-over')
with self.tile_request(tx, ty, readonly=True) as src:
func = svg2composite_func[mode]
variables: {'src': (None, []), 'tx': ('local', 1), 'ty': ('local', 2),
'readonly': (None, []), 'self.tile_request': ('local', <bound method
MyPaintSurface.tile_request of <lib.tiledsurface.MyPaintSurface instance at
0xa8d588c>>), 'True': ('builtin', True)}
File "/usr/lib/python2.7/contextlib.py", line 17,
__enter__(self=<contextlib.GeneratorContextManager object>)
try:
return self.gen.next()
except StopIteration:
variables: {'self.gen.next': ('local', <method-wrapper 'next' of generator
object at 0x9cd58ec>)}
File "/usr/local/share/mypaint/lib/tiledsurface.py", line 224,
tile_request(self=<lib.tiledsurface.MyPaintSurface instance>, tx=1, ty=2,
readonly=True)
numpy_tile = self._get_tile_numpy(tx, ty, readonly)
yield numpy_tile
variables: {'numpy_tile': (None, []), 'self._get_tile_numpy': ('local',
<bound method MyPaintSurface._get_tile_numpy of
<lib.tiledsurface.MyPaintSurface instance at 0xa8d588c>>), 'readonly':
('local', True), 'tx': ('local', 1), 'ty': ('local', 2)}
File "/usr/local/share/mypaint/lib/tiledsurface.py", line 265,
_get_tile_numpy(self=<lib.tiledsurface.MyPaintSurface instance>, tx=1, ty=2,
readonly=True)
if t is mipmap_dirty_tile:
t = self._regenerate_mipmap(t, tx, ty)
if t.readonly and not readonly:
variables: {'self._regenerate_mipmap': ('local', <bound method
MyPaintSurface._regenerate_mipmap of <lib.tiledsurface.MyPaintSurface instance
at 0xa8d588c>>), 't': ('local', <lib.tiledsurface.Tile instance at
0x948e44c>), 'tx': ('local', 1), 'ty': ('local', 2)}
File "/usr/local/share/mypaint/lib/tiledsurface.py", line 237,
_regenerate_mipmap(self=<lib.tiledsurface.MyPaintSurface instance>,
t=<lib.tiledsurface.Tile instance>, tx=1, ty=2)
if src is mipmap_dirty_tile:
src = self.parent._regenerate_mipmap(src, tx*2 + x,
ty*2 + y)
mypaintlib.tile_downscale_rgba16(src.rgba, t.rgba, x*N/2,
y*N/2)
variables: {'src': ('local', <lib.tiledsurface.Tile instance at 0x948e44c>),
'tx': ('local', 1), 'ty': ('local', 2), 'self.parent._regenerate_mipmap':
('local', <bound method MyPaintSurface._regenerate_mipmap of
<lib.tiledsurface.MyPaintSurface instance at 0xa8d592c>>), 'y': ('local', 0),
'x': ('local', 0)}
File "/usr/local/share/mypaint/lib/tiledsurface.py", line 237,
_regenerate_mipmap(self=<lib.tiledsurface.MyPaintSurface instance>,
t=<lib.tiledsurface.Tile instance>, tx=2, ty=4)
if src is mipmap_dirty_tile:
src = self.parent._regenerate_mipmap(src, tx*2 + x,
ty*2 + y)
mypaintlib.tile_downscale_rgba16(src.rgba, t.rgba, x*N/2,
y*N/2)
variables: {'src': ('local', <lib.tiledsurface.Tile instance at 0x948e44c>),
'tx': ('local', 2), 'ty': ('local', 4), 'self.parent._regenerate_mipmap':
('local', <bound method MyPaintSurface._regenerate_mipmap of
<lib.tiledsurface.MyPaintSurface instance at 0xa8d59ec>>), 'y': ('local', 0),
'x': ('local', 0)}
File "/usr/local/share/mypaint/lib/tiledsurface.py", line 229,
_regenerate_mipmap(self=<lib.tiledsurface.MyPaintSurface instance>,
t=<lib.tiledsurface.Tile instance>, tx=4, ty=8)
def _regenerate_mipmap(self, t, tx, ty):
t = Tile()
self.tiledict[(tx, ty)] = t
variables: {'Tile': ('global', <class lib.tiledsurface.Tile at 0x948835c>),
't': ('local', <lib.tiledsurface.Tile instance at 0x948e44c>)}
File "/usr/local/share/mypaint/lib/tiledsurface.py", line 39,
__init__(self=<lib.tiledsurface.Tile instance>, copy_from=None)
if copy_from is None:
self.rgba = zeros((N, N, 4), 'uint16')
else:
MemoryError:
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20988>
_______________________________________________
Messaggio inviato con/da Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs