First time here? Check out the FAQ!

Revision history  [back]

Internal Server Error: /question/245/test-message-please-ignore/
Traceback (most recent call last):
 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
   response = wrapped_callback(request, *callback_args, **callback_kwargs)
 File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
   response = view_func(request, *args, **kwargs)
 File "/usr/local/lib/python2.7/dist-packages/askbot/views/readers.py", line 536, in question
   user=request.user
 File "/usr/local/lib/python2.7/dist-packages/askbot/models/question.py", line 1150, in get_post_data_for_question_view
   post_data = self.get_cached_post_data(user=user, sort_method=sort_method)
 File "/usr/local/lib/python2.7/dist-packages/askbot/models/question.py", line 1235, in get_cached_post_data
   post_data = self.get_post_data(sort_method)
 File "/usr/local/lib/python2.7/dist-packages/askbot/models/question.py", line 1294, in get_post_data
   first_rev = post.get_earliest_revision()
 File "/usr/local/lib/python2.7/dist-packages/askbot/models/post.py", line 1601, in get_earliest_revision
   rev = self.revisions.order_by('revision')[0]
 File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 201, in __getitem__
   return list(qs)[0]
IndexError: list index out of range

I can re-create this error consistently by pasting the following into the body of the question and submitting:

Traceback (most recent call last):
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 139, in get_response
    response = response.render()
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/template/response.py", line 105, in render
    self.content = self.rendered_content
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/template/response.py", line 82, in rendered_content
    content = template.render(context)
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/template/base.py", line 140, in render
    return self._render(context)
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/template/base.py", line 134, in _render
    return self.nodelist.render(context)
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/template/base.py", line 840, in render
    bit = self.render_node(node, context)
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/template/base.py", line 854, in render_node
    return node.render(context)
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/templatetags/static.py", line 106, in render
    url = self.url(context)
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/contrib/staticfiles/templatetags/staticfiles.py", line 12, in url
    return staticfiles_storage.url(path)
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/contrib/staticfiles/storage.py", line 134, in url
    hashed_name = self.hashed_name(clean_name).replace('\\', '/')
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/contrib/staticfiles/storage.py", line 91, in hashed_name
    (clean_name, self))
ValueError: The file 'components/ginkgo-breeze/jquery/dist/jquery.min.js' could not be found with <django.contrib.staticfiles.storage.CachedStaticFilesStorage object at 0x555a350>.
Internal Server Error: /question/245/test-message-please-ignore/
Traceback (most recent call last):
 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
   response = wrapped_callback(request, *callback_args, **callback_kwargs)
 File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
   response = view_func(request, *args, **kwargs)
 File "/usr/local/lib/python2.7/dist-packages/askbot/views/readers.py", line 536, in question
   user=request.user
 File "/usr/local/lib/python2.7/dist-packages/askbot/models/question.py", line 1150, in get_post_data_for_question_view
   post_data = self.get_cached_post_data(user=user, sort_method=sort_method)
 File "/usr/local/lib/python2.7/dist-packages/askbot/models/question.py", line 1235, in get_cached_post_data
   post_data = self.get_post_data(sort_method)
 File "/usr/local/lib/python2.7/dist-packages/askbot/models/question.py", line 1294, in get_post_data
   first_rev = post.get_earliest_revision()
 File "/usr/local/lib/python2.7/dist-packages/askbot/models/post.py", line 1601, in get_earliest_revision
   rev = self.revisions.order_by('revision')[0]
 File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 201, in __getitem__
   return list(qs)[0]
IndexError: list index out of range

I can re-create this error consistently by pasting the following into the body of the question and submitting:

Traceback (most recent call last):
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 139, in get_response
    response = response.render()
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/template/response.py", line 105, in render
    self.content = self.rendered_content
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/template/response.py", line 82, in rendered_content
    content = template.render(context)
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/template/base.py", line 140, in render
    return self._render(context)
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/template/base.py", line 134, in _render
    return self.nodelist.render(context)
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/template/base.py", line 840, in render
    bit = self.render_node(node, context)
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/template/base.py", line 854, in render_node
    return node.render(context)
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/templatetags/static.py", line 106, in render
    url = self.url(context)
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/contrib/staticfiles/templatetags/staticfiles.py", line 12, in url
    return staticfiles_storage.url(path)
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/contrib/staticfiles/storage.py", line 134, in url
    hashed_name = self.hashed_name(clean_name).replace('\\', '/')
  File "/home/deploy/.virtualenvs/toolbox/local/lib/python2.7/site-packages/django/contrib/staticfiles/storage.py", line 91, in hashed_name
    (clean_name, self))
ValueError: The file 'components/ginkgo-breeze/jquery/dist/jquery.min.js' could not be found with <django.contrib.staticfiles.storage.CachedStaticFilesStorage object at 0x555a350>.