-
-
Notifications
You must be signed in to change notification settings - Fork 606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto Meal Plan Feature: No Recipes are added to the calendar #2827
Comments
So this works on my local instance and on my private instance but not on yours and not on the hosted 🤔 i have updated the beta release which should not have any breaking changes, it would be great if you could try if that fixes your issue. |
Thanks for the fast response. I used the Unfortunately, the problem still exists ... |
Very interesting, need to investigate further or maybe build in some debug code. Have you run with debug=1 in your environment to see if there are any logs from that? |
Not yet, but I've enabled the DEBUG and the SQL_DEBUG just now. Here is the result, starting with click on "Meal Plan":
And somewhere around here, I clicked on "smart planning":
I can't see anything -- but maybe you see something suspicious? |
Ah, I manually added one recipe to the meal plan to check if this is working (it is). This is also visible in the logs.
|
Interesting, the logs do not point to any obvious issue. I am. Guessing there is some kind of edge case that just exits the planning algortihm. Need to look into it to see what's wrong |
Thanks for looking into the logs. |
Thanks for the ping! I'll take a look at it this week! |
@AquaticLava I had the same issue and it was caused by the fact, that I haven't added a keyword to the mealtype. Most likely this is not the issue from @silberzwiebel, but regardless it might make sense to add a check to the form, that at least one mealtype has a keyword |
Thanks for the comment @andreasziegl. |
Ah, that does seem to fix the issue! Adding a recipe with all keywords looks to fix the issue on my instance. |
Discussed in #2824
Originally posted by silberzwiebel December 21, 2023
Hi there,
I'm wondering if I'm doing something wrong or if I just don't understand the auto-meal-plan-feature.
I tried several times (with no keywords, with all keywords, with single keywords, with only 2 days to plan, ...) but I never see any recipes added to the meal plan / calendar. Relevant logs below (from opening the meal-plan page, clicking on "smart planning" and auto-creating a meal-plan with no success but also no error message)
Maybe I do have too little recipes? Or is there something else I'm missing?
How can I enable some more debug logging?
Thanks in advance for any help!
Best,
kartoffelsalat
The text was updated successfully, but these errors were encountered: