Audacity Bug Summary
••• Introduction •••
••• Keywords •••
    Audacity 3.0.3 development began 19th April 2021

Audacity Bugzilla



Bug 2649 - Launching Audacity with a locked audacity.cfg file gives not one but three error messages - and no help
Launching Audacity with a locked audacity.cfg file gives not one but three er...
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: Application Core
3.0.0
All All
: P3 RepeatableAll
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-01-30 12:47 UTC by Peter Sampson
Modified: 2021-02-01 12:25 UTC (History)
6 users (show)

See Also:
Steps To Reproduce:
1) clear audacity settings folder 2) Launch Audacity 3) Exit Audacity (this gives you an audacity.cfg) 4) lock the audacity.cfg file 5) Launch Audacity 6) Observe: initial error message 7) Observe: there is no "?" help button to aid the user 8) Press Ok 9) Observe second message 10) Press OK 11) Observe third error message 12) press OK 13) Observe audacity launch aborts
Release Note:
First Git SHA:
Group: ---
Workaround:
Closed: 2021-02-01 00:00:00
petersampsonaudacity: Test‑OK‑Win+
petersampsonaudacity: Test‑OK‑Mac+


Attachments
first message (5.13 KB, image/png)
2021-01-30 12:47 UTC, Peter Sampson
Details
second lauch message (4.75 KB, image/png)
2021-01-30 12:50 UTC, Peter Sampson
Details
third error message (3.38 KB, image/png)
2021-01-30 12:53 UTC, Peter Sampson
Details
build-up of tmp files (64.49 KB, image/png)
2021-01-30 13:01 UTC, Peter Sampson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Sampson 2021-01-30 12:47:33 UTC
Created attachment 1069 [details]
first message

Launching Audacity with a locked audacity.cfg file gives not one but three error messages.  

The first alone should be sufficient - see attachment for this first message.

a) it should have a "?" help button - linking to this page
https://alphamanual.audacityteam.org/man/Error:_Audacity_settings_file_unwritable
b) It should abort the launch after the OK in the first message
c) the second two messages are really redundant

There is no "?" help button on any of the three messages.
Comment 1 Peter Sampson 2021-01-30 12:50:37 UTC
Created attachment 1070 [details]
second lauch message

Image shows the second error message on launch failure with locked audacity.cfg
Comment 2 Peter Sampson 2021-01-30 12:53:10 UTC
Created attachment 1071 [details]
third error message

Image shows the second error message on launch failure with locked audacity.cfg
Comment 3 Peter Sampson 2021-01-30 13:01:40 UTC
Created attachment 1072 [details]
build-up of tmp files

And note that in the audacity settings folder there is a build-up of 
>audXXX.tmp files

These files can only be removed bu Manual deletion
Comment 4 Leland Lucius 2021-01-31 10:28:57 UTC
Fix in:

https://github.com/audacity/audacity/commit/21296b0

Seems to work fine, but I need Paul's with setting up an exception to exit Audacity a bit more gently.
Comment 5 Peter Sampson 2021-01-31 11:20:42 UTC
(In reply to Leland Lucius from comment #4)
Testing on W10 with Audacity 3.0.0 21296b0

This now works fine with
a) only a single message
b) an improved message
c) help button in the message
d) no launch while the problem remains
e) fixing the problem by unlocking and then using the Retry button proceeds to launch
f) the Quit Audacity button - "does what it says on the tin"

------------------------------------------------------------

The one thing that puzzles me is that when I click on the "?" help button it goes straight to the (empty) new target page in the Manual.  

Normally when I test alpha builds I get told that the Manual is not installed and do I want to try on the web   :-//
Comment 6 Leland Lucius 2021-01-31 11:58:20 UTC
(In reply to Peter Sampson from comment #5)
> (In reply to Leland Lucius from comment #4)
> Testing on W10 with Audacity 3.0.0 21296b0
> 
> This now works fine with
> a) only a single message
> b) an improved message
> c) help button in the message
> d) no launch while the problem remains
> e) fixing the problem by unlocking and then using the Retry button proceeds
> to launch
> f) the Quit Audacity button - "does what it says on the tin"
> 
> ------------------------------------------------------------
> 
> The one thing that puzzles me is that when I click on the "?" help button it
> goes straight to the (empty) new target page in the Manual.  
> 
> Normally when I test alpha builds I get told that the Manual is not
> installed and do I want to try on the web   :-//

This is because the HelpSystem isn't available at this point of Audacity startup, so I opted to just jump out the the internet version.
Comment 7 Peter Sampson 2021-01-31 12:35:07 UTC
Testing on macOS 11.1 Big Sur with Audacity 3.0.0 21296b0

This now works fine with
a) only a single message
b) an improved message
c) help button in the message
d) no launch while the problem remains
e) fixing the problem by unlocking and then using the Retry button proceeds to launch
f) the Quit Audacity button - "does what it says on the tin"