I have just updated from ver 28 to 29 and my reports stopped working. Just whitepage

Asked by Kostya


I have downloaded the latest lava-deployment-tool and installed the LAVA server.
My older reports has stopped working. I do not see the sample reports working aswell.
It looks the content of report is not getting to the filan page. Please suggest.


Question information

English Edit question
LAVA Dashboard (deprecated) Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Revision history for this message
Kostya (kpelex) said :

Any ideas on where to start digging are appriciated :)

Revision history for this message
Michael Hudson-Doyle (mwhudson) said :

The presence or abscence of the reports and views is now controlled by settings called DATAVIEW_HIDE and DATAREPORTS_HIDE, but they default to False I think. Somewhere to start though?

Revision history for this message
Kostya (kpelex) said :

Thanks, went throw the code (a bit), checked the permissions, configuration or reports/views, actually have no idea of the reason. Probably will have to switch back to older release.

Revision history for this message
Kostya (kpelex) said :


For me still the reporting functionality is broken and it seems the exception below can be a reason:

ERROR:django.request:Internal Server Error: /dashboard/reports/MyLava-device-bar/
Traceback (most recent call last):
  File "/srv/lava/.cache/eggs/Django-1.4.2-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/srv/lava/instances/MyLava/code<email address hidden>/dashboard_app/views/__init__.py", line 603, in report_detail
  File "/srv/lava/instances/MyLava/code<email address hidden>/dashboard_app/models.py", line 1459, in get_html
    context = self._get_html_template_context()
  File "/srv/lava/instances/MyLava/code<email address hidden>/dashboard_app/models.py", line 1450, in _get_html_template_context
    "API_URL": reverse("dashboard_app.views.dashboard_xml_rpc_handler"),
  File "/srv/lava/.cache/eggs/Django-1.4.2-py2.7.egg/django/core/urlresolvers.py", line 476, in reverse
    return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))
  File "/srv/lava/.cache/eggs/Django-1.4.2-py2.7.egg/django/core/urlresolvers.py", line 396, in _reverse_with_prefix
    "arguments '%s' not found." % (lookup_view_s, args, kwargs))
NoReverseMatch: Reverse for 'dashboard_app.views.dashboard_xml_rpc_handler' with arguments '()' and keyword arguments '{}' not found.
[pid: 14784|app: 0|req: 1/1] () {38 vars in 709 bytes} [Tue May 21 11:51:25 2013] GET /dashboard/reports/MyLava-device-bar/ => generated 8528 bytes in 4229 msecs (HTTP/1.1 500) 2 headers in 92 bytes (1 switches on core 0)

I am not sure about this, but if anyone is familiar with the functionality, please suggest.

Thanks in advance,

Revision history for this message
Antonio Terceiro (terceiro) said :

Are you seeing this error on the latest version?

Revision history for this message
Kostya (kpelex) said :

Hello Antonio,

I am using revision 137 (/srv/lava/instances/MyLava/code/r137).
If I add a few lines to dashboard_app/url.py as below:

url(r'^xml-rpc/$', linaro_django_xmlrpc.views.handler,
            'mapper': legacy_mapper,
            'help_view': 'dashboard_app.views.dashboard_xml_rpc_help'}),
    url(r'^xml-rpc/help/$', linaro_django_xmlrpc.views.help,
            'mapper': legacy_mapper,
            'template_name': 'dashboard_app/api.html'}),

The error looks disapearing.


Revision history for this message
Kostya (kpelex) said :

I can see the submenue "Dashboard" -> "Reports" is not present on the http://validation.linaro.org/lava-server/
Hence this makes me think Reports functionality has been simlesly removed from the mainstream.