On master:7a402301c9c8fa9a5262d6d29b2ea199ff0dc07a When you set up Toaster from scratch (creating a new database), after selecting the Toaster configuration file you want to use, fetching information from the layer index fails with the following error: Cannot find layer version OpenEmbedded (1) 65 fido Failure while trying to import the toaster config file: Layer_Version matching query does not exist. Recipe and machine project tables appear empty as a result. According to Michael Wood, this is "an exception caught in models.py line 892"
Someone has mentioned this is happening also in Fido. I am starting to think this might be a problem in the layer index.
This is a bug in Toaster, triggered by invalid data coming in from the Layer Index. The data sanity check in Toaster correctly identified the issue, but escalated it to a show-stopper status, where as the invalid can be safely ignored at this point and the processing can continue. Fixing the underlying data in Layer Index is outside the scope of this bug. Pushed for review: https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=adamian/20150707_bugs
I know normally we don't back port stuff, but I think it would be good to back port this one to Fido.
*** Bug 8023 has been marked as a duplicate of this bug. ***
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c159b3c1175d554f1cc60a41e1287d9ca4b3962f http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=fido&id=0c0ec8611098e306cf428191e5205d81df032b7c
Verified on master: ea562de57590c966cd5a75fda8defecd397e6436