HELP!!! Invalid Character at Line 7 Error

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
camper2207
Posts: 1
Joined: Mon Apr 19, 2010 3:28 am
Operating System: Please select

HELP!!! Invalid Character at Line 7 Error

Post by camper2207 » Mon Apr 19, 2010 3:35 am

Hey everyone,

So I've always used Audacity and NEVER had a problem with it. But while I was trying to reopen a project (titled: Briseis VO.aup) I get the "Invalid character at line 7" error. My other projects, named similarly, all open just fine, and from the posts I've read about similar subjects, the problem lies within the txt of the project. One poster mentioned copying the first few lines of text (at least past the 7th, where the error exists) and someone should be able to point out the problem for me. I don't want to have to re-record the VO as my actor lives over a half-hour away and the project is due at the end of the week. Let me know if this is possible to correct. Thanks!

<?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="Briseis VO_data" version="1.3.0" audacityversion="1.3.9" sel0="0.0000000000" sel1="0.0000000000" vpos="0" h="0.0000000000" zoom="26.9205159912" rate="44100">
<tags>
<tag name="id3v2" value="1"/>
<tag name="ARTIST" value="Harry Gregson-Williams & London Session OrchestraD099032D92"/>
<tag name="Full Name" value="Light Of Live (Ibelin Reprise)&#x0002;"/>
<tag name="Author" value="Harry Gregson-Williams"/>
<tag name="ALBUM" value="Kingdom Of Heaven"/>
</tags>
<wavetrack name="Audio Track" channel="0" linked="1" mute="0" solo="0" height="61" minimized="0" rate="44100" gain="2.511886" pan="0">
<waveclip offset="11.95873016">
<sequence maxsamples="262144" sampleformat="262159" numsamples="4653056">
<waveblock start="0">
<simpleblockfile filename="e0000435.au" len="157696" min="-0.438962" max="0.371685" rms="0.053838"/>
</waveblock>
<waveblock start="157696">
<simpleblockfile filename="e0000950.au" len="259584" min="-0.579832" max="0.479165" rms="0.065555"/>
</waveblock>
<waveblock start="417280">
<simpleblockfile filename="e0000d8d.au" len="253952" min="-0.466477" max="0.43636" rms="0.052979"/>
</waveblock>
<waveblock start="671232">
<simpleblockfile filename="e0000a33.au" len="232960" min="-0.579832" max="0.385929" rms="0.058448"/>
</waveblock>
<waveblock start="904192">
<simpleblockfile filename="e0000cee.au" len="159232" min="-0.579832" max="0.579814" rms="0.072382"/>
</waveblock>
<waveblock start="1063424">
<simpleblockfile filename="e0000d93.au" len="185856" min="-0.579832" max="0.357971" rms="0.06573"/>
</waveblock>
<waveblock start="1249280">
<simpleblockfile

Hopefully that's enough lines, let me know if there's more needed.

kozikowski
Forum Staff
Posts: 69384
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: HELP!!! Invalid Character at Line 7 Error

Post by kozikowski » Mon Apr 19, 2010 4:27 am

Not as easy as you think because of an editor's insistence on folding the lines that are too long. A real project looks something more like this...

http://kozco.com/tech/audacity/aup1.jpg

So you may be five rows down from the top, but you're still on line one.

I'd pick this one because it's full of evil characters that aren't welcome inside filenames and could cause problems here, too.

<tag name="Full Name" value="Light Of Live (Ibelin Reprise)&#x0002;"/>

You're also fighting TextEdit which will not show you evil characters.

I can think of ways around that, but they all involve hard to use programs like "vi."

Koz

bgravato
Posts: 2098
Joined: Wed Jan 13, 2010 8:56 pm
Operating System: Linux Debian

Re: HELP!!! Invalid Character at Line 7 Error

Post by bgravato » Mon Apr 19, 2010 2:53 pm

kozikowski wrote:Not as easy as you think because of an editor's insistence on folding the lines that are too long. A real project looks something more like this...

http://kozco.com/tech/audacity/aup1.jpg

So you may be five rows down from the top, but you're still on line one.

I'd pick this one because it's full of evil characters that aren't welcome inside filenames and could cause problems here, too.

<tag name="Full Name" value="Light Of Live (Ibelin Reprise)&#x0002;"/>

You're also fighting TextEdit which will not show you evil characters.

I can think of ways around that, but they all involve hard to use programs like "vi."

Koz
I'm glad you said vi and not emacs :P

I also believe that line is probably the one giving problems... (and I counted it as line 7 so that's probably it)
Avoid using non-alphanumeric characters in the future...

TextEdit is probably not the best option for editing the file, I (obviously :P) use MacVim on the mac, but I'm sure there are plenty of other nice text editors for mac that are more user-friendly for the normal user :)
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).

bgravato
Posts: 2098
Joined: Wed Jan 13, 2010 8:56 pm
Operating System: Linux Debian

Re: HELP!!! Invalid Character at Line 7 Error

Post by bgravato » Mon Apr 19, 2010 3:12 pm

On a quick search on macupdate I found this editor called "Fraise" that seems very simple and straightforward... and it shows the line numbers on the left:
http://www.macupdate.com/info.php/id/33751/fraise

There's also this "TextWrangler" that seems to be more powerful but I think it lacks Fraise's simplicity:
http://www.macupdate.com/info.php/id/11009/textwrangler

(and, of course, always make a backup copy of the file before editing it... you know... just in case ;))
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).

bgravato
Posts: 2098
Joined: Wed Jan 13, 2010 8:56 pm
Operating System: Linux Debian

Re: HELP!!! Invalid Character at Line 7 Error

Post by bgravato » Tue Apr 20, 2010 5:11 pm

I just got a notification of a new macos-x update a few minutes ago...

Release notes here: http://support.apple.com/kb/HT4014

Where you can read this:
Rosetta fixes provided for:

an issue that prevented files with the # or & characters in their names from opening in Rosetta applications.
I wonder if this might be related to this problem...
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).

Locked