Bug 12554

Summary: django now fails for 'optional' fixture 'custom.xml'
Product: [Build System, Metadata & Runtime] Toaster Reporter: David Reyna <david.reyna>
Component: toasterAssignee: David Reyna <david.reyna>
Status: RESOLVED FIXED QA Contact: Toaster default assignee <toaster>
Severity: major    
Priority: Undecided CC: jessica.zhang, stanciux.mihail
Version: 2.4.1   
Target Milestone: 2.5 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description David Reyna 2018-02-15 23:14:40 UTC
Toaster looks for and will include the optional fixture file "custom.xml".

The test for this file relied on a passive fail if that file was not fount, but now it is a hard fail that breaks Toaster startup.

The solution is to wrap the load command with a "try" and passive "except" (rather than for example trying to guess and test the path to that file).
Comment 1 David Reyna 2018-04-02 22:45:45 UTC
(Bitbake rev: 132458939d3987ebc58685397714af3d6d5cd8fd)