Comment #10 on issue 1526 by tognio...@gmail.com: AttributeError: 'DashboardDataGrid' object has no attribute 'id_list'
http://code.google.com/p/reviewboard/issues/detail?id=1526

For the record, I get this occasionally too. Haven't been able to determine who was using the server when the error happened or what he was doing.

Traceback (most recent call last):

File "C:\Python25\lib\site-packages\django-1.2.3-py2.5.egg\django\core\handlers\base.py",
line 100, in get_response
  response = callback(request, *callback_args, **callback_kwargs)

File "C:\Python25\lib\site-packages\djblets-0.6.6-py2.5.egg\djblets\auth\util.py",
line 46, in _checklogin
  return view_func(request, *args, **kwargs)

File "C:\Python25\lib\site-packages\reviewboard-1.5.1-py2.5.egg\reviewboard\accounts\decorators.py",
line 46, in _check_valid_prefs
  return view_func(request, *args, **kwargs)

File "C:\Python25\lib\site-packages\reviewboard-1.5.1-py2.5.egg\reviewboard\reviews\views.py",
line 330, in dashboard
  return grid.render_to_response(template_name)

File "C:\Python25\lib\site-packages\djblets-0.6.6-py2.5.egg\djblets\datagrid\grids.py",
line 700, in render_to_response
  self.load_state()

File "C:\Python25\lib\site-packages\djblets-0.6.6-py2.5.egg\djblets\datagrid\grids.py",
line 535, in load_state
  self.precompute_objects()

File "C:\Python25\lib\site-packages\djblets-0.6.6-py2.5.egg\djblets\datagrid\grids.py",
line 611, in precompute_objects
  pk__in=self.id_list).order_by())

File "C:\Python25\lib\site-packages\reviewboard-1.5.1-py2.5.egg\reviewboard\reviews\datagrids.py",
line 438, in post_process_queryset
  queryset.with_counts(self.request.user))

File "C:\Python25\lib\site-packages\djblets-0.6.6-py2.5.egg\djblets\datagrid\grids.py",
line 654, in post_process_queryset
  queryset = column.augment_queryset(queryset)

File "C:\Python25\lib\site-packages\reviewboard-1.5.1-py2.5.egg\reviewboard\reviews\datagrids.py",
line 83, in augment_queryset
  pk__in=self.datagrid.id_list).values_list('pk', flat=True)

AttributeError: 'DashboardDataGrid' object has no attribute 'id_list'


<ModPythonRequest
path:/dashboard/,
GET:<QueryDict: {u'view': [u'outgoing']}>,
POST:<QueryDict: {}>,
COOKIES:{'rbsessionid': 'c307d37908b2901bbd2e42e4b714ce9b'},
META:{'AUTH_TYPE': None,
 'CONTENT_LENGTH': 0,
 'CONTENT_TYPE': None,
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT':
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
 'HTTP_ACCEPT_LANGUAGE': 'pt-br,pt;q=0.8,en-us;q=0.5,en;q=0.3',
 'HTTP_CACHE_CONTROL': 'max-age=0',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'rbsessionid=c307d37908b2901bbd2e42e4b714ce9b',
 'HTTP_HOST': 'myserver2:8080',
 'HTTP_KEEP_ALIVE': '115',
 'HTTP_REFERER': 'http://myserver2:8080/dashboard/?view=outgoing',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR;
rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8',
 'PATH_INFO': u'/dashboard/',
 'PATH_TRANSLATED': None,
 'QUERY_STRING': 'view=outgoing',
 'REMOTE_ADDR': '172.16.44.45',
 'REMOTE_HOST': None,
 'REMOTE_IDENT': None,
 'REMOTE_USER': None,
 'REQUEST_METHOD': 'GET',
 'SCRIPT_NAME': '',
 'SERVER_NAME': 'myserver2',
 'SERVER_PORT': 8080,
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SOFTWARE': 'mod_python'}>.

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to