URL:
<http://gna.org/bugs/?20988>
Summary: blocking MemoryError on a large ora file (I cannot
work with it anymore)
Project: MyPaint
Submitted by: stramaz2
Submitted on: Tue 23 Jul 2013 11:04:43 AM GMT
Severity: 5 - Blocker
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.0.0 and 1.1.0
Planned Release: None
Operating System: Linux (Ubuntu 12.04)
_______________________________________________________
Details:
Hello,
I was painting a quite big illustration using mypaint (my target is to print
it), my file was growing and now it's a 105MB. So far so good, everything was
fine.
But now I cannot do anything with mypaint, it crashes almost immediately after
it loads (I have a popup "A programming error has been detected." and a
Traceback, at the end it's written "MemoryError"; I attach it at the end of
the message).
I have the same behavior with the version 1.1.0 (until now I've painted with
the 1.0.0) installed in another (Ubuntu) notebook.
Unfortunately this is blocking me working on my illustration, if I cannot find
a solution I need to move on an alternative software (and I would be very
sorry for that because mypaint works really fine!).
Basic system information:
Notebook fujitsu Lifebook A series
Intel core i5
4GB ram
Ubuntu 12.04 (32 bit)
mypaint 1.1.0
ora file 105MB (with more or less 10 layers)
I found a similar ticket but it was closed because the user did not give
enough information (#19752).
If you need more information (system, ora file, ...) let me know.
Traceback:
Exception while analyzing the exception.
Traceback (most recent call last):
File "/usr/share/mypaint/gui/tileddrawwidget.py", line 588, in expose_cb
self.repaint(cr, event.area)
File "/usr/share/mypaint/gui/tileddrawwidget.py", line 659, in repaint
self.render_execute(cr, surface, sparse, mipmap_level, clip_region)
File "/usr/share/mypaint/gui/tileddrawwidget.py", line 802, in
render_execute
self.doc.render_into(surface, tiles, mipmap_level, layers, background)
File "/usr/share/mypaint/lib/document.py", line 357, in render_into
self.blit_tile_into(dst, False, tx, ty, mipmap_level, layers, background)
File "/usr/share/mypaint/lib/document.py", line 376, in blit_tile_into
layer.composite_tile(dst, dst_has_alpha, tx, ty, mipmap_level)
File "/usr/share/mypaint/lib/layer.py", line 213, in composite_tile
mode=self.compositeop
File "/usr/share/mypaint/lib/tiledsurface.py", line 261, in composite_tile
return self.mipmap.composite_tile(dst, dst_has_alpha, tx, ty,
mipmap_level, opacity, mode)
File "/usr/share/mypaint/lib/tiledsurface.py", line 261, in composite_tile
return self.mipmap.composite_tile(dst, dst_has_alpha, tx, ty,
mipmap_level, opacity, mode)
File "/usr/share/mypaint/lib/tiledsurface.py", line 261, in composite_tile
return self.mipmap.composite_tile(dst, dst_has_alpha, tx, ty,
mipmap_level, opacity, mode)
File "/usr/share/mypaint/lib/tiledsurface.py", line 265, in composite_tile
with self.tile_request(tx, ty, readonly=True) as src:
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/usr/share/mypaint/lib/tiledsurface.py", line 172, in tile_request
numpy_tile = self._get_tile_numpy(tx, ty, readonly)
File "/usr/share/mypaint/lib/tiledsurface.py", line 200, in _get_tile_numpy
with self.parent.tile_request(tx*2 + x, ty*2 + y, True) as src:
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/usr/share/mypaint/lib/tiledsurface.py", line 172, in tile_request
numpy_tile = self._get_tile_numpy(tx, ty, readonly)
File "/usr/share/mypaint/lib/tiledsurface.py", line 195, in _get_tile_numpy
t = Tile()
File "/usr/share/mypaint/lib/tiledsurface.py", line 35, in __init__
self.rgba = zeros((N, N, 4), 'uint16')
MemoryError
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20988>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs