Description of problem: On the new recipe panel I opened the drop-down list for the unit, then clicked to the amount field and clicked back on the unit dropdown. Cannot reproduce right afterwards, though. Version-Release number of selected component: gourmet-0.17.4-2.fc22 Additional info: reporter: libreport-2.5.1 cmdline: /usr/bin/python /usr/bin/gourmet executable: /usr/bin/gourmet kernel: 4.0.4-303.fc22.x86_64 runlevel: N 5 type: Python uid: 1000 Truncated backtrace: reccard.py:2617:changeUnit:KeyError: 'ingkey' Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/gourmet/reccard.py", line 2396, in ingtree_edited_cb amt,msg=self.changeUnit(text,self.ingController.get_rowdict(iter)) File "/usr/lib/python2.7/site-packages/gourmet/reccard.py", line 2617, in changeUnit key=ingdict['ingkey'] KeyError: 'ingkey' Local variables in innermost frame: self: <gourmet.reccard.IngredientTreeUI instance at 0x7f9f8f141758> new_unit: '' ingdict: {'item': '', 'amount': '1', 'optional': False, 'unit': None}
Created attachment 1035402 [details] File: backtrace
Created attachment 1035403 [details] File: environ
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Thanks for your bug report; and sorry for the delay in responding. I've been able to reproduce this from a completely blank ingredient sheet, but as soon as I add any ingredient, the same sequence of actions (opening the unit drop-down, then clicking to the empty amount, then clicking back to the unit drop-down) does not further produce an error. At a glance, this leads me to believe that it's a matter of ingkey not being initialised in the right spot...I'll look into this.
Reported upstream at https://github.com/thinkle/gourmet/issues/837
gourmet-0.17.4-6.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8e4c0079c0
gourmet-0.17.4-4.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-474f7e36fc
gourmet-0.17.4-4.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-474f7e36fc
gourmet-0.17.4-6.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8e4c0079c0
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.