YongQin Liu yongqin.liu@linaro.org writes:
Hi, All
The dashboard on staging seems use the test-run-filter-subscription, but it seems have problem.
when access the following url: http://staging.validation.linaro.org/dashboard/streams/private/team/linaro/a... I got the following errors so I will change it to use the trunk branch of lavadashboard for staging.
-------------------------------LOG on Page Cause
local variable 'test_run' referenced before assignment Deserialization failure traceback
Traceback (most recent call last): File "/home/instance-manager/test-run-filter-subscription/dashboard_app/models.py", line 496, in deserializebundle_was_deserialized.send(sender=self,bundle=self) File "/srv/lava/.cache/eggs/Django-1.4.1-py2.7.egg/django/dispatch/dispatcher.py", line 172, in sendresponse=receiver(signal=self,sender=sender,**named) File "/home/instance-manager/test-run-filter-subscription/dashboard_app/models.py", line 1946, in send_bundle_notificationsrecipients=TestRunFilterSubscription.recipients_for_bundle(bundle) File "/home/instance-manager/test-run-filter-subscription/dashboard_app/models.py", line 1925, in recipients_for_bundlematches=TestRunFilter.matches_against_bundle(bundle) File "/home/instance-manager/test-run-filter-subscription/dashboard_app/models.py", line 1875, in matches_against_bundlematch.test_run=test_runUnboundLocalError: local variable 'test_run' referenced before assignment
This points to an interesting bug in my branch, thanks for testing <wink> :-)
Cheers, mwh