bugMyPaint - Bugs: bug #19752, MemoryError: out of memory when...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #19752: MemoryError: out of memory when saving ORA files

Submitted by:  Marco <zenzen>
Submitted on:  Mon 21 May 2012 10:14:04 PM UTC  
 
Severity: 3 - NormalPriority: 5 - Normal
Status: Need InfoPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Release: 1.0Planned Release: None
Operating System: Windows XP

Fri 04 Jan 2013 10:20:38 PM UTC, comment #3:

This bugreport has been closed because it does not contain enough
information for developers to be able to fix the issue.
The developers have asked for more information in the comments.
If the issue still occurs with the latest MyPaint version, please
file a new bug that includes as much of the requested information
as possible.

Jon Nordby <jonnor>
Project Administrator
Wed 28 Nov 2012 11:59:10 AM UTC, comment #2:

Triaging. Marco: any further comments here? Are you able to save any files at all?

Andrew Chadwick <achadwick>
Project Administrator
Tue 22 May 2012 06:15:03 AM UTC, comment #1:

How much RAM do you have, and how big is that image approximately?
If you have saved it before, please rename the .ORA file to .ZIP, extract it, and tell me how big all the files inside the data/ directory are, and the content of stack.xml.

As a workaround, try closing other applications, and try saving to PNG instead of ORA. As a last resort, use the Save method of MyPaint version 0.1, that is, take a screenshot...

Martin Renold <martinxyz>
Project Administrator
Mon 21 May 2012 10:14:04 PM UTC, original submission:

I was trying to save, and i just can't.

Traceback (most recent call last):
File "C:\Programmi\MyPaint\library.zip\gui\filehandling.py", line 429, save_cb(no details)
else:
self.save_file(self.filename)
File "C:\Programmi\MyPaint\library.zip\gui\drawwindow.py", line 46, wrapper(self=<gui.filehandling.FileHandler object>, args=(u'C:\\00_COTUZ\\disegnotuz\\zanna\\alatriste con calzino\\altriste_con_calzino_4.ora',), *kwargs={})
try:
func(self, args, *kwargs)
# gtk main loop may be called in here...
File "C:\Programmi\MyPaint\library.zip\gui\filehandling.py", line 278, save_file(no details)
def save_file(self, filename, export=False, **options):
thumbnail_pixbuf = self.save_doc_to_file(filename, self.doc, export=export, **options)
if not export:
File "C:\Programmi\MyPaint\library.zip\gui\filehandling.py", line 311, save_doc_to_file(no details)
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
File "C:\Programmi\MyPaint\library.zip\lib\document.py", line 367, save(no details)
try:
save(filename, **kwargs)
except gobject.GError, e:
File "C:\Programmi\MyPaint\library.zip\lib\document.py", line 546, save_ora(self=<lib.document.Document instance>, filename=u'C:\\00_COTUZ\\disegnotuz\\zanna\\alatriste con calzino\\altriste_con_calzino_4.ora', options=None, **kwargs={'feedback_cb': <function gtk_main_tick>})
sio = StringIO()
l.save_strokemap_to_file(sio, -x, -y)
data = sio.getvalue(); sio.close()
File "C:\Programmi\MyPaint\library.zip\lib\layer.py", line 122, save_strokemap_to_file(no details)
f.write(struct.pack('>II', brush2id[stroke.brush_string], len(s)))
f.write(s)
f.write('}')
MemoryError: out of memory

Marco <zenzen>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jonnor (Posted a comment)
  • -unavailable- added by achadwick (Posted a comment)
  • -unavailable- added by martinxyz (Posted a comment)
  • -unavailable- added by zenzen (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 04 Jan 2013 10:20:38 PM UTCjonnorOpen/ClosedOpen=>Closed
    Wed 28 Nov 2012 11:59:10 AM UTCachadwickSeverity4 - Important=>3 - Normal
      StatusNone=>Need Info
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup