#2 Exception in thread


I downloaded the new MyPySpace, and tried the following command:

python musicGrabber.py -u "http://www.myspace.com/goremix" -v -d

but this was the result:

downloading media: yes, to ./MyspaceMusic/
also downloading starting artist
creating id3 tags for downloaded media: no
attempting to retrieve higher resolution audio: no
generating rdf: no
skipping artists already found on myrdfspace: no
Starting from artist MySpace.ClientContext.DisplayFriendId and traversing 1 edges away.
19.01.09 17:37:31 DEBUG scrapping friends of MySpace.ClientContext.DisplayFriendId...
19.01.09 17:37:31 DEBUG found 0 artists who are top friends of MySpace.ClientContext.DisplayFriendId
19.01.09 17:37:31 DEBUG current ID: MySpace.ClientContext.DisplayFriendId

At level 0 there are/is 1 artist(s) to scrap

2 threads running...
19.01.09 17:37:31 DEBUG There are 1 artist(s) remaining to be processed in level 0
Exception in thread Thread-1:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 522, in __bootstrap_inner
File "musicGrabber.py", line 229, in run
[self.actualResult, self.attemptedResult] = downloadSongs(self.currentID, self.dlpath, self.hires, self.id3tag, self.parentage, self.rdf)
File "/Users/claudiob/Desktop/musicGrabber0.1/myspaceMusicCrawler.py", line 64, in downloadSongs
xmlStruct = dom.parseString(''.join(xmlPage.readlines()))
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/dom/minidom.py", line 1928, in parseString
return expatbuilder.parseString(string)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/dom/expatbuilder.py", line 940, in parseString
return builder.parseString(string)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/dom/expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
ExpatError: no element found: line 1, column 0

19.01.09 17:37:32 DEBUG 1 threads remaining...
From 1 artists
downloaded 0 songs of 0 songs attempted.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks