Error opening project
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.
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.
-
kozikowski
- Forum Staff
- Posts: 69373
- Joined: Thu Aug 02, 2007 5:57 pm
- Operating System: macOS 10.13 High Sierra
Re: Error opening project
<<<I guess it should be something like <tag name="ARTIST" value="ARTIST"/>>>>
While I could well believe that is the correct structure of the XML, I can't believe 1.3.6 got this far without somebody noticing. I run 1.3.5 and several builds of 1.3.7 and I've never had any problems like that.
I wonder if this could trace its roots to that "Preserve Case" thing. Turns out OS-X likes to install itself filename upper case/lower case blind--like Windows. This is normal, but if you manage to have a machine that is fully UNIX compliant, all sorts of little gremlins crop up. Looking for "Audacity" and finding "audacity" which in this case is different.
Here, try this. Create a new folder called test. In TextEdit, create a file called audacity.txt and drag it into the test folder. Then create a new file called Audacity.txt (note the upper case) and see if it lets you drag that to the test folder. My machine complains bitterly when I try to do that, but a strict UNIX machine will allow it.
Koz
While I could well believe that is the correct structure of the XML, I can't believe 1.3.6 got this far without somebody noticing. I run 1.3.5 and several builds of 1.3.7 and I've never had any problems like that.
I wonder if this could trace its roots to that "Preserve Case" thing. Turns out OS-X likes to install itself filename upper case/lower case blind--like Windows. This is normal, but if you manage to have a machine that is fully UNIX compliant, all sorts of little gremlins crop up. Looking for "Audacity" and finding "audacity" which in this case is different.
Here, try this. Create a new folder called test. In TextEdit, create a file called audacity.txt and drag it into the test folder. Then create a new file called Audacity.txt (note the upper case) and see if it lets you drag that to the test folder. My machine complains bitterly when I try to do that, but a strict UNIX machine will allow it.
Koz
Re: Error opening project
I am new to Audacity but I have successfully converted two LPs to a project in Audacity and have cleaned up noise and pops. When I tried to open the project after having closed it I encountered the same problem that others have reported except that the error message I got said that "duplicate attribute is at line 2220" I read carefully all the posts concerning this problem. I have ample disk space. I have not tried your recommendations since they had not worked for others. I did not try the last post the one recommending creating a file in TextEdit since I did not understand it.
I have spent quite a bit of time converting these two LPs since I was learning Audacity. I think I understand the program and would like to use it to convert a sizable collection of LPs and 78s which are valuable to me. Please help.
Thanks,
bredikin
I have spent quite a bit of time converting these two LPs since I was learning Audacity. I think I understand the program and would like to use it to convert a sizable collection of LPs and 78s which are valuable to me. Please help.
Thanks,
bredikin
Re: Error opening project
This is interesting Steve. Do you still have this problem? If you do, then you can fix this particular .aup by changing second "name=" on the 7th line to "value=":Steve wrote:<?xml version="1.0" standalone="no" ?>
<!DOCTYPE project PUBLIC "-//audacityproject-1.3.0//DTD//EN" "http://audacityteam.org/xml/audacityproject-1.3.0.dtd" >
<project xmlns="http://audacityteam.org/xml/" projname="p test 134_data" version="1.3.0" audacityversion="1.3.6" sel0="3.5178231293" sel1="3.5178231293" vpos="0" h="0.0000000000" zoom="86.1328125000" rate="44100">
<tags>
<tag name="id3v2" value="1"/>
<tag name="GENRE" value="Voice Over"/>
<tag name="ARTIST" name="ARTIST"/>
<tag name="YEAR" value="2009"/>
</tags>
<wavetrack name="Audio Track" channel="2" linked="0" offset="0.00000000" rate="44100" gain="1" pan="0">
<waveclip offset="0.00000000">
<sequence maxsamples="262144" sampleformat="262145" numsamples="260096">
<waveblock start="0">
<simpleblockfile filename="e0000218.au" len="260096" min="-1" max="1" rms="0.041352"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
</wavetrack>
</project>
From this:
<tag name="ARTIST" name="ARTIST"/>
To this:
<tag name="ARTIST" value="ARTIST"/>
Leland
Re: Error opening project
This type of issue is much easier to spot if you have a text editor that displays line numbers (or with "word wrap" switched off).
Error: duplicate attribute at line 7
Error: duplicate attribute at line 7
Code: Select all
1 <?xml version="1.0" standalone="no" ?>
2 <!DOCTYPE project PUBLIC "-//audacityproject-1.3.0//DTD//EN"
"http://audacityteam.org/xml/audacityproject-1.3.0.dtd" >
3 <project xmlns="http://audacityteam.org/xml/" projname="p test
134_data" version="1.3.0"
audacityversion="1.3.6" sel0="3.5178231293" sel1="3.5178231293" vpos="0"
h="0.0000000000" zoom="86.1328125000" rate="44100">
4 <tags>
5 <tag name="id3v2" value="1"/>
6 <tag name="GENRE" value="Voice Over"/>
7 <tag name="ARTIST" name="ARTIST"/>
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: Error opening project
I reset to the 44100/16 bit, created a couple of files and that hasn't changed anything at all. Somehow, couldn't get in to the text file to change name to value. Perhaps I forgot how. But that's where the file becomes a QuikTime file, when I go deep enough into the backup folder. Every Audacity 1.3.6 file I create has this problem. Had to try another program called Twisted Wave, I like the simplicity and it has a lot of things I wish Audacity had; small things that make a big difference in efficiency. But I prefer Audacity for many reasons.
Any other ideas for me? I very much appreciate everyone's input.
Any other ideas for me? I very much appreciate everyone's input.
Re: Error opening project
The file that has the problem in it is the .AUP file (The Audacity Project File).Steve wrote:Somehow, couldn't get in to the text file to change name to value
There are two parts to Audacity Projects - there is the AUP file, and then there are lots of little data files. The data files have the file extension .AU but they are NOT QuickTime files.
The AUP file can be edited in any text editor. Normally you would not do so as you can destroy the project if you get something wrong, but in a case such as "Error: duplicate attribute at line 7" a simple edit to the AUP file is all that is required to fix the problem.
When you choose "Save" from the Audacity File menu, Audacity will save the Audacity Project, it does NOT create an audio file.
To get an audio file out of Audacity you must "Export" the audio (as an MP3 or WAV or whatever).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: Error opening project
Thanks- I had the error opening project on one file of a couple of days of recording. All the other files were OK. I fixed it by following your advice, and dropping the *.aup file onto the Mac textedit icon. In that text file, I noticed that I had initially misspelled the filename and in the text file of the *.aup file was the initial incorrect spelling. The actual file had the correct spelling, so the *.aup could not find it. I corrected the spelling, saved the *.aup file, and now it works fine. Whew! Could not have replaced that. Great instructions.
Re: Error opening project
I wrote back in January that I was getting Error: duplicate attribute at line 11. I finally got back here and read some posted solutions. I opened the .aup file in text editor and deleted line 11 and everything seems to be great now. Piece of cake. BTW I was only having the problem with that one file not any others that I was working on.
Thanks for the help
Thanks for the help
Re: Error opening project
whew, I found this thread.
I just wanted to say that I too have had this happen to me
"Error: duplicate attribute at line 7"
Audacity 1.3.7 on an IMac with plenty of disk space, ram etc.
10.5.6
I can open stuff saved in 1.2.5 and then save it and open it in 1.3.7 (almost like a front end) butI cannot save a new project in 1.3.7 and then reopen it in 1.3.7 ....ever.
I tried the text edit solution and it seems to work the one time I tried it. There were a few "lines " that had name and name > so I'd change the second instance of "name " to "value" in each instance.
Its a shame because both workarounds (using two versions of one program , or text editing each saved file) are very cumbersome , time consuming and inelegant. Other than that, I love the program
I just wanted to say that I too have had this happen to me
"Error: duplicate attribute at line 7"
Audacity 1.3.7 on an IMac with plenty of disk space, ram etc.
10.5.6
I can open stuff saved in 1.2.5 and then save it and open it in 1.3.7 (almost like a front end) butI cannot save a new project in 1.3.7 and then reopen it in 1.3.7 ....ever.
I tried the text edit solution and it seems to work the one time I tried it. There were a few "lines " that had name and name > so I'd change the second instance of "name " to "value" in each instance.
Its a shame because both workarounds (using two versions of one program , or text editing each saved file) are very cumbersome , time consuming and inelegant. Other than that, I love the program
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Error opening project
Hi Qwerty Thanks for the MP3 you sent - when we imported it into Audacity on Windows and Mac in 1.3.7 and 1.3.8 we could not reproduce the problem.
Has this occurred again for anyone, and does anyone have any other MP3 files that seem to reproduce the issue, or projects at different stages that were correct at one stage, but then developed the duplicate attribute error?
Is it as simple as importing the MP3 into an empty project window then saving the project, or does the project already have to exist before the MP3 is imported?
Thanks
Gale
Has this occurred again for anyone, and does anyone have any other MP3 files that seem to reproduce the issue, or projects at different stages that were correct at one stage, but then developed the duplicate attribute error?
Is it as simple as importing the MP3 into an empty project window then saving the project, or does the project already have to exist before the MP3 is imported?
Thanks
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual