Bug 12554 - django now fails for 'optional' fixture 'custom.xml'
Summary: django now fails for 'optional' fixture 'custom.xml'
Status: RESOLVED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 2.4.1
Hardware: x86 Multiple
: Undecided major
Target Milestone: 2.5 M3
Assignee: David Reyna
QA Contact: Toaster default assignee
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-02-15 23:14 UTC by David Reyna
Modified: 2018-04-02 22:45 UTC (History)
2 users (show)

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 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)