Duplicate attribute in edited project file?

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
tnelson
Posts: 6
Joined: Mon Oct 06, 2008 12:55 pm
Operating System: Please select

Duplicate attribute in edited project file?

Post by tnelson » Mon Oct 06, 2008 1:28 pm

Operating system: OSX 10.5.4
Hardware: MacBook Pro 2.6 GHz, Echo AudioFire4 interface
Audacity version 1.3.5

I’ve been converting some vinyl with the above system, without any issues until now.
Yesterday, when I attempted to reopen a project file I had edited with some click removal and track labeling, saved, and closed, I got the following message:

Error Opening Project
Duplicate attribute Line 2503

I was unable to open the project in Audacity. Is this something I can repair in the .aup file?
If so, how?
Any idea what caused this?

Many thanks,
Tim

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

Re: Duplicate attribute in edited project file?

Post by steve » Mon Oct 06, 2008 2:20 pm

You need to be very careful editing .aup files manually - it's very easy to completely mess them up. However, the project doesn't work now, so what is there to loose?

It's quite safe to have a look in the aup file, just open it in a text editor.
Do you have a text editor that can display line numbers?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

tnelson
Posts: 6
Joined: Mon Oct 06, 2008 12:55 pm
Operating System: Please select

Re: Duplicate attribute in edited project file?

Post by tnelson » Mon Oct 06, 2008 2:42 pm

Steve,
Will TextEdit work? I don't have the files on this machine, so can't check.
Which editors do you have in mind?

Thanks,
Tim

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

Re: Duplicate attribute in edited project file?

Post by steve » Mon Oct 06, 2008 6:32 pm

tnelson wrote:Will TextEdit work? I don't have the files on this machine, so can't check.
Which editors do you have in mind?
I guess it will, but I'm a Linux user (ex Windows user), but not Mac.

I'd use G-Edit or Scite, but that's on Linux.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

tnelson
Posts: 6
Joined: Mon Oct 06, 2008 12:55 pm
Operating System: Please select

Re: Duplicate attribute in edited project file?

Post by tnelson » Mon Oct 06, 2008 6:42 pm

OK, viewing the aup file by line number, what should I look for at the indicated number, and how can I edit to fix it?
Thanks,
Tim

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

Re: Duplicate attribute in edited project file?

Post by steve » Mon Oct 06, 2008 7:09 pm

Heck I don't know, I let Audacity do all that clever stuff :D

If you make a copy of the file and post it as an attachment I'll have a look. (you may need to change the file extension to .txt for the forum software to accept it).

I'm certainly not making any promises here - this is a very grey area.

In the mean time, have a look here to see if anything helps: http://audacityteam.org/wiki/index.php? ... shRecovery
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

tnelson
Posts: 6
Joined: Mon Oct 06, 2008 12:55 pm
Operating System: Please select

Re: Duplicate attribute in edited project file?

Post by tnelson » Mon Oct 06, 2008 8:34 pm

I corrected the duplicate attribute using a line editor. It was a track end location duplicated instead of track title entered. Now Audacity opens the aup file and reveals multiple orphan data files and corruptions. Audacity Unstable indeed.... The file recovery procedures on the wiki look like more time and trouble than just redoing the project in this case. Thanks for your suggestions, however.
Tim

Locked