Follow-up Comment #4, bug #18884 (project mypaint):
Tried out the portable X-MyPaint 0.9.1 version. STILL having the problem. I'm
suspecting there's a problem with my computer, not MyPaint...
Traceback (most recent call last):
File "I:X-MyPaint_0.9.1_rev4BinMyPaintlibrary.zipguifilehandling.py", line
312, save_cb(no details)
if not self.filename:
self.save_as_cb(action)
else:
File "I:X-MyPaint_0.9.1_rev4BinMyPaintlibrary.zipguifilehandling.py", line
369, save_as_cb(no details)
else:
self.save_file(filename, **options)
break
File "I:X-MyPaint_0.9.1_rev4BinMyPaintlibrary.zipguidrawwindow.py", line
43, wrapper(self=<gui.filehandling.FileHandler object>,
*args=(u'I:\helloworld.ora',), **kwargs={})
try:
func(self, *args, **kwargs)
finally:
File "I:X-MyPaint_0.9.1_rev4BinMyPaintlibrary.zipguifilehandling.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 "I:X-MyPaint_0.9.1_rev4BinMyPaintlibrary.ziplibdocument.py", line 262,
save(no details)
try:
save(filename, **kwargs)
except gobject.GError, e:
File "I:X-MyPaint_0.9.1_rev4BinMyPaintlibrary.ziplibdocument.py", line 393,
save_ora(self=<lib.document.Document instance>, filename=u'I:\helloworld.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 "I:X-MyPaint_0.9.1_rev4BinMyPaintlibrary.ziplibdocument.py", line 374,
add_layer(x=0, y=0, opac=1.0, surface=<lib.tiledsurface.Surface; proxy of
<Swig Object of type 'TiledSurface *' at 0x03A8BE30> >,
name='data/layer000.png', layer_name='', visible=True, rect=(128, -64, 768,
640))
stack.append(layer)
store_surface(surface, name, rect)
a = layer.attrib
File "I:X-MyPaint_0.9.1_rev4BinMyPaintlibrary.ziplibdocument.py", line 366,
store_surface(surface=<lib.tiledsurface.Surface; proxy of <Swig Object of type
'TiledSurface *' at 0x03A8BE30> >, name='data/layer000.png', rect=(128, -64,
768, 640))
t1 = time.time()
surface.save(tmp, *rect)
print ' %.3fs surface saving %s' % (time.time() - t1, name)
File "I:X-MyPaint_0.9.1_rev4BinMyPaintlibrary.ziplibtiledsurface.py", line
181, save(no details)
kwargs['alpha'] = True
pixbufsurface.save_as_png(self, filename, *args, **kwargs)
File "I:X-MyPaint_0.9.1_rev4BinMyPaintlibrary.ziplibpixbufsurface.py", line
135, save_as_png(surface=<lib.tiledsurface.Surface; proxy of <Swig Object of
type 'TiledSurface *' at 0x03A8BE30> >,
filename='c:\users\xb0xadxc7xd1xbaxfb\appdata\local\temp\tmpaelmq6mypaint\tmp.png',
*rect=(128, -64, 768, 640), **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