<?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>15307</bug_id>
          
          <creation_ts>2023-12-05 22:35:58 +0000</creation_ts>
          <short_desc>Fail to display license manifest from a command line build</short_desc>
          <delta_ts>2025-11-06 15:38:58 +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>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Phlip Balister">philip</reporter>
          <assigned_to name="David Reyna">david.reyna</assigned_to>
          
          
          <qa_contact name="Toaster default assignee">toaster</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>97423</commentid>
    <comment_count>0</comment_count>
    <who name="Phlip Balister">philip</who>
    <bug_when>2023-12-05 22:35:58 +0000</bug_when>
    <thetext>If I start toaster (bitbake/master-next), run a command line build, then display it and look at the &quot;License Manifest&quot; I see the following error:

TypeError at /toastergui/build/2/artifact/licensemanifest/id/2
toaster_render() missing 1 required positional argument: &apos;context&apos;
Request Method:	GET
Request URL:	http://localhost:8000/toastergui/build/2/artifact/licensemanifest/id/2
Django Version:	4.2.5
Exception Type:	TypeError
Exception Value:	
toaster_render() missing 1 required positional argument: &apos;context&apos;
Exception Location:	/home/balister/src/git/master-qemu/bitbake/lib/toaster/toastermain/logs.py, line 40, in log_view_request
Raised during:	toastergui.views.build_artifact
Python Executable:	/usr/bin/python3
Python Version:	3.11.6
Python Path:	
[&apos;/home/balister/src/git/master-qemu/bitbake/lib/toaster&apos;,
 &apos;/home/balister/src/git/master-qemu/bitbake/lib&apos;,
 &apos;/home/balister/src/git/master-qemu/bitbake/lib/toaster&apos;,
 &apos;/home/balister/src/git/master-qemu/bitbake/lib&apos;,
 &apos;/home/balister/src/git/master-qemu/build&apos;,
 &apos;/usr/lib64/python311.zip&apos;,
 &apos;/usr/lib64/python3.11&apos;,
 &apos;/usr/lib64/python3.11/lib-dynload&apos;,
 &apos;/home/balister/.local/lib/python3.11/site-packages&apos;,
 &apos;/usr/lib64/python3.11/site-packages&apos;,
 &apos;/usr/lib/python3.11/site-packages&apos;]
Server time:	Tue, 05 Dec 2023 17:35:43 -0500</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>