I was working today with Audacity today, when it suddenly crashed. I was not phased much about this, as I just saved my project. So, I double click on my aup file, it tells me it wants to restore my project, I say yes, then it says it found orphan files, and I select continue without deleting and press OK, but what I got is just a big empty nothing. I tried everything: close it again, open again, I even restarted the computer, made a new project, when I save and close it, I can’t open! I used Audacity last Friday, and I didn’t have this problem. There was no version change in the meantime.
I am frustrated to no end. Please guide me on what steps should I take to troubleshoot this issue.
I use Arch Linux, installed it from the community repository with pacman.
Here’s the log:
00:18:04: Audacity 2.3.3
00:18:04: Warning: Cannot set locale to language "English".
00:18:04: Error: locale 'en_GB' cannot be set.
00:18:09: Trying to load FFmpeg libraries...
00:18:09: Trying to load FFmpeg libraries from system paths. File name is 'libavformat.so.58'.
00:18:09: Checking for monolithic avformat from 'libavformat.so.58'.
00:18:09: avformat not monolithic
00:18:09: Loading avutil from '/usr/lib/libavutil.so.56.31.100'.
00:18:09: Loading avcodec from '/usr/lib/libavcodec.so.58.54.100'.
00:18:09: Loading avformat from 'libavformat.so.58'.
00:18:09: Actual avutil path /usr/lib/libavutil.so.56.31.100
00:18:09: Actual avcodec path /usr/lib/libavcodec.so.58.54.100
00:18:09: Actual avformat path /usr/lib/libavformat.so.58.29.100
00:18:09: Importing symbols...
00:18:09: All symbols loaded successfully. Initializing the library.
00:18:09: Retrieving FFmpeg library version numbers:
00:18:09: AVCodec version 0x3a3664 - 58.54.100 (built against 0x3a3664 - 58.54.100)
00:18:09: AVFormat version 0x3a1d64 - 58.29.100 (built against 0x3a1d64 - 58.29.100)
00:18:09: AVUtil version 0x381f64 - 56.31.100 (built against 0x381f64 - 56.31.100)
00:18:09: FFmpeg libraries loaded successfully.
00:18:09: Warning: Orphan block file: '/home/nicemicro/Documents/test_data/eff/d1f/eff1f37c.au'
00:18:09: Warning: Orphan block file: '/home/nicemicro/Documents/test_data/eff/d1f/eff1fc6d.au'
00:26:49: Warning: Project check found file inconsistencies inspecting the loaded project data.
I think I have the US, Hungarian and Korean locales generated. So, yeah, the en_GB local is not there, but why on earth Audacity wants that? Can that be related to the load issue? The program starts, I can import a wavefile, edit it and export it without no problem, I just can’t load saved projects.
To try and get back to a stable state, open Audacity, if it offers to restore an old project, select “No” so that Audacity is able to clear the junk out of the way. Then close Audacity and re-open. Audacity should now open without error. Do NOT try opening any other projects yet.
If Audacity now opens and closes correctly, create a short test project, and save it either to your Desktop or your Documents folder. Close down Audacity properly, then restart and see if you can open the project that you have just saved.
I have just installed Audacity 2.4.0-alpha-Mar 6 2020 from the AUR. The same problem still persists. So, I went back to the Audacity version in the repository.
The three “.cfg” files are Audacity’s configuration files. Deleting these three files (while Audacity is closed) will reset Audacity to it’s factory settings.
From ~/.audacity-data/ move these three files to your Desktop (or any other convenient location):
Importing audio from video files (which is what I do most often) works, opening MP3s and other audiofiles also work. I can manipulate the audio and then export it to ogg files and that works well, too.
A bit of a long shot, but I’m running out of ideas of what the problem could be. User nicemicro has read write permissions to the Documents folder (as expected), so it’s not looking like a permissions problem.
In the project that you posted, the data files (.au) are present in the test_data folder, and their names match the names in the project file “test.aup”. Audacity should therefore recognise the data files as belonging to the “test.aup” project. When I try to open test.aup, Audacity does recognise the data files as belonging to the project (as expected). I can’t account for the fact that on your machine, Audacity does not recognise the .au files as belonging to the project.
Yeah, I have checked multiple test files, and the filenames align with what’s in the
simpleblockfile filename="eff1ffde.au"
parts. I found that the XML file contains a comma instead of the period sign as a decimal separator (my locale is a little weird as I use US English as the language but use Hungarian date and number formatting). I manually changed the commas to periods but didn’t have any effect.
Audacity used to work for me up until around 26th of February.
Now looking up the logs, the last change in Audacity was on 14th of february,
which is a re-compiled form of the same version based on newer dependencies, I guess. But again, Audacity still worked after that. Is there a debugging mode that could be of help?