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

Audacity Bugzilla



Bug 2148 - AUD-GET-INFO command fails if data contains backslash
AUD-GET-INFO command fails if data contains backslash
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: Nyquist
2.3.2
Per OS All
: P4 RepeatableAll
Assigned To: Default Assignee for New Bugs
https://sourceforge.net/p/audacity/ma...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-07-02 09:48 UTC by Steve Daulton
Modified: 2019-08-02 05:02 UTC (History)
6 users (show)

See Also:
Steps To Reproduce:
1)On Windows, enter the following Nyquist command in the Nyquist Prompt (all one line): (print (second (assoc 'label (nth 4 (aud-get-info "menus"))))) 2) click the debug button: 3) Expected behaviour: The most recent file to be displayed. 4) Observe: Actual behaviour: A load of error messages.
Release Note:
First Git SHA:
Group: ---
Workaround:
Closed: 2019-08-02 00:00:00
james.k.crook: Must‑Test‑All‑OS-
petersampsonaudacity: Test‑OK‑Win+
petersampsonaudacity: Test‑OK‑Mac+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Daulton 2019-07-02 09:48:25 UTC
This bug affects all platforms, but is most obvious on Windows as Windows uses the backslash character as the file path separator.

When testing Robert's script, (https://sourceforge.net/p/audacity/mailman/message/36705482/), Audacity 2.3.3 alpha crashed on my Windows 10 VM.
Comment 1 Steve Daulton 2019-07-02 10:10:18 UTC
Fix committed at f99d564fd6dbddfa995ff16ae18aef3429aee2ed
Comment 2 Peter Sampson 2019-07-09 13:34:17 UTC
Testring on W10 with audacity-2.3.3-alpha-282-7857769f96fa8bd6d9954ba5b59bf95dee0b93ec

Running that command in debug causes the most recent file to be displayed - and no error messages
Comment 3 Peter Sampson 2019-07-09 13:39:01 UTC
Running Robert's script from the link in Steve's Comment #0 gives my 3 most recent files (today's projects).

There are older projects on the recent files list but those are test projects that have already previously been deleted
Comment 4 Peter Sampson 2019-07-12 06:20:31 UTC
Testing on macOS 10.14.5 with 2.3.3 alpha jc003

Running the command in Step 1 give the expected result listing the most recent project file- looks to be OK

Running Robert's script also lists the most recent project file - but three lines
a) No file separator …
b) Correct separator, escaped …
c) or not escaped ...
I assume that this is what Robert expects ?
Comment 5 Peter Sampson 2019-08-02 05:02:36 UTC
James has marked this as single platform test OK - so as tests properly in Win and Mac I shall close this