After save, aup files contains incorrect filename for data

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

The final version of Audacity for Windows 98/ME is the legacy 2.0.0 version.
fkewl
Posts: 5
Joined: Mon Nov 10, 2008 9:49 pm
Operating System: Please select

After save, aup files contains incorrect filename for data

Post by fkewl » Mon Nov 10, 2008 9:57 pm

Hi,

I've been using successfully v1.3.6 beta for 19sessions now without major issues

Laptop, vista with v1.3.x beta (don't remember exactly wich, i think 1.3.6)
I created my project and saved it with the correct filename i want
Change my defaults to "44hz, mono" because we record only voice
Started recording with no problems during the whole 6hrs recording
Saved my project
Close laptop , go home
At home, open laptop
Reopen project
Get error msg "missing dependant file ... ", but it seems EVERY dependant file is missing

I verify my .aup file (which seems to be a .xml file) and all the refered filename are incorrect
ex. in aup first file = e00000005 , in my _data/../e0 folder, the first file is e0000a00 (or somehting like)

Now, can i change my .aup file manually to reflect all the correct file name in the _data folder ?
But seing since it is a 6 HOUR recording, there are ALOT of file to do

Is there a easy way to recreate a .aup from a _data folder ? which would be LIFESAVING to me

Anyone have thoughts on this ?

:(

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

Re: After save, aup files contains incorrect filename for da

Post by kozikowski » Mon Nov 10, 2008 10:19 pm

As you already figured out, the AUP file is just an XML environment manager and you can edit it with any text editor. Make sure you understand the structure before you do it, though. Left sound on the top and Right on the bottom.

This is a really simple AUP file in graphic form to illustrate the layout.

http://kozco.com/tech/audacity/aup1.jpg

I have no idea why your machine would do strange things, but Sudden Computer Insanity can be caused by running out of disk drive space. No audio (or video) machine should ever be over 90% full.

Audacity Projects are notoriously brittle. Next time you capture a Major Performance, Export As WAV to get a single, stand-alone, stable sound file. After that you can do anything you want.

If you do manage to rescue your damaged project, you will be a celebrity.

Koz

steve
Site Admin
Posts: 80751
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: After save, aup files contains incorrect filename for da

Post by steve » Tue Nov 11, 2008 12:33 am

fkewl wrote:I verify my .aup file (which seems to be a .xml file) and all the refered filename are incorrect
ex. in aup first file = e00000005 , in my _data/../e0 folder, the first file is e0000a00 (or somehting like)
Yes, the AUP file is basically XML. I'm not sure how you are identifying the "first" file in the temporary folder - by time modified? They do not follow any numerical order in Audacity 1.3.x

Missing dependant files is usually when either you have imported some audio, but got Audacity's Import/Export preferences set to fast rather than safe, and then move one of the files that you imported, or by renaming data files. Things can also get messed up if Audacity crashes, although recent versions of 1.3.x have become a lot better at recovering from crashes.

This article explains about how Audacity handles data:
http://audacityteam.org/wiki/index.php? ... ement_Tips
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

fkewl
Posts: 5
Joined: Mon Nov 10, 2008 9:49 pm
Operating System: Please select

Re: After save, aup files contains incorrect filename for da

Post by fkewl » Wed Nov 12, 2008 2:46 am

Update
i have 1.3.4 beta

Was able to verify that the .aup file has the correct order , because i put the file not in order of filename, but in order of modification date
Once that was done, i determined that the order was ok and ALL .au files seem to be there

Here is a part of the log.txt errors
20:42:49: Orphaned blockfile: (C:UsersHomeUserDocuments!PodcastEP19_datae00d00e0000005.au)
The thing is, the file is correctly name and where it's supposed to be but Audacity just won't see it
I've tried renaming the folder to "1" and corrected the .aup file to that name too, still doesnt want too "find" it

Found a way to recuperate all of it , but it will take alot of work.. better than redoing a 6hrs session!

I downloaded Concat from here http://www.jddesign.co.uk/products/concat/concat-s.htm, installed the program
Went into the d00 folder with all the .au files
Ordered them by modification date (oldest-to-newest)
Selected first one, shift-selected last one
Right-click and concat into e0.au
(rinse repeat for d01 and other .au files created from concat)
Open new audacity, import raw data from e0.au (join other eX.au files)
Find and remove all "clics" (very very very long) by selecting/deleting them
SAVE AND EXPORT TO WAV OFTEN SO YOU DONT GET BORKED AGAIN!

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

Re: After save, aup files contains incorrect filename for da

Post by kozikowski » Wed Nov 12, 2008 6:56 am

<<<rinse repeat >>>

Not only a celebrity, but a programmer. They're waiting for you over at Audacity Development.

That line is from an old programming joke. Never get your programming philosophy from a bottle of Head and Shoulders shampoo. Lather, Rinse, Repeat. There is no Halt, Stop, Exit, or Branch, so we assume you'll be lathering and rinsing until you die in the shower.

I wonder what you'd die from. Excessive hydration? Fatally clean hair? Terminal pruning?

Koz

steve
Site Admin
Posts: 80751
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: After save, aup files contains incorrect filename for da

Post by steve » Wed Nov 12, 2008 4:47 pm

fkewl wrote:Here is a part of the log.txt errors
20:42:49: Orphaned blockfile: (C:UsersHomeUserDocuments!PodcastEP19_datae00d00e0000005.au)
Audacity may be having problems with the "!" in the path name.
You should restrict all file names to alphanumeric characters, underscore and hyphen.

You may be able to retrieve the project (it's a long shot, but worth a try) by creating a folder:
C:UsersHomeUserDocumentsPodcastEP19_datae00d00
Copy all the files from:
C:UsersHomeUserDocuments!PodcastEP19_datae00d00
and change all references in the AUP file from "!Podcast" to "Podcast"
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

fkewl
Posts: 5
Joined: Mon Nov 10, 2008 9:49 pm
Operating System: Please select

Re: After save, aup files contains incorrect filename for da

Post by fkewl » Wed Nov 12, 2008 7:42 pm

I'll try that , but i changed my folder name from "Darren's Game" (it had an "illegal" character there too) to "!Podcast" only recently and my 12 other recordings worked ok

I'm more in mind that i did the following
-"saved as" my empty (no recordings done) project to get the right filename
-changed my default option (changed default stereo to mono, i always only record mono for our D&D sessions)
-recorded 6hrs sessions
-did "save"

I assume changing my default settings might have affected the save

So anyway, i already updated to 1.3.6 and will try out putting my files in C:Sessions instead.

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

Re: After save, aup files contains incorrect filename for da

Post by kozikowski » Thu Nov 13, 2008 12:25 am

Apparently I missed ranting about this. After a live capture, Export As WAV to get one single, stable, high quality sound file of the show. Audacity Save does not produce a sound file. It produces an Editing Production Environment (Project) with multiple, sometimes thousands of files. Projects are brittle and easily damaged. Few people (almost none) bring a damaged project back to life.

"My computer crashed and I need a way to string 56,742 "au" files together into a show. It's really important."

Koz

fkewl
Posts: 5
Joined: Mon Nov 10, 2008 9:49 pm
Operating System: Please select

Re: After save, aup files contains incorrect filename for da

Post by fkewl » Sat Nov 15, 2008 1:56 am

A simple CONCAT on the files does the trick.. you just need to put them in modification order.
The only thing is i get a screeching sound where the files are joined

Is there a solution for that?

fkewl
Posts: 5
Joined: Mon Nov 10, 2008 9:49 pm
Operating System: Please select

Re: After save, aup files contains incorrect filename for da

Post by fkewl » Sat Nov 15, 2008 1:59 am

So i changed everything to C:session (with appropriate _data subfolder) and i have recuperated my project !

Maybe upgrading to 1.3.6 did the trick too..

Locked