Bug 15307 - Fail to display license manifest from a command line build
Summary: Fail to display license manifest from a command line build
Status: NEW
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 6.0
Assignee: David Reyna
QA Contact: Toaster default assignee
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2023-12-05 22:35 UTC by Phlip Balister
Modified: 2025-11-06 15:38 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phlip Balister 2023-12-05 22:35:58 UTC
If I start toaster (bitbake/master-next), run a command line build, then display it and look at the "License Manifest" I see the following error:

TypeError at /toastergui/build/2/artifact/licensemanifest/id/2
toaster_render() missing 1 required positional argument: 'context'
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: 'context'
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:	
['/home/balister/src/git/master-qemu/bitbake/lib/toaster',
 '/home/balister/src/git/master-qemu/bitbake/lib',
 '/home/balister/src/git/master-qemu/bitbake/lib/toaster',
 '/home/balister/src/git/master-qemu/bitbake/lib',
 '/home/balister/src/git/master-qemu/build',
 '/usr/lib64/python311.zip',
 '/usr/lib64/python3.11',
 '/usr/lib64/python3.11/lib-dynload',
 '/home/balister/.local/lib/python3.11/site-packages',
 '/usr/lib64/python3.11/site-packages',
 '/usr/lib/python3.11/site-packages']
Server time:	Tue, 05 Dec 2023 17:35:43 -0500