Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1526 by p...@swooby.com: AttributeError: 'DashboardDataGrid' object has no attribute 'id_list'
http://code.google.com/p/reviewboard/issues/detail?id=1526

This morning at 6:11am I received a "[Django] Error (EXTERNAL IP): /dashboard/" email from ReviewBoard. I am guessing one of my users did something this morning to cause me to get the email.
See the traceback below...

What version are you running?
1.5beta1

What's the URL of the page containing the problem?
See traceback below

What steps will reproduce the problem?
No idea, it just happened early in the morning

What is the expected output? What do you see instead?
Error should not happen

What operating system are you using? What browser?
See headers in traceback below

Please provide any additional information below.
Traceback (most recent call last):

File "c:\python25\lib\site-packages\django-1.1.1-py2.5.egg\django\core\handlers\base.py", line 92, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
File "c:\python25\lib\site-packages\Djblets-0.5.7-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.5beta1-py2.5.egg\reviewboard\accounts\decorators.py", line 43, in _check_valid_prefs
    return view_func(request, *args, **kwargs)
File "c:\python25\lib\site-packages\ReviewBoard-1.5beta1-py2.5.egg\reviewboard\reviews\views.py", line 307, in dashboard
    return grid.render_to_response(template_name)
File "c:\python25\lib\site-packages\Djblets-0.5.7-py2.5.egg\djblets\datagrid\grids.py", line 680, in render_to_response
    self.load_state()
File "c:\python25\lib\site-packages\Djblets-0.5.7-py2.5.egg\djblets\datagrid\grids.py", line 516, in load_state
    self.precompute_objects()
File "c:\python25\lib\site-packages\Djblets-0.5.7-py2.5.egg\djblets\datagrid\grids.py", line 593, in precompute_objects
    pk__in=self.id_list).order_by())
File "c:\python25\lib\site-packages\ReviewBoard-1.5beta1-py2.5.egg\reviewboard\reviews\datagrids.py", line 386, in post_process_queryset
    queryset.with_counts(self.request.user))
File "c:\python25\lib\site-packages\Djblets-0.5.7-py2.5.egg\djblets\datagrid\grids.py", line 634, in post_process_queryset
    queryset = column.augment_queryset(queryset)
File "c:\python25\lib\site-packages\ReviewBoard-1.5beta1-py2.5.egg\reviewboard\reviews\datagrids.py", line 53, 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': '58e43b176636145d6af36a1b61fe2009'},
META:{'AUTH_TYPE': None,
 'CONTENT_LENGTH': 0,
 'CONTENT_TYPE': None,
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 
'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'rbsessionid=58e43b176636145d6af36a1b61fe2009',
 'HTTP_HOST': 'codereview',
 'HTTP_REFERER': 'http://codereview/dashboard/?view=outgoing',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.89 Safari/532.5',
 'PATH_INFO': u'/dashboard/',
 'PATH_TRANSLATED': None,
 'QUERY_STRING': 'view=outgoing',
 'REMOTE_ADDR': '10.100.120.33',
 'REMOTE_HOST': None,
 'REMOTE_IDENT': None,
 'REMOTE_USER': None,
 'REQUEST_METHOD': 'GET',
 'SCRIPT_NAME': '',
 'SERVER_NAME': 'devsrvsea01.twistpair.local',
 'SERVER_PORT': 80,
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SOFTWARE': 'mod_python'}>


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-iss...@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