Error opening project

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
Soundman010
Posts: 4
Joined: Thu Dec 16, 2010 11:17 pm
Operating System: Please select

Error opening project

Post by Soundman010 » Fri Dec 17, 2010 12:40 am

Hey there ! I have a project that won't open. When I try the following message pops up:

Error: reference to invalid character number at line 13.

Help !! :p

Thanx !

billw58
Forum Staff
Posts: 5565
Joined: Wed Aug 12, 2009 2:10 am
Operating System: macOS 10.15 Catalina or later

Re: Error opening project

Post by billw58 » Fri Dec 17, 2010 1:31 am

Hello again!

Open the .aup file in TextEdit. Look for the section between <tags> and </tags>. It will look something like this:

Code: Select all

   <tags>
		<tag name="id3v2" value="1"/>
		<tag name="GENRE" value="Country"/>
		<tag name="ARTIST" value="Name of Artist"/>
		<tag name="TRACKNUMBER" value="12/14"/>
		<tag name="TITLE" value="Song Title"/>
		<tag name="YEAR" value="2008"/>
		<tag name="Encoded by" value="iTunes v7.6.2"/>
		<tag name="ALBUM" value="Name of Album"/>
		<tag name="COMMENTS" value="some kind of comment"/>
	</tags>
Somewhere in there is an "illegal" character. It will probably start with "#". Edit out anything that doesn't make sense, save without changing the extension, and all should be OK.

I believe this bug has been fixed in 1.3.12.

-- Bill

Soundman010
Posts: 4
Joined: Thu Dec 16, 2010 11:17 pm
Operating System: Please select

Re: Error opening project

Post by Soundman010 » Fri Dec 17, 2010 1:38 am

It worked !! Thx a lot !!

You don't wanna start over when you are almost done :P

Kal
Posts: 1
Joined: Mon Jan 10, 2011 8:19 pm
Operating System: Please select

Re: Error opening project

Post by Kal » Mon Jan 10, 2011 8:26 pm

billw58 wrote:
...snip

I believe this bug has been fixed in 1.3.12.

-- Bill
I am running 1.3.12 and I still get the same error. Fortunately editing out the invalid characters does work and allows me to open the project.

Kal

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

Re: Error opening project

Post by steve » Tue Jan 11, 2011 3:06 am

Kal wrote:I am running 1.3.12 and I still get the same error. Fortunately editing out the invalid characters does work and allows me to open the project.
As a matter of interest, what was the invalid character, and where was it? Was it in a file name or in part of the metadata (id3 tag)?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

laiia
Posts: 3
Joined: Tue Jan 25, 2011 10:50 pm
Operating System: Please select

Re: Error opening project

Post by laiia » Tue Jan 25, 2011 11:01 pm

I'm having the same problem... on line 6!!

Could somebody help me find the odd character?

laiia

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

Re: Error opening project

Post by steve » Tue Jan 25, 2011 11:24 pm

laiia wrote:I'm having the same problem... on line 6!!
Could you upload the .AUP file as an attachment to the forum.
You may need to change the file extension to .txt for the forum software to allow it. (Upload tab / button is below the message compose box)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

laiia
Posts: 3
Joined: Tue Jan 25, 2011 10:50 pm
Operating System: Please select

Re: Error opening project

Post by laiia » Wed Jan 26, 2011 3:44 am

Will be my pleasure!


<?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="sommetdemishow_data" version="1.3.0" audacityversion="1.3.12-beta" sel0="137.0416300429" sel1="137.0416300429" vpos="1776" h="132.9018665884" zoom="58.2158866434" rate="22050">
<tags>
<tag name="id3v2" value="1"/>
<tag name="Full Name" value="Piste 05&#x0002;"/>
<tag name="ALBUM" value="Cheer2011&#x001c;7&#x001b;"/>
</tags>
<wavetrack name="12 Piste 12 1" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" rate="44100" gain="1" pan="0">
<waveclip offset="60.39750567">
<sequence maxsamples="524288" sampleformat="131073" numsamples="553874">
<waveblock start="0">
<simpleblockfile filename="e000048a.au" len="276937" min="-0.990906" max="0.976593" rms="0.256986"/>
</waveblock>
<waveblock start="276937">
<simpleblockfile filename="e0000db4.au" len="276937" min="-0.990875" max="0.992371" rms="0.268627"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
</wavetrack>
<wavetrack name="12 Piste 12" channel="1" linked="0" mute="0" solo="0" height="150" minimized="0" rate="44100" gain="1" pan="0">
<waveclip offset="60.39750567">
<sequence maxsamples="524288" sampleformat="131073" numsamples="553874">
<waveblock start="0">
<simpleblockfile filename="e000053c.au" len="276937" min="-0.981232" max="0.994904" rms="0.260158"/>
</waveblock>
<waveblock start="276937">
<simpleblockfile filename="e0000e9b.au" len="276937" min="-0.983917" max="0.986298" rms="0.273285"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>

do you need the rest??
laiia

bgravato
Posts: 2080
Joined: Wed Jan 13, 2010 8:56 pm
Operating System: Please select

Re: Error opening project

Post by bgravato » Wed Jan 26, 2011 3:57 am

laiia wrote: <tag name="Full Name" value="Piste 05&#x0002;"/>
<tag name="ALBUM" value="Cheer2011&#x001c;7&#x001b;"/>
These are probably the lines that will cause you trouble...
Make a copy of the .aup file.
Open the .aup file in a text editor.
Remove characters such as '&' and '#'.
Save the file with the same extension (.aup).
Last edited by bgravato on Fri Apr 24, 2015 3:34 pm, edited 2 times in total.
Reason: typos
Include as much details as you can in your post (Audacity version, Operating System, Equipment used, etc).
Please post your question in the appropriate forum (regarding audacity version and operating system).

laiia
Posts: 3
Joined: Tue Jan 25, 2011 10:50 pm
Operating System: Please select

Re: Error opening project

Post by laiia » Wed Jan 26, 2011 11:37 am

thank you very much!! it worked really well!
laiia

Locked