sureshvv / reviewboard

Automatically exported from code.google.com/p/reviewboard
0 stars 0 forks source link

After upgrade on trunk when trying to review all review Requests I get an IndexError #545

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
*NOTE: Do not post confidential information in this bug report.*
Environment:

Request Method: GETa
Request URL: http://hostname/r/
Django Version: 0.97-pre-SVN-unknown
Python Version: 2.4.3
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.markup',
 'django.contrib.sites',
 'django.contrib.sessions',
 'djblets.datagrid',
 'djblets.feedview',
 'djblets.util',
 'djblets.webapi',
 'reviewboard.accounts',
 'reviewboard.admin',
 'reviewboard.diffviewer',
 'reviewboard.iphone',
 'reviewboard.reports',
 'reviewboard.reviews',
 'reviewboard.scmtools',
 'reviewboard.webapi',
 'django_evolution']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware')

Traceback:
File ".../python2.4/site-packages/django/core/handlers/base.py" in get_response
  85.                 response = callback(request, *callback_args,
**callback_kwargs)
File ".../reviewboard-read-only/reviewboard/accounts/decorators.py" in _check
  23.             return login_required(view_func)(*args, **kwargs)
File "/.../reviewboard-read-only/reviewboard/djblets/auth/util.py" in
_checklogin
  45.             return view_func(request, *args, **kwargs)
File "...installs/reviewboard-read-only/reviewboard/reviews/views.py" in
all_review_requests
  135.     return datagrid.render_to_response(template_name)
File ".../reviewboard-read-only/reviewboard/djblets/datagrid/grids.py" in
render_to_response
  555.         self.load_state()
File ".../reviewboard-read-only/reviewboard/djblets/datagrid/grids.py" in
load_state
  446.         self.precompute_objects()
File ".../reviewboard-read-only/reviewboard/djblets/datagrid/grids.py" in
precompute_objects
  511.         for obj in self.page.object_list:
File ".../python2.4/site-packages/django/db/models/query.py" in _result_iter
  178.                 self._fill_cache()
File ".../python2.4/site-packages/django/db/models/query.py" in _fill_cache
  605.                     self._result_cache.append(self._iter.next())
File ".../python2.4/site-packages/django/db/models/query.py" in iterator
  273.                 obj = self.model(*row[index_start:])
File ".../python2.4/site-packages/django/db/models/base.py" in __init__
  184.             raise IndexError("Number of args exceeds number of fields")

Exception Type: IndexError at /r/
Exception Value: Number of args exceeds number of fields

What steps will reproduce the problem?
1. http://reviewboard.unixwebdev2.factset.com/r/
2.
3.

What is the expected output? What do you see instead?
A print out of the current reviews

What operating system are you using? What browser?
linux, firefox

Please provide any additional information below.

Original issue reported on code.google.com by posi...@gmail.com on 17 Jul 2008 at 7:35

GoogleCodeExporter commented 9 years ago
This is fixed please close out.

Original comment by posi...@gmail.com on 28 Jul 2008 at 2:11

GoogleCodeExporter commented 9 years ago

Original comment by trowb...@gmail.com on 28 Jul 2008 at 4:50