Follow-up Comment #2, bug #16831 (project mypaint):
Traceback (most recent call last):
File
"C:\Users\Florin\Downloads\mypaint-git-021010\library.zip\gui\filehandling.py",
line 256, update_preview_cb(self=<gui.filehandling.FileHandler object>,
file_chooser=<gtk.FileChooserDialog object at 0x351a968 (GtkFileChooserDialog
at 0x3f07720)>, preview=<gtk.Image object at 0x351a940 (GtkImage at
0x4f46a90)>)
if filename:
pixbuf = helpers.get_freedesktop_thumbnail(filename)
if pixbuf:
File
"C:\Users\Florin\Downloads\mypaint-git-021010\library.zip\lib\helpers.py",
line 135,
get_freedesktop_thumbnail(filename=r'C:\Users\Florin\Downloads\test.jpg')
pixbuf = None
pixbuf = save_freedesktop_thumbnail(pixbuf, filename) # save
thumbnail or regenerate if MTimes do not match
return pixbuf
File
"C:\Users\Florin\Downloads\mypaint-git-021010\library.zip\lib\helpers.py",
line 149, save_freedesktop_thumbnail(pixbuf=<gtk.gdk.Pixbuf object at
0x351a990 (GdkPixbuf at 0x4f498d8)>,
filename=r'C:\Users\Florin\Downloads\test.jpg')
pixbuf = scale_proportionally(pixbuf, 128,128)
pixbuf.save(tb_filename_normal, 'png', {"tEXt::Thumb::MTime"
: file_mtime, "tEXt::Thumb::URI" : ('file://'+filename)})
return pixbuf
GError: Failed to open
'C:\Users\Florin/.thumbnails/normal\72e75a4678f327eb0b40e8ea1f80bb92.png' for
writing: No such file or directory
Hope it helps!
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?16831>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs