New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audacity crashes on export from Macros to a top level drive #2471
Comments
Also crashes if you apply the MP3 Conversion Macro to Files (and nit just Project) |
The OP wrote on the Forum thread:
|
Hi, I will try to take a look on it. @LWinterberg can you assign me please to this issue? Thank you in advance. |
feel free to fix this! @davidchocholaty |
Hi, I'm so sorry for the later response. I tried to fix the issue for the GSoC project. However, I couldn't fix it and it wouldn't be possible to find time for it. I will unassign myself from this issue to let it for other devs that can fix it. Once so sorry for the later response. |
Still occurs on latest (today's) 3.2.0 release build: a) crashes when run on "Files" sent the ET phone-home report again b) does NOT crash when run on project - but that's because the MP3 export (in the STR) ignores the setting for the Macros output in Directories prefs - and instead uses the setting for Export in directories prefs and pops up the export dialog. |
The issue is still the case in 3.3.2 Sentry log: https://sentry.audacityteam.org/share/issue/d6d26cf1db6741c5b055343cdcf62438/ |
@dozzzzer |
For some reason or another I can't get my MAC and or my Windows laptop to give me full permissions to write to the top level drive, so I cannot successfully test this ticket. @dozzzzer Can you please handle. |
Testing on W10 with 3.3.3 I still get the crash following my previous STRs At Step 2 Audacity allows me to set the default macro output directory to be my top-level G: exFAT formatted USB stic. If after step 2 I add Then at steps 6-7 Audacity creates a subdirectory G:\ Macros\macro-output (this is expected behavior And the outputted MP3 file from the MP3 Conversion macro is place in that folder: G:\Macros\macro-output\my-file.mp3 (also expected behavior) So it is only the top level G: directory of the USB stick that is blocked - BUT it is a valid file location that I can write to as I can from Audacity: I am not prepared to risk trying with my top-level C:\ drive as I have no desire to risk screwing that up - but this PC does also have an on-board 1TB spinning metal D: drive so I can also test with that. UPDATE |
Ahhhhh - but then I realized I should have been testing with @vsverchinsky 's branch build: audacity-win-3.4.0-alpha-20230605+3df662a-x64 And using that it all works fine with both my on-board D:\drive and my external G:\ exFAT USB stick. So Vitaly's branch looks to fix this issue (on Windows at least) I can try to test later on Mac - it's a shame this didn't get tested in time to be pulled for the recent 3.3.3 release |
Testing on macOS 12.6.3 Monterey with @vsverchinsky 's branch Universal Mac build
So Vitaly's fix for this works fine on Mac as well as Windows |
Tested. Now I'm not experiencing any crashes when exporting to either a USB flash drive or to a root of a volume (e.g. D:) Before the fix:2023-06-12_13-52-49.mp4After the fix:2023-06-12_13-57-22.mp4 |
Tested on W10 with latest 3.4.0 alpha: audacity-win-3.4.0-alpha-20230615+b99aedb-x64-msvc2022 Works fine with setting to root directory on |
Awesome! |
Me three with version 3.3.3 macro export to a USB root fail. I WISH I could just specify where the files go, not have it automatically bundle it in a folder for me. The reason is they're to go into the storage of a simple mp3 player. It plays the files in the order they were written onto the storage media because it's a simple player. |
Describe the bug
The problem is that the exporting path for macros, which you can specify in menu Edit > Preferences > Directories
must be a folder and can't be directly the root of a partition, example F:\ it crashes!
With path: F:\macro it works and it creates automatically a subfolder named “macro-output”
Originally logged on the Forum by user Tyco72(2)
https://forum.audacityteam.org/viewtopic.php?f=46&t=122648&p=444407
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should work with any valid path, in this case creating a a folder “macro-output” at the top level on the drive
Screenshots
None
Additional information (please complete the following information):
Additional context
I set the priority to P1 as:
a) Audacity should not crash,
b) the user does not receive ant helpful error message to inform them of the nature of the problem (see Forum thread)
In directories prefs - Open, Close, Import and Export directories worked as the top-level location without a folder and no crash
Even the temporary directory could be set to the exFAT USB stick and it works -but I REALLY wouldn't recommend that IRL.
However it's not an entirely silly use case as my Windows PC has a 256GB SSD C: drive and on onboard spinning metal 1TB d:drive - so one might set the temporary directory to be on the D: drive - and note that is a directory "Session Data" on the D: drive and just a set of temporary files.
The text was updated successfully, but these errors were encountered: