Reference to invalid charachter number line 11

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
gioia.forti
Posts: 3
Joined: Wed Feb 29, 2012 7:24 pm
Operating System: Please select

Reference to invalid charachter number line 11

Post by gioia.forti » Wed Feb 29, 2012 7:31 pm

Please help me, I can't open a saved project. When I try to open the .aup file (named: HAPPY MOMENT.aup), the system indicates error message: Reference to invalid charachter number line 11. I have installed Audacity ® 1.3.12-beta (Unicode) on a Mac OS X 10.6.8. Please help me.

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

Re: Reference to invalid charachter number line 11

Post by billw58 » Wed Feb 29, 2012 11:08 pm

Please open the AUP file in TextEdit. Copy the first 20 lines or so and post them to a message in this thread.

-- Bill

gioia.forti
Posts: 3
Joined: Wed Feb 29, 2012 7:24 pm
Operating System: Please select

Re: Reference to invalid charachter number line 11

Post by gioia.forti » Wed Feb 29, 2012 11:44 pm

Hi Bill... Here below the lines:

<?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="HAPPY MOMENT_data" version="1.3.0" audacityversion="1.3.12-beta" sel0="1781.8064399093" sel1="1781.8064399093" vpos="0" h="0.0000000000" zoom="0.6729125977" rate="44100">
<tags>
<tag name="id3v2" value="0"/>
<tag name="GENRE" value="Electronic"/>
<tag name="ARTIST" value="Røyksopp"/>
<tag name="TITLE" value="Circuit Breaker"/>
<tag name="YEAR" value="2005"/>
<tag name="Copyright" value="℗ 2000 The copyright in this compilation is owned by EMI Records Ltd0/d0c"/>
<tag name="ALBUM" value="The Best of Blur&#x0006;"/>
<tag name="COMMENTS" value="PARASiTE"/>
</tags>
<wavetrack name="HAPPY MOMENT 1" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" rate="44100" gain="1" pan="0">
<waveclip offset="0.00000000">
<sequence maxsamples="524288" sampleformat="131073"

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

Re: Reference to invalid charachter number line 11

Post by Gale Andrews » Thu Mar 01, 2012 2:22 am

Audacity cannot handle control characters safely in project files.

Make a backup copy of the .aup file then remove the &#x0006; by changing

Code: Select all

<tag name="ALBUM" value="The Best of Blur&#x0006;"/>
to

Code: Select all

<tag name="ALBUM" value="The Best of Blur"/>
Then please upgrade to 1.3.14. If you come across a file with control characters again it should not be a problem in that version.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

gioia.forti
Posts: 3
Joined: Wed Feb 29, 2012 7:24 pm
Operating System: Please select

Re: Reference to invalid charachter number line 11

Post by gioia.forti » Thu Mar 01, 2012 7:12 am

Done, but now when I try to open there is another error: not well-formed (invalid token) line 12.

It's incredible, I've worked on this project for three days opening and closing many times the .aup. No errors before yesterday.

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

Re: Reference to invalid charachter number line 11

Post by billw58 » Thu Mar 01, 2012 3:55 pm

It is possible that you accidentally deleted the closing quote character in line 11.

Again, open the .aup file as Gale instructed. Delete everything between and including "<tags>" and "</tags>" and save it.

Upgrade to 1.3.14 - as Gale noted, it handles control characters better than previous versions.

-- Bill

Locked