Skip to content
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

Got an error while adding an artist #6

Closed
brannon-bowden opened this issue May 28, 2011 · 4 comments
Closed

Got an error while adding an artist #6

brannon-bowden opened this issue May 28, 2011 · 4 comments

Comments

@brannon-bowden
Copy link

Traceback (most recent call last):
File "C:\hp\cherrypy_cprequest.py", line 645, in respond
response.body = self.handler()
File "C:\hp\cherrypy\lib\encoding.py", line 188, in call
self.body = self.oldhandler(_args, *_kwargs)
File "C:\hp\cherrypy_cpdispatch.py", line 29, in call
return self.callable(_self.args, *_self.kwargs)
File "C:\hp\webServer.py", line 42, in index
if latestalbum[0][1] > datetime.date.isoformat(today):
IndexError: list index out of range

@brannon-bowden
Copy link
Author

Getting it for several pages now,

@rembo10
Copy link
Owner

rembo10 commented May 28, 2011

I can reproduce this if I add an artist that doesn't have any releases with release dates. Lemme work on this now and get a fix up within the next few minutes.

As for sorting the artists alphabetically - they definitely should be! Do you mean on the index page? How are they sorted now, just randomly?

On May 27, 2011, at 6:30 PM, Sytanek wrote:

Traceback (most recent call last):
File "C:\hp\cherrypy_cprequest.py", line 645, in respond
response.body = self.handler()
File "C:\hp\cherrypy\lib\encoding.py", line 188, in call
self.body = self.oldhandler(_args, *_kwargs)
File "C:\hp\cherrypy_cpdispatch.py", line 29, in call
return self.callable(_self.args, *_self.kwargs)
File "C:\hp\webServer.py", line 42, in index
if latestalbum[0][1] > datetime.date.isoformat(today):
IndexError: list index out of range

Reply to this email directly or view it on GitHub:
#6

@rembo10
Copy link
Owner

rembo10 commented May 28, 2011

fix is up

On May 27, 2011, at 6:30 PM, Sytanek wrote:

Traceback (most recent call last):
File "C:\hp\cherrypy_cprequest.py", line 645, in respond
response.body = self.handler()
File "C:\hp\cherrypy\lib\encoding.py", line 188, in call
self.body = self.oldhandler(_args, *_kwargs)
File "C:\hp\cherrypy_cpdispatch.py", line 29, in call
return self.callable(_self.args, *_self.kwargs)
File "C:\hp\webServer.py", line 42, in index
if latestalbum[0][1] > datetime.date.isoformat(today):
IndexError: list index out of range

Reply to this email directly or view it on GitHub:
#6

@brannon-bowden
Copy link
Author

Fix Works.

N3MIS15 pushed a commit to N3MIS15/headphones that referenced this issue Nov 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants