Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 07F14E00F56; Fri, 15 Jul 2016 08:01:01 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [46.232.183.161 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from nov-007-i607.relay.mailchannels.net (nov-007-i607.relay.mailchannels.net [46.232.183.161]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 00CA7E00F4F for ; Fri, 15 Jul 2016 08:00:55 -0700 (PDT) X-Sender-Id: wwwh|x-authuser|elliot@townx.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C2B06201CF; Fri, 15 Jul 2016 15:00:50 +0000 (UTC) Received: from uscentral428.accountservergroup.com (ip-10-107-69-155.us-west-2.compute.internal [10.107.69.155]) by relay.mailchannels.net (Postfix) with ESMTPA id 25CDC2146F; Fri, 15 Jul 2016 15:00:50 +0000 (UTC) X-Sender-Id: wwwh|x-authuser|elliot@townx.org Received: from uscentral428.accountservergroup.com (uscentral428.accountservergroup.com [10.132.194.146]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.6.16); Fri, 15 Jul 2016 15:00:50 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: wwwh|x-authuser|elliot@townx.org X-MailChannels-Auth-Id: wwwh X-MC-Loop-Signature: 1468594850424:2604711461 X-MC-Ingress-Time: 1468594850423 Received: from [176.253.151.47] (port=51114 helo=localhost.localdomain) by uscentral428.accountservergroup.com with esmtpa (Exim 4.87) (envelope-from ) id 1bO4bg-0007tl-Ur; Fri, 15 Jul 2016 11:00:49 -0400 From: Elliot Smith To: toaster@yoctoproject.org Date: Fri, 15 Jul 2016 16:00:40 +0100 Message-Id: <1468594840-10140-1-git-send-email-elliot.smith@intel.com> X-Mailer: git-send-email 2.7.4 X-AuthUser: elliot@townx.org Subject: [PATCH] toaster: fix download URL for task logs 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, 15 Jul 2016 15:01:01 -0000 The task display template formatting had split the Django url template tag across two lines and broken it. This resulted in a gibberish URL for task logs. Fix by placing the call to the tag on a single line. [YOCTO #9837] Signed-off-by: Elliot Smith --- bitbake/lib/toaster/toastergui/templates/task.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/templates/task.html b/bitbake/lib/toaster/toastergui/templates/task.html index 86789bd..d77d188 100644 --- a/bitbake/lib/toaster/toastergui/templates/task.html +++ b/bitbake/lib/toaster/toastergui/templates/task.html @@ -25,8 +25,10 @@ {%if task.task_executed %} {# executed tasks outcome #} {% if task.logfile %} - Download task log + + Download task log + {% endif %} {# show stack trace for failed task #} {% if task.outcome == task.OUTCOME_FAILED and log_head %} -- 2.7.4