Bug 1328574

Summary: [abrt] gourmet: shopgui.py:736:getOptionalIngDic:AttributeError: 'module' object has no attribute 'UserCancelError'
Product: [Fedora] Fedora Reporter: Alex Finkel <afinkelsrc>
Component: gourmetAssignee: Peter Gordon <peter>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: jeff.raber, jspaleta, peter
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/9c5fe741f0a9196d574ecd09004d6b00b3a71326
Whiteboard: abrt_hash:097b56e507ec7dd3f315d48ecef14aaa78d468e5;VARIANT_ID=workstation;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-20 20:02:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Alex Finkel 2016-04-19 17:58:27 UTC
Description of problem:
Entering a recipe into Gourmet, then viewing the recipe card.

Version-Release number of selected component:
gourmet-0.17.4-5.fc23

Additional info:
reporter:       libreport-2.6.4
cmdline:        /usr/bin/python /usr/bin/gourmet
executable:     /usr/bin/gourmet
kernel:         4.4.6-301.fc23.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
shopgui.py:736:getOptionalIngDic:AttributeError: 'module' object has no attribute 'UserCancelError'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gourmet/reccard.py", line 413, in shop_for_recipe_cb
    self.prefs)
  File "/usr/lib/python2.7/site-packages/gourmet/shopgui.py", line 736, in getOptionalIngDic
    raise de.UserCancelError("Option Dialog cancelled!")
AttributeError: 'module' object has no attribute 'UserCancelError'

Local variables in innermost frame:
i: (22, 4, None, None, None, None, u'decorators sugar - for sprinkling', u'decorators sugar - for sprinkling', True, None, None, 9, False)
self: <gourmet.shopgui.ShopGui instance at 0x7f39e9799a28>
oid: <OptionalIngDialog object at 0x7f39e80bf280 (GtkDialog at 0x55bb0d1a12e0)>
optional_mode: 0
ivw: [(13, 4, None, u'c', 2.0, None, u'flour', u'flour', False, None, None, 0, False), (14, 4, None, u'tsp', 2.0, None, u'baking powder', u'baking powder', False, None, None, 1, False), (15, 4, None, u'tsp', 0.5, None, u'salt', u'salt', False, None, None, 2, False), (16, 4, None, u'Tbs', 8.0, None, u'unsalted butter - at room temperature', u'unsalted butter - at room temperature', False, None, None, 3, False), (17, 4, None, u'c', 1.25, None, u'sugar', u'sugar', False, None, None, 4, False), (18, 4, None, u'', 2.0, None, u'eggs', u'eggs', False, None, None, 5, False), (19, 4, None, u'tsp', 0.5, None, u'vanilla extract', u'vanilla extract', False, None, None, 6, False), (20, 4, None, u'c', 0.5, None, u'buttermilk', u'buttermilk', False, None, None, 7, False), (21, 4, None, u'pt', 1.0, None, u'wild blueberries (fresh or frozen)', u'wild blueberries (fresh or frozen)', False, None, None, 8, False), (22, 4, None, None, None, None, u'decorators sugar - for sprinkling', u'decorators sugar - for sprinkling', True, None, None, 9, False)]
vw: [(22, 4, None, None, None, None, u'decorators sugar - for sprinkling', u'decorators sugar - for sprinkling', True, None, None, 9, False)]
prefs: <gourmet.prefs.Prefs instance at 0x7f39ed111c68>
retval: None
mult: 1

Potential duplicate: bug 1255975

Comment 1 Alex Finkel 2016-04-19 17:58:32 UTC
Created attachment 1148707 [details]
File: backtrace

Comment 2 Alex Finkel 2016-04-19 17:58:32 UTC
Created attachment 1148708 [details]
File: environ

Comment 3 Fedora End Of Life 2016-11-25 07:24:21 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2016-12-20 20:02:26 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 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.