Help--Error: duplicate attribute at line 21

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.
Post Reply
chakram5
Posts: 4
Joined: Thu Jul 12, 2012 12:42 am
Operating System: Please select

Help--Error: duplicate attribute at line 21

Post by chakram5 » Thu Jul 12, 2012 12:53 am

Hi--I'm making a montage of song clips for a wedding. I had 6 song clips and saved my project--there was no crash that I am aware of. Today when I tried to open up my .aup file to continue workin on it, I received the following error message: "Error: Error: duplicate attribute at line 21"
My file will not open and I do not know what this error means or how to open my file. Please advise!

I am using Mac OS X version 10.5.8
I am using Audacity version 2.0.1

PS. I've attached the file in quesiton.
Attachments
gMontage.aup
Wedding Song Clip Montage
(21.62 KiB) Downloaded 113 times
Last edited by chakram5 on Sun Jul 15, 2012 3:19 pm, edited 1 time in total.

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

Re: Help--Error: duplicate attribute at line 21

Post by steve » Thu Jul 12, 2012 1:10 am

Could you upload the .AUP file with your reply. (see the "Upload attachment" tab below the message composing box)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

chakram5
Posts: 4
Joined: Thu Jul 12, 2012 12:42 am
Operating System: Please select

Re: Help--Error: duplicate attribute at line 21

Post by chakram5 » Thu Jul 26, 2012 8:02 pm

Done.

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

Re: Help--Error: duplicate attribute at line 21

Post by Gale Andrews » Fri Jul 27, 2012 2:26 am

To fix a problem like this you can make a copy of the .aup for safety, then open the original .aup file in a text editor.

On Mac you may need to drag the text editor window wide so that there is no text wrapping to the next line.

Now look at the line in the error (21):

Code: Select all

<tag name="Copyright" name="Copyright"/>
Each tag name has to be accompanied by a value (not a second "name").

So in the attached corrected .aup I have changed line 21 to:

Code: Select all

<tag name="Copyright" value="Copyright"/>
How did the .aup get like that? Did you edit the .aup, or add metadata using File > Open Metadata Editor...?

If you imported an audio file we ought to look at the file to make sure Audacity is handling the metadata safely.



Gale
Attachments
gMontage.aup
Fixed
(21.62 KiB) Downloaded 111 times
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply