-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
503 Error when importing iTunes library #3
Comments
The 503 error is from the MusicBrainz server. I've been playing around with the 'sleep' setting in-between getting releases for an album but it still throws it up randomly no matter what I have it set to. I'll get in touch with them to see exactly how long to wait between each request - but I didn't want the process to take forever. I'll set it to queue each artist so you can keep on adding artists while the previous ones get |
sorry - while the previous ones get processed. |
with the sleep timer, I haven't had any problem. It is slow, but it gets done. |
Awesome - yeah once you click the 'Submit' button, the process runs in another thread so you don't actually have to wait for the page to load, you can click around, but it does take a while to update all the artist info, especially if you have a lot of artists. Basically 1-2 seconds per release, so it could be like a minute per artist. I gotta figure out how to speed this up. On May 26, 2011, at 4:11 PM, aaearon wrote:
|
Ubuntu with python 2.6.6
When adding importing my itunes library xml, I get this after a few seconds (this is with some artists already added through the import tool):
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "/home/tim/headphones/cherrypy/_cprequest.py", line 645, in respond
response.body = self.handler()
File "/home/tim/headphones/cherrypy/lib/encoding.py", line 188, in call
self.body = self.oldhandler(_args, *_kwargs)
File "/home/tim/headphones/cherrypy/_cpdispatch.py", line 29, in call
return self.callable(_self.args, *_self.kwargs)
File "/home/tim/headphones/webServer.py", line 319, in importItunes
itunesimport.itunesImport(path)
File "/home/tim/headphones/itunesimport.py", line 24, in itunesImport
artistResults = ws.Query().getArtists(ws.ArtistFilter(string.replace(name, '&', '%38'), limit=1))
File "/home/tim/headphones/musicbrainz2/webservice.py", line 991, in getArtists
result = self._getFromWebService('artist', '', filter=filter)
File "/home/tim/headphones/musicbrainz2/webservice.py", line 1179, in _getFromWebService
stream = self.ws.get(entity, id, includeParams, filterParams)
File "/home/tim/headphones/musicbrainz2/webservice.py", line 285, in get
raise WebServiceError(str(e), e)
WebServiceError: HTTP Error 503:
From console log:
[26/May/2011:12:56:44] HTTP Traceback (most recent call last):
File "/home/tim/headphones/cherrypy/_cprequest.py", line 645, in respond
response.body = self.handler()
File "/home/tim/headphones/cherrypy/lib/encoding.py", line 188, in call
self.body = self.oldhandler(_args, *_kwargs)
File "/home/tim/headphones/cherrypy/_cpdispatch.py", line 29, in call
return self.callable(_self.args, *_self.kwargs)
File "/home/tim/headphones/webServer.py", line 319, in importItunes
itunesimport.itunesImport(path)
File "/home/tim/headphones/itunesimport.py", line 24, in itunesImport
artistResults = ws.Query().getArtists(ws.ArtistFilter(string.replace(name, ' &', '%38'), limit=1))
File "/home/tim/headphones/musicbrainz2/webservice.py", line 991, in getArtist s
result = self._getFromWebService('artist', '', filter=filter)
File "/home/tim/headphones/musicbrainz2/webservice.py", line 1179, in _getFrom WebService
stream = self.ws.get(entity, id, includeParams, filterParams)
File "/home/tim/headphones/musicbrainz2/webservice.py", line 285, in get
raise WebServiceError(str(e), e)
WebServiceError: HTTP Error 503:
[26/May/2011:12:56:44] HTTP
Request Headers:
REFERER: http://bleh:8181/manage
HOST: bleh:8181
CONNECTION: keep-alive
Remote-Addr: 129.xxx.xxx.xxx
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
USER-AGENT: Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0. 1
ACCEPT-LANGUAGE: en-us,en;q=0.5
ACCEPT-ENCODING: gzip, deflate
KEEP-ALIVE: 115
129.xxx.xxx.xxx- - [26/May/2011:12:56:44] "GET /importItunes?path=%2Fhome%2Ftim% 2FiTunes+Music+Library.xml HTTP/1.1" 500 1946 "http://bleh.com:8181/manage" "Mo zilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1"
The text was updated successfully, but these errors were encountered: