Unclosed Line Error

Hello all. I was recently working on a pretty involved project, and tried saving my progress. After doing so, Audacity unexpectedly crashed, and when I tried to reopen the project, I got an Unclosed token line at 3608 error. Audacity made a backup file of the project, but when I try to open the backup copy of the project file, it tells me to open the original file to prevent severe data loss. Is there some way of bypassing that error message when I try opening the backup file that Audacity created during the crash? Is there anything else that I can do?

Please read the pink panel at the top of the page and let us know the missing information.

If Audacity created an AUP.BAK file then you have an ancient version of Audacity that we can’t help you with. I strongly suggest you obtain the latest Audacity 2.1.0 from http://audacityteam.org/download/mac.

However if you saw a dialogue like this when you restarted Audacity:

then you have a more recent Audacity version. Did you see a dialogue like that and did you try to recover the project that way? If yes, what happened?

Meantime please attach whatever file you are trying to open that shows you the error at line 3608. Please see How to attach files to forum posts.


Gale

I’m using a MAC OSX 10.8.5, and Audacity version 2.0.6. The recovery prompt did show up after I restarted Audacity, but the file with the Unclosed Line Error did not show up amongst the listed files that could be recovered. I’ll attach both the original project file with the Unclosed Line Error, as well as the backup project file that asks me to reopen the original file. Would the new version of Audacity fix this problem for me?
Folk Music Impression Song Digs.aup (176 KB)

The AUP file you attached is cut off at the start of a track so is incomplete. How many tracks should this project have?

Did you export WAV files that you can back up from? You should always do that.

Please also attach what you describe as the “backup project file”.

I still don’t understand what happened when you tried to recover the project using the Automatic Crash Recovery dialogue. You can’t choose what projects to recover, only choose to recover or not. If you chose to recover, what happened? Did you see the audio you were expecting? Is that project window still open?

If you recovered and the audio on screen is incorrect, you must leave the project open then look at the log for what the errors are. If you close that project window and save the incorrect changes, you can’t get the correct audio back, even if you have an AUP file that you saved before the crash.

If you don’t save changes, those changes are gone for good and you will be totally relying on any project that you had successfully saved before the crash.


Gale

That’s peculiar. Well, it has a lot of tracks. I do a lot of layering and editing, and I have to record using a lot of makeshift methods since I don’t have the best equipment available to me

The Automatic Crash Recovery dialogue showed up, as well as a list of projects that could be recovered after the crash. The project that caused the crash, which is the project we’re discussing in here, was not listed amongst the projects that could be recovered. I recovered the rest of them just fine

I tried attaching the backup project file, but I was met with an error on this website. I’m told that “the extension bak is not allowed,”

It sounds like you may be pushing your machine too hard if you had multiple project windows open at the same time. I recommend working on one project at a time. And back tracks up as WAV files. You can do File > Export Multiple… to export each track as a WAV file.

Find the “BAK” file in Finder, select it and press ENTER or RETURN. Rename it to have .TXT extension instead of .BAK then you can attach it.

Audacity won’t list a project in the Automatic Crash Recovery dialogue unless the temporary file it is trying to recover from has an .AUTOSAVE extension. The file may exist but due to the crash it may have a .TMP extension. Please open Finder, then use Go > Go to Folder to open the folder

~/Library/Application Support/audacity/AutoSave/

Attach any files that you find in that AutoSave folder.


Gale

Unfortunately, I can’t find any filed in the Autosave folder

Here’s the backup file with the modified filename
Folk Music Impression Song Digs.aup.TXT (290 KB)

Audacity should not save AUP.BAK files as far as I know. That is why it gives an error when you try to open a BAK file. I don’t know if this is something Mac does when there is a crash while saving a file.

This file you attached now seems to be almost twice the size of the AUP file and ends with “”, so it is complete from a syntax point of view.

I’ve attached it renamed with AUP extension, so I suggest you try opening it now.

Gale
Folk Music Impression Song Digs.aup (290 KB)

Unfortunately, when I try opening the file you included, I’m met with two successive error messages. The first message says “Error Opening Project,” and tells me that it couldn’t find the project data folder. Earlier, I had moved the original project file, as well as the backup file that Audacity created, onto my desktop. Should I move the project folder with all of the individual audio files onto my desktop as well? The second error message also says “Error Opening Project,” and then tells me that it could not open the file

Please do not double post. I deleted your duplicate.

If the “Folk Music Impression Song Digs.aup” file that I attached is now on your Desktop, you need to place the “Folk Music Impression Song Digs_data” folder on your Desktop too.

This is because the AUP file and _data folder of the same name as the project must be in the same place, as per http://manual.audacityteam.org/o/man/audacity_projects.html. If you move the AUP file, the _data folder must move with it.

Do not rename either the AUP file or the _data folder, or you may destroy your work, because of the dual “file and folder” nature of the project format.


Gale