Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id B9FB4E00DF0; Tue, 19 Jul 2016 05:07:24 -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: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [46.232.183.71 listed in list.dnswl.org] Received: from nov-007-i517.relay.mailchannels.net (nov-007-i517.relay.mailchannels.net [46.232.183.71]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5B4ACE00CC4 for ; Tue, 19 Jul 2016 05:07:19 -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 551AF1BC2F6; Tue, 19 Jul 2016 12:07:15 +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 BD1131BD081; Tue, 19 Jul 2016 12:07:14 +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.7.1); Tue, 19 Jul 2016 12:07:15 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: wwwh|x-authuser|elliot@townx.org X-MailChannels-Auth-Id: wwwh X-MC-Loop-Signature: 1468930035017:308862930 X-MC-Ingress-Time: 1468930035016 Received: from [176.249.240.35] (port=44938 helo=localhost.localdomain) by uscentral428.accountservergroup.com with esmtpa (Exim 4.87) (envelope-from ) id 1bPTnt-0005ow-Ik; Tue, 19 Jul 2016 08:07:13 -0400 From: Elliot Smith To: toaster@yoctoproject.org Date: Tue, 19 Jul 2016 13:07:03 +0100 Message-Id: <1468930023-11535-1-git-send-email-elliot.smith@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1468594840-10140-1-git-send-email-elliot.smith@intel.com> References: <1468594840-10140-1-git-send-email-elliot.smith@intel.com> X-AuthUser: elliot@townx.org Subject: [PATCH][v2] 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: Tue, 19 Jul 2016 12:07:24 -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 tag and its arguments on a single line. [YOCTO #9837] Signed-off-by: Elliot Smith --- bitbake/lib/toaster/toastergui/templates/task.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/templates/task.html b/bitbake/lib/toaster/toastergui/templates/task.html index 86789bd..214c777 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 %} @@ -156,8 +158,10 @@ this prebuilt task is reusing"> {%elif task.outcome == task.OUTCOME_CACHED%} {% for t in task.get_related_setscene %} {% if forloop.last %} - Download task log + + Download task log + {% endif %} {% endfor %} -- 2.7.4