Project crashed while saving, can't open again [SOLVED]

Help for Audacity on macOS.
Forum rules
ImageThis forum is for Audacity on macOS 10.4 and later.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Perec
Posts: 12
Joined: Wed Oct 07, 2015 8:04 pm
Operating System: Please select

Project crashed while saving, can't open again [SOLVED]

Post by Perec » Wed Oct 07, 2015 8:14 pm

Hello,
I'm having this error the second time. Last time it was easier to make a record again, now it's more than an hour of voice record.
I was editing (just deleting bad pieces) the recorded file (about 1 GB, and I have more than 200 GB available space), and Audacity crashed while I was trying to save it. First time I was able to relaunch the project, next time it crashed again while saving. Now I can't open this particular project - Audacity just quits/crashes silently after clicking OK on the welcome window. Below the welcome window I see that the data is in place, the program just can't read it and quits.
Is there any possibility to eliminate the error in the project which will let Audacity open it?
Audacity 2.0.1
OS X 10.10.5 Yosemite

kozikowski
Forum Staff
Posts: 69384
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Project crashed while saving, can't open again

Post by kozikowski » Wed Oct 07, 2015 9:11 pm

Last time it was easier to make a record again
Are you keeping safety copies of all your recordings? You should never need to live record something again. Open up the backup show or a copy of the backup show and use that to find out what's wrong.

No, Audacity should not do that, but errors like this just kill people who step on their old filenames while they produce their show. If you have a complex or large show, the combination of play and record at the same time may cause instabilities.

Audacity 2.0.1 is very old. You can get the latest Audacity version here:

http://audacityteam.org/download/mac

Koz

Perec
Posts: 12
Joined: Wed Oct 07, 2015 8:04 pm
Operating System: Please select

Re: Project crashed while saving, can't open again

Post by Perec » Wed Oct 07, 2015 9:57 pm

If you mean just making another copy of recorded file, then no, I didn't make a backup copy for that, and that's something I'll definitely do next time.

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Project crashed while saving, can't open again

Post by Gale Andrews » Wed Oct 07, 2015 10:55 pm

Perec wrote:I was editing (just deleting bad pieces) the recorded file (about 1 GB, and I have more than 200 GB available space), and Audacity crashed while I was trying to save it. First time I was able to relaunch the project, next time it crashed again while saving. Now I can't open this particular project - Audacity just quits/crashes silently after clicking OK on the welcome window. Below the welcome window I see that the data is in place, the program just can't read it and quits.
Is there any possibility to eliminate the error in the project which will let Audacity open it?
It is a long shot, but you could attach the AUTOSAVE file Audacity is trying to recover from. Use Go > Go to Folder in Finder and type this:

Code: Select all

~/Library/Application Support/audacity/AutoSave

The AUTOSAVE file is in that "AutoSave" folder.

Please see here for how to attach files: http://forum.audacityteam.org/viewtopic ... 49&t=64936.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Perec
Posts: 12
Joined: Wed Oct 07, 2015 8:04 pm
Operating System: Please select

Re: Project crashed while saving, can't open again

Post by Perec » Tue Oct 13, 2015 1:31 am

Gale Andrews wrote: It is a long shot, but you could attach the AUTOSAVE file Audacity is trying to recover from. Use Go > Go to Folder in Finder and type this:

Code: Select all

~/Library/Application Support/audacity/AutoSave

The AUTOSAVE file is in that "AutoSave" folder.
Gale
Hi Gale,
Thank you for the reply. Sorry it took me so long to return here.
The AutoSave folder is empty. Definitely no hidden files, checked through Terminal...

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Project crashed while saving, can't open again

Post by Gale Andrews » Tue Oct 13, 2015 10:18 pm

Perec wrote:
Gale Andrews wrote: It is a long shot, but you could attach the AUTOSAVE file Audacity is trying to recover from. Use Go > Go to Folder in Finder and type this:

Code: Select all

