<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>7146</bug_id>
          
          <creation_ts>2015-01-15 14:50:58 +0000</creation_ts>
          <short_desc>Task details pages throw an error</short_desc>
          <delta_ts>2015-01-21 13:22:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Toaster</product>
          <component>toaster</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.8 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="Alexandru Damian">alexandru.damian</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>alexandru.damian</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>cristiana.voicu</cc>
          
          <qa_contact name="Mihail Stanciu">stanciux.mihail</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>47931</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2015-01-15 14:50:58 +0000</bug_when>
    <thetext>In master:2b925045877aeb44d9823a8c9515e8ab8fca1e52

Steps to reproduce:

1. With Toaster in managed mode, build something (ex. bash)
2. When the build completes, visit the build dashboard by clicking on the build target
3. On the left navigation, select the &apos;tasks&apos; page
4. Select a task that has outcome different to &apos;Covered&apos; - those we know are not working (bug 6775)

You get this error:

Environment:


Request Method: GET
Request URL: http://127.0.0.1:8000/toastergui/build/8/task/12931

Django Version: 1.6
Python Version: 2.7.6
Installed Applications:
(&apos;django.contrib.auth&apos;,
&apos;django.contrib.contenttypes&apos;,
&apos;django.contrib.messages&apos;,
&apos;django.contrib.sessions&apos;,
&apos;django.contrib.admin&apos;,
&apos;django.contrib.staticfiles&apos;,
&apos;django.contrib.humanize&apos;,
&apos;orm&apos;,
&apos;toastermain&apos;,
&apos;south&apos;,
&apos;bldviewer&apos;,
&apos;toastergui&apos;,
&apos;bldcontrol&apos;)
Installed Middleware:
(&apos;django.middleware.common.CommonMiddleware&apos;,
&apos;django.contrib.sessions.middleware.SessionMiddleware&apos;,
&apos;django.middleware.csrf.CsrfViewMiddleware&apos;,
&apos;django.contrib.auth.middleware.AuthenticationMiddleware&apos;,
&apos;django.contrib.messages.middleware.MessageMiddleware&apos;)


Traceback:
File &quot;/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py&quot;
in get_response
  114.                     response = wrapped_callback(request,
*callback_args, **callback_kwargs)
File &quot;/home/yocto/poky/bitbake/lib/toaster/toastergui/views.py&quot; in task
  561.         uri_list.append(v[0].variable_value)
File &quot;/usr/local/lib/python2.7/dist-packages/django/db/models/query.py&quot;
in __getitem__
  132.         return list(qs)[0]

Exception Type: IndexError at /toastergui/build/8/task/12931
Exception Value: list index out of range</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48041</commentid>
    <comment_count>1</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2015-01-19 15:14:22 +0000</bug_when>
    <thetext>Tasks pages seem to be working in master:4e20211090d2b193250edaa64f84e355a1c31fe5

So changing to resolved</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48144</commentid>
    <comment_count>2</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2015-01-21 13:22:08 +0000</bug_when>
    <thetext>Verified on master: d9d5b8b499af3ae01a1e33d0d3969c54c2d4ab1b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>