Bugzilla – Bug 2739
If Temporary files directory is set to be unwritable then Audacity has a catalog of cryptic unhelpful errors
Last modified: 2021-07-16 14:13:00 UTC
Created attachment 1137 [details] Full error message when temp files are on c:\ If the user in Directories Preferences sets the Temporary Files directory to be in an unwritable location (C:\ on Win for example) - then when next launching Audacity and trying to use it a catalog of errors and warnings arise, none of which explain to the user what the underlying problem is. It would make a lot of sense from preventing the user from setting non-writable locations for this in Directories preference. This is not a regression: a) on 3.0.0 you get the same (minus the initial launch message) b) on 2.4.2 - Audacity hangs when you try to record or import I have only tested on W10 with Audacity 3.0.2 b73aa1c - but I assume this will apply on all platforms. I don't know yet what happens if the user sets the location to a legal writable one, but then subsequently that location gets locked either by the user or some other app (a virus checker say).
Fix available: PR#929: https://github.com/audacity/audacity/pull/929 This Pull Request expands the current error message from: "Error opening a new empty project" to: "Error opening a new empty project. Perhaps Audacity's Temporary files directory is write protected."
Created attachment 1171 [details] Error message Testing on W10 with latest 3.0.3 alpha Audacity_Windows_64bit_1037187455_50f8e10 This can no longer occur as Audacity blocks the user from setting the temporary directory to C:\ An error message is shown (see attachment)