Error: reference to invalid character at line 10[SOLVED]

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help 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.
goldenbear
Posts: 14
Joined: Tue May 07, 2013 9:42 pm
Operating System: Please select

Error: reference to invalid character at line 10[SOLVED]

Post by goldenbear » Tue May 07, 2013 9:46 pm

Hi,

I am a student trying to complete my final project due in at the end of the week and I now can't open one of my files. I have found the offender but do not know enough about codes and metadata to fix the problem. PLEASE HELPPPPPP!!!!!!

Code: Select all

<?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="Scene 2_data" version="1.3.0" audacityversion="1.3.12-beta" sel0="87.6915107767" sel1="87.6915107767" vpos="0" h="47.9204634976" zoom="14.6075381770" rate="48000">
	<tags>
		<tag name="id3v2" value="1"/>
		<tag name="GENRE" value="SFX - Household; Bottle Cork Pops Clinks"/>
		<tag name="ARTIST" value="Download Sound Effects - SoundDogs - SoundStorm Library"/>
		<tag name="Copyright message" value="(c) 2010 Sounddogs.com, All Rights Reserved"/>
		<tag name="TRACKNUMBER" value="0"/>
		<tag name="TITLE" value="èuÌ&#x0003;d Effects - Foley - Uncork Wine Bottle Routine - Int - CU - Cork Pop."/>
		<tag name="YEAR" value="2003"/>
		<tag name="ALBUM" value="http://www.Sounddogs.com"/>
		<tag name="COMMENTS" value="Royalty Free Sound Effects - Sounddogs.com"/>
	</tags>
	<wavetrack name="Scene 2 Take 3 1" channel="0" linked="1" mute="0" solo="0" height="69" minimized="0" rate="48000" gain="1" pan="0">
		<waveclip offset="2.41276050">
			<sequence maxsamples="262144" sampleformat="262159" numsamples="827260">
				<waveblock start="0">
					<simpleblockfile filename="e000034c.au" len="63554" min="-0.129484" 

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

Re: Error: reference to invalid character number at line 10

Post by steve » Tue May 07, 2013 10:10 pm

First: make a backup copy of the .AUP file (just in case ;))

Try changing line 10 from:

Code: Select all

      <tag name="TITLE" value="èuÌ&#x0003;d Effects - Foley - Uncork Wine Bottle Routine - Int - CU - Cork Pop."/>
To:

Code: Select all

      <tag name="TITLE" value="Effects - Foley - Uncork Wine Bottle Routine - Int - CU - Cork Pop."/>
Only use a plain text editor (such as NotePad or NotePad++) and not a word processor.
Take care that the name file extension are not changed when you save the edited file.

Also, check that you are using the latest version of Audacity (currently 2.0.3 http://audacityteam.org/download/)
You can check the version number of your current installation by looking in "Help menu > About Audacity".
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

goldenbear
Posts: 14
Joined: Tue May 07, 2013 9:42 pm
Operating System: Please select

Re: Error: reference to invalid character number at line 10

Post by goldenbear » Tue May 07, 2013 10:16 pm

Thanks for the reply.

Just tried that and it didn't work (with and without word rap) as I say I don't really have much knowledge when it comes to this sort of thing.

Thanks.

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

Re: Error: reference to invalid character number at line 10

Post by steve » Tue May 07, 2013 10:19 pm

Did you check your Audacity version?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

goldenbear
Posts: 14
Joined: Tue May 07, 2013 9:42 pm
Operating System: Please select

Re: Error: reference to invalid character number at line 10

Post by goldenbear » Wed May 08, 2013 9:29 am

My audacity is 2.0.3 I also have 1.3 which is the best one to use?

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

Re: Error: reference to invalid character number at line 10

Post by steve » Wed May 08, 2013 10:43 am

goldenbear wrote:My audacity is 2.0.3 I also have 1.3 which is the best one to use?
2.0.3

Try taking out everything that is between the quotes in line 10, so that you have:

Code: Select all

      <tag name="TITLE" value=""/>
Select the entire line, delete it, and copy/paste the above line in its place.

The problem is that there are some invalid characters in the metadata, which you may or may not be able to see on your computer (depending on what character set support you have).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

goldenbear
Posts: 14
Joined: Tue May 07, 2013 9:42 pm
Operating System: Please select

Re: Error: reference to invalid character number at line 10

Post by goldenbear » Wed May 08, 2013 11:08 am

I tried this again and I couldn't get it to work. Every time I try to open in Audacity a message comes up saying "Audacity did not recognize the type of file..." Are there any other things I can try? Also does 'Word Wrap' effect the .aup file?

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

Re: Error: reference to invalid character number at line 10

Post by steve » Wed May 08, 2013 12:08 pm

goldenbear wrote:Also does 'Word Wrap' effect the .aup file?
That depends on what program you are using for editing.
You MUST use a plain text editor (such as NotePad or NotePad++). Word processors (such as "Word", "Write", "Open Office", "WordStar"....) will mess up the file.

Word wrap in NotePad and NotePad++ only affects the display and does not change the file contents.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

goldenbear
Posts: 14
Joined: Tue May 07, 2013 9:42 pm
Operating System: Please select

Re: Error: reference to invalid character number at line 10

Post by goldenbear » Wed May 08, 2013 2:06 pm

I am using Notepad. I tried it again and still can't seem to get it to work.

Cheers

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

Re: Error: reference to invalid character number at line 10

Post by steve » Wed May 08, 2013 2:13 pm

What error message are you getting now?
Could you attach your backup copy of the .AUP file to your reply.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Locked