URL:
<http://gna.org/bugs/?18884>
Summary: Mypaint can't save my images (*.ora)
Project: MyPaint
Submitted by: paraxite
Submitted on: Sun Oct 30 03:19:48 2011
Severity: 5 - Blocker
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 0.9.1
Planned Release: None
Operating System: Windows7
_______________________________________________________
Details:
It's my first time using this program. Saves fine in .png and .jpeg format.
Plz fix.
Traceback (most recent call last):
File "C:\Program Files\MyPaint\library.zip\gui\filehandling.py", line 312,
save_cb(no details)
if not self.filename:
self.save_as_cb(action)
else:
File "C:\Program Files\MyPaint\library.zip\gui\filehandling.py", line 369,
save_as_cb(no details)
else:
self.save_file(filename, **options)
break
File "C:\Program Files\MyPaint\library.zip\gui\drawwindow.py", line 43,
wrapper(self=<gui.filehandling.FileHandler object>,
*args=(u'C:\\Users\\\uac15\ud55c\ube5b\\Desktop\\dddd.ora',), **kwargs={})
try:
func(self, *args, **kwargs)
finally:
File "C:\Program Files\MyPaint\library.zip\gui\filehandling.py", line 241,
save_file(no details)
raise document.SaveLoadError, _('Did not save, the canvas
is empty.')
self.doc.model.save(filename, **options)
except document.SaveLoadError, e:
File "C:\Program Files\MyPaint\library.zip\lib\document.py", line 262,
save(no details)
try:
save(filename, **kwargs)
except gobject.GError, e:
File "C:\Program Files\MyPaint\library.zip\lib\document.py", line 393,
save_ora(self=<lib.document.Document instance>,
filename=u'C:\\Users\\\uac15\ud55c\ube5b\\Desktop\\dddd.ora', options=None)
x, y, w, h = l.surface.get_bbox()
el = add_layer(x-x0, y-y0, opac, l.surface,
'data/layer%03d.png' % idx, l.name, l.visible, rect=(x, y, w, h))
# strokemap
File "C:\Program Files\MyPaint\library.zip\lib\document.py", line 374,
add_layer(x=0, y=0, opac=1.0, surface=<lib.tiledsurface.Surface; proxy of
<Swig Object of type 'TiledSurface *' at 0x035AF680> >,
name='data/layer000.png', layer_name='', visible=True, rect=(64, 0, 704,
512))
stack.append(layer)
store_surface(surface, name, rect)
a = layer.attrib
File "C:\Program Files\MyPaint\library.zip\lib\document.py", line 366,
store_surface(surface=<lib.tiledsurface.Surface; proxy of <Swig Object of type
'TiledSurface *' at 0x035AF680> >, name='data/layer000.png', rect=(64, 0, 704,
512))
t1 = time.time()
surface.save(tmp, *rect)
print ' %.3fs surface saving %s' % (time.time() - t1, name)
File "C:\Program Files\MyPaint\library.zip\lib\tiledsurface.py", line 181,
save(no details)
kwargs['alpha'] = True
pixbufsurface.save_as_png(self, filename, *args, **kwargs)
File "C:\Program Files\MyPaint\library.zip\lib\pixbufsurface.py", line 135,
save_as_png(surface=<lib.tiledsurface.Surface; proxy of <Swig Object of type
'TiledSurface *' at 0x035AF680> >,
filename='c:\\users\\\xb0\xad\xc7\xd1\xba\xfb\\appdata\\local\\temp\\tmpoxnuqwmypaint\\tmp.png',
*rect=(64, 0, 704, 512), **kwargs={'alpha': True})
filename_sys = filename.encode(sys.getfilesystemencoding()) # FIXME:
should not do that, should use open(unicode_object)
mypaintlib.save_png_fast_progressive(filename_sys, w, h, alpha,
render_tile_scanline)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xb0 in position 9:
unexpected code byte
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?18884>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs