Bug 771080 - Unable to edit recipe
Summary: Unable to edit recipe
Keywords:
Status: CLOSED DUPLICATE of bug 717042
Alias: None
Product: Fedora
Classification: Fedora
Component: gourmet
Version: 15
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jef Spaleta
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-31 21:50 UTC by Sean Sheedy
Modified: 2012-01-02 22:24 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-01-02 22:24:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sean Sheedy 2011-12-31 21:50:27 UTC
Description of problem:
I imported a new recipe from the web.  The import was successful, but any attempts to edit the description fail.  I can navigate between editing sections, but I'm unable to save any of the changes.  When started from the command line, numerous errors are reported when entering edit mode and when attempting to save a change.

Version-Release number of selected component (if applicable):
0.15.9-1

How reproducible:
Always

Steps to Reproduce:
1. Start gourmet from the command line.
2. Edit a recipe.
3. Change the type to, e.g., "Appetizer".
  
Actual results:
Change cannot be saved.

When opening the recipe for editing, the following errors are reported:

/usr/lib/python2.7/site-packages/gourmet/reccard.py:959: GtkWarning: UnitConverter: missing action UnitConverter
  main_vb.pack_start(self.ui_manager.get_widget('/RecipeEditorMenuBar'),expand=False,fill=False)
/usr/lib/python2.7/site-packages/gourmet/reccard.py:959: GtkWarning: Undo: missing action Undo
  main_vb.pack_start(self.ui_manager.get_widget('/RecipeEditorMenuBar'),expand=False,fill=False)
/usr/lib/python2.7/site-packages/gourmet/reccard.py:959: GtkWarning: Redo: missing action Redo
  main_vb.pack_start(self.ui_manager.get_widget('/RecipeEditorMenuBar'),expand=False,fill=False)
/usr/lib/python2.7/site-packages/gourmet/GourmetRecipeManager.py:726: GtkWarning: Cut: missing action Cut
  gtk.main()
/usr/lib/python2.7/site-packages/gourmet/GourmetRecipeManager.py:726: GtkWarning: Copy: missing action Copy
  gtk.main()
/usr/lib/python2.7/site-packages/gourmet/GourmetRecipeManager.py:726: GtkWarning: Paste: missing action Paste
  gtk.main()

When attempting to save, the following errors are reported:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gourmet/reccard.py", line 1029, in save_cb
    newdict = m.save(newdict)
  File "/usr/lib/python2.7/site-packages/gourmet/reccard.py", line 1231, in save
    self.ingtree_ui.ingController.commit_ingredients()
  File "/usr/lib/python2.7/site-packages/gourmet/reccard.py", line 2132, in commit_ingredients
    n = commit_iter(iter,n)
  File "/usr/lib/python2.7/site-packages/gourmet/reccard.py", line 2103, in commit_iter
    if getattr(ing,att)==d[att]: del d[att]
KeyError: 'ingkey'


Expected results:
Edit and save recipe.

Additional info:

Comment 1 Sean Sheedy 2012-01-02 22:23:39 UTC
The appears to already be opened as bug 717042.

Comment 2 Sean Sheedy 2012-01-02 22:24:01 UTC

*** This bug has been marked as a duplicate of bug 717042 ***


Note You need to log in before you can comment on or make changes to this bug.