| From Benjamin Drung <
[hidden email]>
| Sun, 11 Oct 2009 18:38:04 +0200
| Subject: [Audacity-devel] Audacity silently truncates export when disk full
> if there is insufficient disk space when exporting a project to WAV,
> Audacity will simply write as much as there is space available and
> report that the export was successful. The bug was filed in Ubuntu [1]
> and David Henningsson developed a patch (attached) for it.
>
> [1]
https://launchpad.net/bugs/259798I've never tried this on Linux, but there is no "success" message
on Windows, unless using Export Multiple. Have you tried this
with straight export in CVS HEAD and seen a "success" message?
Note we have an item on "Release Checklist not aiming" :
"Ensure proper saving of exported audio file when Audacity runs
out of space and warn what was done, especially on Linux (seems
on Windows that a clean file is saved). Consider checking free
space before starting export."
So I think you are saying on Linux too, the file is saved properly
(can be played) but truncated due to lack of space?
I don't think the current behaviour to complete the file is that bad,
hence why it was assumed this wasn't going to be "fixed" for 2.0.
If we are going to "fix" it, I'd far rather that instead of letting what
may be a very time-consuming export start and then fail it at the
end (as the patch seems to do), Audacity actually checks the
available space first and gives an option to a) complete the
truncated file when the disk runs out of space b) Cancel (suggest
user tries another disk). There are seven votes for a disk space
check on the Wiki "Feature Requests" page, which probably
understates the demand because others have reported this as a
"bug".
I guess this is a bit more complex with export multiple since you
would ideally have to state which file would be truncated, but
Audacity must know the space needed, and other video/audio
editors check the space first before writing.
If we went with another suggestion on "not aiming" about making
copying in of uncompressed data the default (so people who delete
the files they imported straight after importing them don't get
silenced projects), space checking becomes more important.
But, we'd then make On-Demand importing non-default which
would be a shame considering this is a very successful feature.
I haven't even tried the patch, but I wouldn't regard it as more
than a temporary kludge-fix, even if it works. Did you test it?
Other comments?
Gale
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel