Bug 8292

Summary: Toaster: Recipe suggestion doesn't work on fedora
Product: [Build System, Metadata & Runtime] Toaster Reporter: Alexandru Roman <alexandru.costinx.roman>
Component: toasterAssignee: Michael Wood <michael.g.wood>
Status: VERIFIED DUPLICATE QA Contact: Alexandru Roman <alexandru.costinx.roman>
Severity: normal    
Priority: Medium CC: belen.barros.pena, eduard.bartosh, elliot.smith, jessica.zhang, michael.g.wood, stanciux.mihail
Version: 1.9   
Target Milestone: 2.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
screenshot
none
toaster_ui log
none
Compatible recipes page none

Description Alexandru Roman 2015-09-14 08:34:33 UTC
Created attachment 2730 [details]
screenshot

Appears on fedora 22
Steps to reproduce:
1. Start toaster
2. New project
3. Build a core-image-sato

If you type in the build box you get no suggestion.
Tested on ubuntu and works, appears only on fedora.

If you have for example core-image-minimal builds and no core-image-sato the recipe suggestion works, but when you build a core-image-sato you get no suggestion. See screenshot.
Comment 1 Elliot Smith 2015-09-14 08:51:32 UTC
Could you please include a toaster_ui.log file? I am wondering if this is related to https://bugzilla.yoctoproject.org/show_bug.cgi?id=8147.
Comment 2 Alexandru Roman 2015-09-14 12:42:36 UTC
Created attachment 2731 [details]
toaster_ui log
Comment 3 Elliot Smith 2015-09-14 12:59:18 UTC
OK, doesn't look like 8147 (I was looking for a "too many SQL variables" error).
Comment 4 Elliot Smith 2015-09-17 11:58:06 UTC
Alexandru, can you please try the work-around in 8147 and see if that makes any difference? I can't reproduce this on Fedora 20 with that work-around in place, but can reproduce it without the work-around.
Comment 5 Elliot Smith 2015-09-17 11:59:43 UTC
Alexandru: the comment you need to pay attention to (with the work-around) is https://bugzilla.yoctoproject.org/show_bug.cgi?id=8147#c5
Comment 6 Ed Bartosh 2015-09-17 15:09:47 UTC
It doesn't work for me. toaster is run on OpenSUSE 13.2, client is Chrome browser running on Windows 8.

I'm building busybox. Every time I have to type 'busybox' as typeahead doesn't work for me.
Comment 7 Elliot Smith 2015-09-17 15:24:28 UTC
Ed, could you try running Brian's SQLite "variable finder" program, also in comment 5 on 8147, to make sure it is configured to allow enough variables? Also, check your log for a "too many SQL variables" error: if it's there, it's likely your issue is 8147; if not, then this is a different bug, and I will investigate further.
Comment 8 Ed Bartosh 2015-09-18 08:14:33 UTC
Looks like it's the same issue:

$ /tmp/limits
3.8.6
SQLITE_LIMIT_FUNCTION_ARG = 127
SQLITE_LIMIT_SQL_LENGTH = 1000000000
SQLITE_LIMIT_VARIABLE_NUMBER = 999
Comment 9 Elliot Smith 2015-09-18 08:48:51 UTC
OK. Ed, should I mark this as a duplicate of 8147, as it has the same root cause?
Comment 10 Alexandru Roman 2015-09-18 10:07:32 UTC
With that work-around the recipe suggestion works
Comment 11 Ed Bartosh 2015-09-18 12:58:54 UTC
with which workaround? Did you recompile sqlite?
Comment 12 Elliot Smith 2015-09-18 13:02:47 UTC
Yes, a self-compiled SQLite; see https://bugzilla.yoctoproject.org/show_bug.cgi?id=8147#c5

It's the same root cause (SQLite variable limit), but being caused by a different query, so I suggest retaining this bug.
Comment 13 Michael Wood 2015-09-28 15:48:25 UTC
Believe this is the same issue is bug #8147

*** This bug has been marked as a duplicate of bug 8147 ***
Comment 14 Elliot Smith 2015-09-29 07:03:24 UTC
Michael, I think this may be a different bug, as the query used is different. It may be fixed if bug #8147 is fixed, but I don't think that's necessarily the case.
Comment 15 Alexandru Roman 2015-09-30 08:13:48 UTC
Created attachment 2775 [details]
Compatible recipes page

In fedora 22 on a master project you can't see the Compatible recipes. See screenshot.
I post this comment because probably is the same root cause.
Comment 16 Elliot Smith 2015-09-30 09:58:37 UTC
Alexandru, please try on master, and see whether this bug is fixed. My own tests indicate that it is.
Comment 17 Alexandru Roman 2015-09-30 13:21:36 UTC
Set this on verified
Tested on master: 4bc3f0994e68b3302a0523a3156dd0dca0cac7a0 and it works