~/Library/Application Support/audacity/AutoSave

The AUTOSAVE file is in that "AutoSave" folder.
Gale
Thank you for the reply. Sorry it took me so long to return here.
The AutoSave folder is empty. Definitely no hidden files, checked through Terminal...
From your description below about seeing below the Welcome screen that the data was in place, I thought you had been seeing the "Automatic Crash Recovery" dialogue when you launched Audacity:
Perec wrote:I was editing (just deleting bad pieces) the recorded file (about 1 GB, and I have more than 200 GB available space), and Audacity crashed while I was trying to save it. First time I was able to relaunch the project, next time it crashed again while saving. Now I can't open this particular project - Audacity just quits/crashes silently after clicking OK on the welcome window. Below the welcome window I see that the data is in place, the program just can't read it and quits.
So if there is no AUTOSAVE file, are you trying to open an AUP file that you had saved before the save that crashed?

If there is an AUP file, you could attach that (though it is still a "long shot").


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

cyrano
Posts: 2629
Joined: Fri Apr 17, 2015 11:54 pm
Operating System: macOS 10.13 High Sierra

Re: Project crashed while saving, can't open again

Post by cyrano » Wed Oct 14, 2015 12:36 pm

Do you have a Fusion drive in your Mac?

Perec
Posts: 12
Joined: Wed Oct 07, 2015 8:04 pm
Operating System: Please select

Re: Project crashed while saving, can't open again

Post by Perec » Thu Oct 15, 2015 1:38 am

Gale Andrews wrote: From your description below about seeing below the Welcome screen that the data was in place, I thought you had been seeing the "Automatic Crash Recovery" dialogue when you launched Audacity
No it's just the standard welcome screen of the program.
Gale Andrews wrote: So if there is no AUTOSAVE file, are you trying to open an AUP file that you had saved before the save that crashed?
I suppose Audacity tried to save into that file and crashed before the saving process was finished. So I have only one AUP file.

Here is the link to the project archive, though I think that it really doesn't worth your time...
https://www.dropbox.com/s/sbizxnwppbwkr ... e.zip?dl=0

Perec
Posts: 12
Joined: Wed Oct 07, 2015 8:04 pm
Operating System: Please select

Re: Project crashed while saving, can't open again

Post by Perec » Thu Oct 15, 2015 1:42 am

cyrano wrote:Do you have a Fusion drive in your Mac?
It's a 2010 MacBook Pro, so no(

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Project crashed while saving, can't open again

Post by Gale Andrews » Thu Oct 15, 2015 10:54 pm

Perec wrote:
Gale Andrews wrote: So if there is no AUTOSAVE file, are you trying to open an AUP file that you had saved before the save that crashed?
I suppose Audacity tried to save into that file and crashed before the saving process was finished. So I have only one AUP file.
There will only ever be one finished AUP file if you save to the same project name. The AUP file is saved last, after the _data folder is updated.
Perec wrote:Here is the link to the project archive, though I think that it really doesn't worth your time...https://www.dropbox.com/s/sbizxnwppbwkr ... e.zip?dl=0
On Windows at least, the name of the AUP file and _data folder are a mass of strange symbols. However the project does open and correctly display the audio data listed in the AUP file (107378688 samples, or just over 40 minutes of stereo audio, so not over an hour as you said).

There are 358 "orphan block files" which are in the _data folder but not listed in the AUP file, which will be about another 18 minutes of audio. Those orphans will be listed at Help > Show Log... if and when you can open the project. It is possible to rename and recover orphan block files manually if they are actually part of a continuous recorded sequence that was never edited, not otherwise.

This does not explain why Audacity on your machine crashes when opening the project but did not do so first time after the crash. Perhaps before reopening the project you could try resetting preferences. Do this by quitting Audacity, opening Finder, choose Go > Go to Folder and type:

Code: Select all

~/Library/Application Support/audacity/ 
In the "audacity" folder, delete the file "audacity.cfg".


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Locked