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

Audacity Bugzilla



Bug 666 - Mac: Cannot "Open" audio files named with "\" using File>Open
Mac: Cannot "Open" audio files named with "\" using File>Open
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: Formats
2.0.5
Mac macOS
: P3 Repeatable
Assigned To: Default Assignee for New Bugs
: Widgets
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-10 01:42 UTC by Gale Andrews
Modified: 2021-01-22 10:59 UTC (History)
7 users (show)

See Also:
Steps To Reproduce:
1) Create a file "ff\ddd.mp3". 2) File > Open 3) Observe: Error message occurs similar to "Could not open file: :Users:gale: ff\ddd.mp3".
Release Note:
GROUP:Imports and Exports *On Mac Audio files containing a backslash (\) in the name will fail "Could not open file" if you import them using File > Open... or File > Open Recent. This is a bug in wxWidgets. **'''
First Git SHA:
Group: ---
Workaround:
Drag the file into the Audacity window instead. Or use File>Import.
Closed: 2021-01-22 00:00:00
petersampsonaudacity: Test‑OK‑Mac+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gale Andrews 2013-10-10 01:42:43 UTC
Leland believes this is the same Widgets wxPathOnly() problem discussed in bug 120.
Comment 1 Peter Sampson 2017-11-26 11:06:32 UTC
Tested on 2.2.1 RC on macOS 10.13.1 Macbook Pro

This now works with File>Import and by dragging the ff\dd/mp3 file in so technically the bug in this report now works (presumably down to past wx3 changes)


BUT if you use the implied "Import" by using File>Open with that MP3 file you still get the error message.

Updated Steps to reproduce, release note and title
Comment 2 Peter Sampson 2020-05-11 07:42:44 UTC
Testing on macOS 10.15.4 with 2.4.0 RC06

File "ff\ddd.mp3" will still not open with the File>Open command or the File>Open Recent command - both get the error message


It will however open in an existing project when you use File>Import (or drag it in)

You can use File>Export to create "ff\ddd.mp3"


so Import and export don't mind the backslash - it's just Open that objects
Comment 3 Leland Lucius 2021-01-22 07:15:17 UTC
This should fix the bug as stated:

https://github.com/audacity/audacity/commit/0123a3e
Comment 4 Peter Sampson 2021-01-22 10:59:02 UTC
(In reply to Leland Lucius from comment #3)
Testing on macOS 11.1 Big Sur with Audacity 3.0.0 0123a3e

This now works OK

1) imported ff\ddd.mp3
2) Observe: worked fine - trackname was ff\ddd
3) Export project as ff\ddd.aup3
4) Observe worked finme
5) close and relaunch
6) File>Open ff\ddd.aup3
7) Observe, opens OK anp project name is ff\ddd