Issue 83 in echo-nest-remix: Mac OS X 10.6 earworm.py returns "SyntaxError: mismatched tag: line 6, column 2"

39 views
Skip to first unread message

echo-ne...@googlecode.com

unread,
May 8, 2012, 10:53:08 PM5/8/12
to remi...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 83 by scott.te...@gmail.com: Mac OS X 10.6 earworm.py
returns "SyntaxError: mismatched tag: line 6, column 2"
http://code.google.com/p/echo-nest-remix/issues/detail?id=83

earworm.py will no longer process any MP3 file I give it, after I've
upgraded from Mac OS X 10.6.5 to 10.6.8. It returns the error "SyntaxError:
mismatched tag: line 6, column 2".

I've tried earworm.py in the version 1.4 (python 2.6) package as well as an
older 1.3a (python 2.6) package and both return the same error.

What steps will reproduce the problem?
1. Start up my Macbook Pro running OS X 10.6.8
2. Install latest Echo Nest Remix API for Mac OS X 10.6, version 1.4
3. Open Terminal and run export ECHO_NEST_API_KEY="XXXXXXXXXXXXXXXXX" (with
my key)
4. Run earworm.py on an MP3 file and watch it fail!
5. Here is a transcript of the output:

> export ECHO_NEST_API_KEY="XXXXXXXXXXXXXXXXX"
> python /usr/local/share/echo-nest-remix-examples/earworm/earworm.py -d
> 900 Baila_Me2.mp3
Traceback (most recent call last):
File "/usr/local/share/echo-nest-remix-examples2/earworm/earworm.py",
line 562, in <module>
main()
File "/usr/local/share/echo-nest-remix-examples2/earworm/earworm.py",
line 533, in main
track = LocalAudioFile(args[0], verbose=verbose)
File "/Library/Python/2.6/site-packages/echonest/audio.py", line 792, in
__init__
tempanalysis = AudioAnalysis(trackID)
File "/Library/Python/2.6/site-packages/echonest/audio.py", line 91, in
__init__
super(AudioAnalysis, self).__init__(audio)
File "/Library/Python/2.6/site-packages/pyechonest/track.py", line 51, in
__init__
self.params = {'id':
self.identifier, 'analysis_version':config.ANALYSIS_VERSION }
File "/Library/Python/2.6/site-packages/pyechonest/track.py", line 236,
in identifier
self._identifier = self.metadata.get('id')
File "/Library/Python/2.6/site-packages/pyechonest/track.py", line 165,
in metadata
tree = util.call('get_metadata', params)
File "/Library/Python/2.6/site-packages/pyechonest/util.py", line 57, in
call
response = fromstring(f.read())
File "<string>", line 85, in XML
SyntaxError: mismatched tag: line 6, column 2

Is there any way I can help get earworm.py to work again on OS X?

echo-ne...@googlecode.com

unread,
May 9, 2012, 1:07:47 PM5/9/12
to remi...@googlegroups.com

Comment #1 on issue 83 by scott.te...@gmail.com: Mac OS X 10.6 earworm.py
returns "SyntaxError: mismatched tag: line 6, column 2"
http://code.google.com/p/echo-nest-remix/issues/detail?id=83

Actually I must have been running Mac OS X 10.6.3 or 10.6.4 the last time I
was able to use earworm.py successfully, in late August 2010 (that was Echo
Nest version 1.3a).

echo-ne...@googlecode.com

unread,
Sep 11, 2012, 8:06:37 PM9/11/12
to remi...@googlegroups.com

Comment #2 on issue 83 by scott.te...@gmail.com: Mac OS X 10.6 earworm.py
returns "SyntaxError: mismatched tag: line 6, column 2"
http://code.google.com/p/echo-nest-remix/issues/detail?id=83

Any hope of getting earworm.py fixed someday to work with newer versions of
Mac OS X?

Scott

echo-ne...@googlecode.com

unread,
Sep 12, 2012, 12:14:16 PM9/12/12
to remi...@googlegroups.com

Comment #3 on issue 83 by tje...@gmail.com: Mac OS X 10.6 earworm.py
returns "SyntaxError: mismatched tag: line 6, column 2"
http://code.google.com/p/echo-nest-remix/issues/detail?id=83

It's been working for me... But hold tight as we are updating some of that
stuff as we speak. Then let's see what's still broken for you.

echo-ne...@googlecode.com

unread,
Sep 12, 2012, 12:20:49 PM9/12/12
to remi...@googlegroups.com

Comment #4 on issue 83 by scott.te...@gmail.com: Mac OS X 10.6 earworm.py
returns "SyntaxError: mismatched tag: line 6, column 2"
http://code.google.com/p/echo-nest-remix/issues/detail?id=83

Excellent! Looking forward to having fun with this great app again!

Scott

Reply all
Reply to author
Forward
0 new messages