Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id C4C8BE00815; Thu, 19 Feb 2015 05:42:52 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, WEIRD_PORT autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.93 listed in list.dnswl.org] * 0.0 WEIRD_PORT URI: Uses non-standard port number for HTTP * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 36D58E0034A for ; Thu, 19 Feb 2015 05:42:50 -0800 (PST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 19 Feb 2015 05:42:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,608,1418112000"; d="scan'208";a="687893230" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by orsmga002.jf.intel.com with ESMTP; 19 Feb 2015 05:42:49 -0800 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.236]) by irsmsx105.ger.corp.intel.com ([169.254.7.117]) with mapi id 14.03.0195.001; Thu, 19 Feb 2015 13:42:46 +0000 From: "Barros Pena, Belen" To: "Wood, Michael G" , "toaster@yoctoproject.org" Thread-Topic: [Toaster] [review-request] michaelw/toaster/fixes-7195-7241-7199 Thread-Index: AQHQTDXlZz0m1dHtOEGuwjRl/CgFQ5z3+3cA Date: Thu, 19 Feb 2015 13:42:46 +0000 Message-ID: References: <54E5C686.9090908@intel.com> In-Reply-To: <54E5C686.9090908@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.7.141117 x-originating-ip: [10.237.224.31] MIME-Version: 1.0 Subject: Re: [review-request] michaelw/toaster/fixes-7195-7241-7199 X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2015 13:42:52 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable On 19/02/2015 11:18, "Michael Wood" wrote: >commit 57e68b0b342c48b51f2383588351658f039f18c4 >Author: Michael Wood >Date: Wed Feb 18 16:02:24 2015 +0000 > > bitbake: toaster: layerdetails summary/descriptions to be searchable > > Allow the descriptions of the machine summary and layer description >to > be searchable in their respective tables. > > [YOCTO #7199] > > Signed-off-by: Michael Wood All looks good, except a problem on this one. The Description is now searchable in the Targets tab, but when I try to search in the Machines tab, I get this error Environment: Request Method: GET Request URL:=20 http://127.0.0.1:8000/toastergui/layer/20/?machines_search=3Dmoto Django Version: 1.6 Python Version: 2.7.6 Installed Applications: ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.admin', 'django.contrib.staticfiles', 'django.contrib.humanize', 'orm', 'toastermain', 'south', 'bldviewer', 'toastergui', 'bldcontrol') Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') Traceback: File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response 114. response =3D wrapped_callback(request, *callback_args, **callback_kwargs) File "/home/yocto/poky-contrib/bitbake/lib/toaster/toastergui/views.py" in layerdetails 2633. machines_query =3D query.filter( Exception Type: NameError at /toastergui/layer/20/ Exception Value: global name 'query' is not defined