"error opening file" problem solved

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.

Mac 0S X 10.3 and earlier are no longer supported but you can download legacy versions of Audacity for those systems HERE.
Locked
michalthompson
Posts: 16
Joined: Thu Aug 23, 2007 11:52 pm
Operating System: Please select

"error opening file" problem solved

Post by michalthompson » Mon Sep 03, 2007 5:38 pm

I've been going nuts on my Mac G4 encountering the "error opening file" message randomly upon trying to re-open project files. Seemed like the apparent corruption took place whenever I tried to transfer project files between home and office computers or even moving project files to a common folder to consolidate them.

What I've discovered is that Audacity files that won't open inside a folder where they've been moved WILL open once they are moved back to the desktop.

Wish I'd discovered this before deleting several projects that I had thought were irreparably damaged!

I couldn't find anything in the Audacity manual about this. Woulda been nice to know . . .

All the best–

michalthompson

rufwork
Posts: 1
Joined: Mon Aug 24, 2009 12:18 am
Operating System: Please select

Re: "error opening file" problem solved

Post by rufwork » Mon Aug 24, 2009 12:21 am

I realize I'm replying to an ancient post, but it's the first thing I Googled with a similar problem.

It appears Audacity on Mac has a number of issues with where and how things are saved. Longer names on your aup files on FAT32 drives can screw things up and give the "Error opening file" issue too.

Moving the aup file and corresponding data folder to a Mac OS Extended drive (or what have you) makes it all happy again, just as the OP mentions. The file might not be bogus. It might just be the drive.

kickice
Posts: 1
Joined: Fri Nov 06, 2009 7:55 pm
Operating System: Please select

Re: "error opening file" problem solved

Post by kickice » Fri Nov 06, 2009 7:58 pm

Thankyou for posting this. What a simple fix :) I should have thought of it before now

Irish
Forum Crew
Posts: 550
Joined: Sat Sep 05, 2009 9:25 pm
Operating System: Please select

Re: "error opening file" problem solved

Post by Irish » Fri Nov 06, 2009 9:02 pm

Audacity projects are very brittle and don't like being moved.

A project consists of an .aup file and a _data folder.
The _data folder contains all of the project audio and graphic data in hunderds of small files, and the .aup file tells Audacity how to construct the project from those files.
The .aup file and the _data folder must live in the same place, i.e. in the same folder. If Audacity doesn't find the _data folder there, it gives up and goes home. If all the data files are not in the _data folder, exactly as the .aup file says they should be, you lose some or all of the project.

You can move Audacity projects but, as a general rule, you shouldn't, unless you really have to.

Unusual characters in filenames can also cause problems. You should restrict your filenames to use 0-9, a-z, underscore and dash.

See this page from the wiki on project files:
http://wiki.audacityteam.org/index.php? ... ement_Tips


PO'L
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * Tips * * * * Tutorials * * * * 1.3 Quick Start Guide * * * * Audacity 1.3 Manual * * * * Audacity wiki * * * *

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

Re: "error opening file" problem solved

Post by kozikowski » Fri Nov 06, 2009 9:39 pm

If somebody has a gun and is forcing you to move a project, you can increase your chances of success over the suggestions already listed by changing the preferences so Audacity Projects copy music inside themselves instead of leaving imported clips where they started. Missing this one step up is cause for all those "missing short segments in my show" postings here on the forum.

"The blue waves are still on the screen, but the sound cuts out."

Then, you need so sit quietly and ask yourself if you really, really need Projects. Most people don't. I'll go so far as to suggest there's only a handful of people who need them compared to the whole sound world.

I've managed to go my whole life with many captures and processing jobs and production for theatrical shows and never Saved a Project yet. At the end of a production cycle, I have the original studio capture WAV files and the processed delivered Client Master WAV files. No _data folders or AUP files.

FAT32. I need to be crystal clear about that, too. You're saving work to a hard drive formatted an obsolete Windows format which is so old it happens to be recognized by everybody. No, I'm not shocked it won't do modern Mac tricks. If the drive belongs to you (and it's empty) Erase it to MacOS Extended using Go > Utilities > Disk Utilities. Then, suddenly, it's a Mac disk and all those problems will vanish.

Except the forbidden filename characters. You should still stick to upper and lower case letters, numbers, underscore, and dash.

Koz

Locked