Update of bug #19465 (project mypaint):
Status: None => Need Info
_______________________________________________________
Follow-up Comment #3:
Well, some excerpts of save_ora() in lib/document.py:
# use .tmp extension, so we don't overwrite a valid file if there is
an exception
z = zipfile.ZipFile(filename + '.tmpsave', 'w',
compression=zipfile.ZIP_STORED)
...
z.close()
os.rmdir(tempdir)
if os.path.exists(filename):
os.remove(filename) # windows needs that
os.rename(filename + '.tmpsave', filename)
It saves into the same directory, not into /tmp, because /tmp might be on a
different filesystem, and then the rename would be expensive. And this is very
old code.
Maybe you can tell us a bit what actually happened? Did the file disappear
after you rebooted, or was it empty, or did you get an error when you tried to
open it? Can you unzip it? Does it contain the same layers? Did you find a
'.tmpsave' file? Did load a file into the scratchpad maybe? What have you
tried to analyze the problem - e.g. have you checked if the file was maybe
saved to ~/MyPaint/ instead?
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?19465>
_______________________________________________
Nachricht gesendet von/durch Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs