VHF wrote:The message basically says ...Perhaps your disk is full. What nonsense in 2010!
Yes indeed - a poor example of error messaging, but perhaps not quite as bad as:
Code: Select all
Stop 0x0000000A or IRQL_NOT_LESS_OR_EQUAL
Stop 0x0000001E or KMODE_EXCEPTION_NOT_HANDLED
As a Mac user VHF you will have been sheltered from these infamous error messages which come courtesy of the worlds biggest software company.
I don't think it's any excuse, but I'm not a programmer so I've no idea what's actually going on at machine level, but logically, if the system is just telling Audacity "no, you can't write that data", then it may be difficult for Audacity to give a more meaningful message.
VHF wrote:I now learn that Audacity is unduly sensitive to the characters one uses to name one's project
That was certainly true before full Unicode support, but for the current 1.3.x version the main limitation in file naming is the operating system.
On Linux, of the characters available on my keyboard, the only one that I cannot use in a file name is the slash (/). The forward slash is used for path names, so if I tried to write: "new-file-17/2/2010" as a file name, the operating system would be looking for a (non-existent) folder called "new-file-17" with a subdirectory called "2".
On Windows the conventions for file naming are far more restrictive and are described here:
http://msdn.microsoft.com/en-us/library ... S.85).aspx
In short, you cant use any of the characters: * < > : " / | ? Integer value zero, ASCII NUL character, characters whose integer representations are in the range from 1 through 31, two consecutive dots, and any others that I've missed. In addition, there are rules according to the file system, for example the MS-DOS FAT file system supports a maximum of 8 characters for the base file name and 3 characters for the extension. On more recent file systems this 8.3 limit is removed but there is still a limit on the maximum path length (256 characters?). In addition, you cannot use the following names: CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9 and you cannot start a file name with a space. File names on Windows are not case sensitive so Desktop.wav is identical to desktop.WAV
Although Audacity itself now supports Unicode, that does not mean that all of the components and libraries that Audacity uses will also support Unicode. For example, the names of Nyquist plug-ins must be alpha-numeric. Nyquist is a separate program from Audacity, developed by other people (as is Lame, FFMpeg and others). It is included in Audacity as it provides additional functionality (support for Nyquist plug-ins). Just as we would not expect the Audacity developers to rewrite the operating system on which Audacity is running, we cannot expect them to rewrite all of the shared libraries that Audacity uses (though they have been known to fix the occasional bug in other libraries).
There are additional naming problems that occur as a result of the internet. You've probably noticed that some file names have the characters "%20" in the name. This is a result of ASCII encoding (of a space) that occurs somewhere between a person typing the name and it being downloaded. Other substitutions can also occur, and while it is usually harmless, in some cases it can break things.
The upshot is that it is always safest to use "standard" characters when naming anything on computers. ("standard" characters are a-z, 0-9, hyphen and underscore). This should be a matter of common practice for people familiar with computers.
As a matter of interest, how does your web browser display this word: の検索結果
It
should look something like this:

- results.png (374 Bytes) Viewed 2511 times
VHF wrote:they should be advised that exporting to a lossless format (AIFF or WAV) will effectively preserve their work too.
We do our best to inform users of this at every possible occasion. [sigh]
VHF wrote:There was also supposed to have been an auto-save function, which does not seem ever to have kicked in. I'm assuming now, for the same reason. (How about a meaningful error message then, to the effect, we're scheduled to be doing an auto-save now, but can't because of your file name. Change it, human, or else.)
Now that is a much better error message, I like it

However, the choice of file name should have no effect on whether or not Audacity performs an "Auto Save".
On Linux, the autosave file is (by default) in /home/<user>/.audacity_data/AutoSave/
(I'm not sure where it is on other platforms - anyone?)
The file name will be something like: "New Project - 2010-02-17 17-03-55 N-1.autosave" until the project is successfully saved.
On attempting to save the project with an invalid name (with a forward slash) I get the error message:
Code: Select all
The folder contents could not be displayed
Error stating file '/home/<user>/Desktop/xxx': No such file or directory
The Autosave file is not affected and still exists.
If I then purposefully crash out of Audacity (kill the process), the AutoSave file still exists, the temporary data is still in the temporary data folder, and restarting Audacity can automatically recover the project.
Anyone want to try on another platform?
billw58 wrote:Further to that, filtering/replacement of all illegal characters whenever anything is saved (a project or an exported file) would be nice. That way you could send your project to someone working on a different OS and it would work.
Not sure about that Bill. What if I want to be a bad boy on my Linux box and name a project
That is perfectly valid on my machine, so why mess me around?
kozikowski wrote:It's possible, but we can't approach the developers with no data. They don't just frown on that. They've been know to smite us with lighting bolts.
[WHY HAVE YOU COME TO US, ELF?]
Not good being smitten, trust me on that.
Ow.
ROFL

You speak wise words Elf.
VHF wrote:This is really silly. The leading lights wrote the code, or at least have access to it, and don't need us to tell them which characters are rejected when in Save mode. Billw58 has the same system I do, and since he seems to be more scientifically inclined, I'll let him do the experimentation if he's so inclined. For me, to mention that there is at least one other application that does not have this issue (probably because their code is more up to date...) speaks to an Audacity issue.
The only problem that I can find with naming files on my machine is that I can't use a forward slash (which is exactly the same for all programs). I can even name files in Japanese! Unless we can say to the developers "look there's a problem - here it is" then nothing is going to happen. With older versions of Audacity there were clear problems with naming files, but now I see nothing, in spite of looking for fault. So as far as Linux is concerned - nothing to report.