Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 61074E008DD; Fri, 13 Feb 2015 03:31:25 -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 17538E0089B for ; Fri, 13 Feb 2015 03:31:20 -0800 (PST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP; 13 Feb 2015 03:31:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,570,1418112000"; d="scan'208";a="527085783" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by orsmga003.jf.intel.com with ESMTP; 13 Feb 2015 03:23:02 -0800 Received: from irsmsx109.ger.corp.intel.com ([169.254.13.103]) by irsmsx110.ger.corp.intel.com ([169.254.15.236]) with mapi id 14.03.0195.001; Fri, 13 Feb 2015 11:31:16 +0000 From: "Barros Pena, Belen" To: "Damian, Alexandru" Thread-Topic: [Toaster] analysis (i.e. interactive) mode broken? Thread-Index: AQHQRs3EpuqNwPlhh0OmtZUPMvDzu5zuZXGAgAAOH4A= Date: Fri, 13 Feb 2015 11:31:16 +0000 Message-ID: References: In-Reply-To: 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.32] MIME-Version: 1.0 Cc: "toaster@yoctoproject.org" Subject: Re: analysis (i.e. interactive) mode broken? 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: Fri, 13 Feb 2015 11:31:25 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable On 13/02/2015 10:40, "Damian, Alexandru" wrote: >Please open an issue in bugzilla. Done https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D7318 > > >What happens here is that the browser remembers an ordering from the >builds page in managed mode and tries to apply it to the interactive >mode. We need to resolve this conflict somehow. > > >- Alex > > > >On Thu, Feb 12, 2015 at 2:11 PM, Barros Pena, Belen > wrote: > >I went to check something in analysis mode using >master:231d4a9d3d89af4b1b5f6ea439c630e4cac82079 > >Once Toaster is running, when you go to localhost:8000 you get the empty >state of the page, even though the database I am using has builds. When I >type > >localhost:8000/toastergui/builds > > >I get an error (pasted below). Before I open anything in Bugzilla, could >someone try and reproduce this to make sure it is not just me? > >Thanks! > >Bel=E9n > >Environment: > > >Request Method: GET >Request URL: >http://127.0.0.1:8000/toastergui/builds/?count=3D10&orderby=3Dupdated%3A-&= page >=3D >1 > >Django Version: 1.6 >Python Version: 2.7.6 >Installed Applications: >('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/master/bitbake/lib/toaster/toastergui/views.py" in >builds > 3139. (filter_string, search_term, ordering_string) =3D >_search_tuple(request, Build) >File "/home/yocto/master/bitbake/lib/toaster/toastergui/views.py" in >_search_tuple > 216. raise BaseException("Invalid ordering model:" + >str(model) + str(invalid)) > >Exception Type: BaseException at /toastergui/builds/ >Exception Value: Invalid ordering model:'orm.models.Build'>(u'updated', ['bitbake_version', 'build_name', >'buildartifact', 'buildrequest', 'completed_on', 'cooker_log_path', >'distro', 'distro_version', 'errors_no', 'helptext_build', u'id', >'layer_version_build', 'logmessage', 'machine', 'outcome', 'package', >'project', 'started_on', 'target', 'task_build', 'timespent', >'variable_build', 'warnings_no']) > > > > > >-- >_______________________________________________ >toaster mailing list >toaster@yoctoproject.org >https://lists.yoctoproject.org/listinfo/toaster > > > > > > >--=20 >Alex Damian >Yocto Project > >SSG / OTC=20 > > >