Comment #12 on issue 1526 by ex...@dps-online.de: AttributeError: 'DashboardDataGrid' object has no attribute 'id_list'
http://code.google.com/p/reviewboard/issues/detail?id=1526

I get this error on a regular base of around 30 times since beginning of June.
Most times the error is in the form of
AttributeError: 'DashboardDataGrid' object has no attribute 'id_list'
sometimes also
AttributeError: 'ReviewRequestDataGrid' object has no attribute 'id_list'

We're working with a small development team running reviewboard on a windows server.
First install was 1.5.1 I think, then upgraded to 1.5.2 now running 1.5.5.
Let me know if there is something I can do to provide further information on this and I will wait for the next "internal server error" mail.

Traceback (most recent call last):

File "C:\Python27\lib\site-packages\django-1.3-py2.7.egg\django\core\handlers\base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

File "C:\Python27\lib\site-packages\djblets-0.6.7-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.5-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.5-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.7-py2.7.egg\djblets\datagrid\grids.py", line 699, in render_to_response
    self.load_state()

File "C:\Python27\lib\site-packages\djblets-0.6.7-py2.7.egg\djblets\datagrid\grids.py", line 534, in load_state
    self.precompute_objects()

File "C:\Python27\lib\site-packages\djblets-0.6.7-py2.7.egg\djblets\datagrid\grids.py", line 610, in precompute_objects
    pk__in=self.id_list).order_by())

File "C:\Python27\lib\site-packages\reviewboard-1.5.5-py2.7.egg\reviewboard\reviews\datagrids.py", line 444, in post_process_queryset
    queryset.with_counts(self.request.user))

File "C:\Python27\lib\site-packages\djblets-0.6.7-py2.7.egg\djblets\datagrid\grids.py", line 653, in post_process_queryset
    queryset = column.augment_queryset(queryset)

File "C:\Python27\lib\site-packages\reviewboard-1.5.5-py2.7.egg\reviewboard\reviews\datagrids.py", line 81, 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: {u'sort': [u'time_added,branch'], u'view': [u'mine']}>,
POST:<QueryDict: {}>,
COOKIES:{'JSESSIONID': '**SNIP**',
 'collapsediffs': 'True',
 'hudson_auto_refresh': 'true',
 'iconSize': '16x16',
 'rbsessionid': '**SNIP**',
 'screenResolution': '1280x1024',
 'storedtemplate': 'calm'},
META:{'COMSPEC': 'C:\\Windows\\system32\\cmd.exe',
 'DOCUMENT_ROOT': 'C:/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': 'de-de,de;q=0.8,en-us;q=0.5,en;q=0.3',
 'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'rbsessionid=**SNIP**; iconSize=16x16; storedtemplate=calm; hudson_auto_refresh=true; screenResolution=1280x1024; JSESSIONID=**SNIP**; collapsediffs=True',
 'HTTP_DNT': '1',
 'HTTP_HOST': '**SNIP**',
 'HTTP_KEEP_ALIVE': '115',
 'HTTP_REFERER': 'http://**SNIP**/dashboard/?view=mine',
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17',
 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC',
 'PATH_INFO': u'/dashboard/',
 'PATH_TRANSLATED': 'C:\\reviewboard\\htdocs\\reviewboard.wsgi\\dashboard\\',
 'QUERY_STRING': 'view=mine&sort=time_added,branch',
 'REMOTE_ADDR': '**SNIP**',
 'REMOTE_PORT': '37193',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/dashboard/?view=mine&sort=time_added,branch',
 'SCRIPT_FILENAME': 'C:/reviewboard/htdocs/reviewboard.wsgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '**SNIP**',
 'SERVER_ADMIN': '**SNIP**',
 'SERVER_NAME': '**SNIP**',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '',
'SERVER_SOFTWARE': 'Apache/2.2.17 (Win32) PHP/5.3.6 mod_wsgi/3.3 Python/2.7.1',
 'SystemRoot': 'C:\\Windows',
 'WINDIR': 'C:\\Windows',
 'mod_wsgi.application_group': '**SNIP**|',
 '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 0x03E752F0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x052F0F98>,
 'wsgi.input': <mod_wsgi.Input object at 0x03E754A8>,
 '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