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

I just got the same problem. I include the traceback as well. It seems to be identical, but I'm running a later version using mod_wsgi with Python 2.7 and not mod_python.

It was my own computer that caused the error, but it could not be reproduced.

Traceback (most recent call last):

File "C:\Python27\lib\site-packages\django-1.2.4-py2.7.egg\django\core\handlers\base.py", line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
File "C:\Python27\lib\site-packages\djblets-0.6.6-py2.7.egg\djblets\auth\util.py", line 46, in _checklogin
    return view_func(request, *args, **kwargs)
File "C:\Python27\lib\site-packages\reviewboard-1.5.1-py2.7.egg\reviewboard\accounts\decorators.py", line 46, in _check_valid_prefs
    return view_func(request, *args, **kwargs)
File "C:\Python27\lib\site-packages\reviewboard-1.5.1-py2.7.egg\reviewboard\reviews\views.py", line 330, in dashboard
    return grid.render_to_response(template_name)
File "C:\Python27\lib\site-packages\djblets-0.6.6-py2.7.egg\djblets\datagrid\grids.py", line 700, in render_to_response
    self.load_state()
File "C:\Python27\lib\site-packages\djblets-0.6.6-py2.7.egg\djblets\datagrid\grids.py", line 535, in load_state
    self.precompute_objects()
File "C:\Python27\lib\site-packages\djblets-0.6.6-py2.7.egg\djblets\datagrid\grids.py", line 611, in precompute_objects
    pk__in=self.id_list).order_by())
File "C:\Python27\lib\site-packages\reviewboard-1.5.1-py2.7.egg\reviewboard\reviews\datagrids.py", line 438, in post_process_queryset
    queryset.with_counts(self.request.user))
File "C:\Python27\lib\site-packages\djblets-0.6.6-py2.7.egg\djblets\datagrid\grids.py", line 654, in post_process_queryset
    queryset = column.augment_queryset(queryset)
File "C:\Python27\lib\site-packages\reviewboard-1.5.1-py2.7.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'


<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'collapsediffs': 'True',
 'csrftoken': 'ac00aafe43790bd98aa413439d849c68',
 'rbsessionid': '96f0843efe8068cf9cc21ca584987c75'},
META:{'COMSPEC': 'C:\\Windows\\system32\\cmd.exe',
 'DOCUMENT_ROOT': 'C:/www/vhosts/reviewboard/htdocs',
 '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': 'sv-se,sv;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=96f0843efe8068cf9cc21ca584987c75; csrftoken=ac00aafe43790bd98aa413439d849c68; collapsediffs=True',
 'HTTP_DNT': '1',
 'HTTP_HOST': 'reviewboard.<snipped>',
 'HTTP_KEEP_ALIVE': '115',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.0; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0',
 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC',
 'PATH_INFO': u'/dashboard/',
 'PATH_TRANSLATED': 
'C:\\www\\vhosts\\reviewboard\\htdocs\\reviewboard.wsgi\\dashboard\\',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '<snipped>',
 'REMOTE_PORT': '53596',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/dashboard/',
 'SCRIPT_FILENAME': 'C:/www/vhosts/reviewboard/htdocs/reviewboard.wsgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '<snipped>',
 'SERVER_ADMIN': '<snipped>',
 'SERVER_NAME': 'reviewboard.<snipped>',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '',
'SERVER_SOFTWARE': 'Apache/2.2.17 (Win32) DAV/2 PHP/5.3.5 mod_wsgi/3.3 Python/2.7.1 SVN/1.6.15',
 'SystemRoot': 'C:\\Windows',
 'WINDIR': 'C:\\Windows',
 'mod_wsgi.application_group': 'reviewboard.<snipped>|',
 'mod_wsgi.callable_object': 'application',
 'mod_wsgi.handler_script': '',
 'mod_wsgi.input_chunked': '0',
 'mod_wsgi.process_group': '',
 'mod_wsgi.request_handler': 'wsgi-script',
 'mod_wsgi.script_reloading': '1',
 'mod_wsgi.version': (3, 3),
 'wsgi.errors': <mod_wsgi.Log object at 0x065E7908>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x06492F50>,
 'wsgi.input': <mod_wsgi.Input object at 0x065E7A20>,
 'wsgi.multiprocess': False,
 'wsgi.multithread': True,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 1)}>


--
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