[bug-gnutrition] Error report (app freezes when adding multiple ingredients to recipe) and patch proposal

Jason Self jself@gnu.org
Wed May 22 15:57:33 BST 2013


jrbruce@vt.edu <jrbruce86@gmail.com> wrote ..
> Thanks for adding me to the listserve! I have been looking for a free
> app like this one for quite some, so would be happy to help improve it
> in any way I can.

Sure - Any and all help is welcome.

> I noticed a small bug which was causing me issues whenever I tried to
> add more than 3 items to a recipe. Basically what would happen was
> that, in recipe_win.py during the 3rd call to the add_ingredient
> function, line 326 would end up leading to an infinite while loop and
> freezing the app altogether.
> 
> I attached a very simple patch which appears to fix this issue. I hope
> this helps someone else also!

Thank you very much!


More information about the GNUtrition mailing list