Bug 1046108 - [abrt] gourmet: exportManager.py:40:offer_single_export:NameError: global name '_' is not defined
Summary: [abrt] gourmet: exportManager.py:40:offer_single_export:NameError: global nam...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gourmet
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jef Spaleta
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:b92a78749af395a31c70a1e247a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-23 17:20 UTC by Jorge Martínez López
Modified: 2015-06-29 13:46 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-29 13:46:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.14 KB, text/plain)
2013-12-23 17:20 UTC, Jorge Martínez López
no flags Details
File: environ (1.45 KB, text/plain)
2013-12-23 17:20 UTC, Jorge Martínez López
no flags Details

Description Jorge Martínez López 2013-12-23 17:20:28 UTC
Description of problem:
Clicking on "Export recipe" on the menu.

Found https://bugs.launchpad.net/gourmet/+bug/1157969

Read the commit at https://github.com/thinkle/gourmet/pull/723 added the extra line and the problem is solved.

Version-Release number of selected component:
gourmet-0.16.0-2.fc20

Additional info:
reporter:       libreport-2.1.10
cmdline:        /usr/bin/python /usr/bin/gourmet
executable:     /usr/bin/gourmet
kernel:         3.12.5-302.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
exportManager.py:40:offer_single_export:NameError: global name '_' is not defined

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gourmet/reccard.py", line 575, in export_cb
    mult=self.mult)
  File "/usr/lib/python2.7/site-packages/gourmet/exporters/exportManager.py", line 40, in offer_single_export
    filename,exp_type = de.saveas_file(_('Save recipe as...'),
NameError: global name '_' is not defined

Local variables in innermost frame:
default_extension: 'html'
parent: <gtk.Window object at 0x31f5370 (GtkWindow at 0x2b80c00)>
self: <gourmet.exporters.exportManager.ExportManager instance at 0x3438fc8>
rec: (65, u'Pat\xe9 de sardinas', u'1\xba.- Ponga en el vaso los quesitos y el pimiento y programe TM 31 2 minutos / 37 grados /velocidad 4\n(TM 21) 2 minutos / 40 grados / velocidad 4\n\n2\xba.- A\xf1ada las sardinas y triture 30 segundos a velocidad 4.', u'', u'Espa\xf1ol', 0, None, u'Pap\xe1', 0, 0, None, 0.0, u'', None, None, False, u'b8fac7100af9446555be58ea233bfcea', u'36c823764808101e2b4b3d7a5128f722', u'', 1387740869.24853)
prefs: <gourmet.prefs.Prefs instance at 0x2c18d40>
exp_directory: '/home/jorgeml'
mult: 1

Comment 1 Jorge Martínez López 2013-12-23 17:20:33 UTC
Created attachment 840909 [details]
File: backtrace

Comment 2 Jorge Martínez López 2013-12-23 17:20:35 UTC
Created attachment 840910 [details]
File: environ

Comment 3 Bernhard Reiter 2015-03-22 01:25:20 UTC
Also, please update Source0 -- we're using GitHub now for releases instead of Launchpad.

Comment 4 Fedora End Of Life 2015-05-29 10:08:11 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. 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 '20'.

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 20 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 5 Fedora End Of Life 2015-06-29 13:46:03 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 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.


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