Bug 680649 - [abrt] gourmet-0.15.6-4.fc14: defaults_en_GB.py:703:guess_plurals:IndexError: string index out of range
Summary: [abrt] gourmet-0.15.6-4.fc14: defaults_en_GB.py:703:guess_plurals:IndexError:...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gourmet
Version: 14
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jef Spaleta
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6bfbcaa6
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-26 18:20 UTC by Michael Vergallen
Modified: 2012-08-16 13:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 13:40:11 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (749 bytes, text/plain)
2011-02-26 18:20 UTC, Michael Vergallen
no flags Details

Description Michael Vergallen 2011-02-26 18:20:04 UTC
abrt version: 1.1.17
architecture: x86_64
cmdline: /usr/bin/python /usr/bin/gourmet
component: gourmet
executable: /usr/bin/gourmet
kernel: 2.6.35.11-83.fc14.x86_64
package: gourmet-0.15.6-4.fc14
reason: defaults_en_GB.py:703:guess_plurals:IndexError: string index out of range
release: Fedora release 14 (Laughlin)
time: 1298737477
uid: 500

backtrace
-----
defaults_en_GB.py:703:guess_plurals:IndexError: string index out of range

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gourmet/reccard.py", line 2397, in ingtree_edited_cb
    d['ingkey']=self.rg.rd.km.get_key(text)
  File "/usr/lib/python2.7/site-packages/gourmet/keymanager.py", line 130, in get_key
    result = self.look_for_key(txt)
  File "/usr/lib/python2.7/site-packages/gourmet/keymanager.py", line 174, in look_for_key
    for p in defaults.guess_plurals(w):
  File "/usr/lib/python2.7/site-packages/gourmet/defaults/defaults_en_GB.py", line 703, in guess_plurals
    if s[-1]=='f': ret.append(s[0:-1]+'ves')
IndexError: string index out of range

Local variables in innermost frame:
s: ''
ret: ['s', 'es']

How to reproduce
-----
1. Entering data  ...
2.
3.

Comment 1 Michael Vergallen 2011-02-26 18:20:07 UTC
Created attachment 481167 [details]
File: backtrace

Comment 2 Jeff Raber 2011-02-26 21:50:51 UTC
Can you reliably reproduce this crash?  If so, please provide the steps necessary to do so.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 3 Michael Vergallen 2011-03-02 00:00:12 UTC
yes I can reproduce this crash ...just by adding a recepie with as ingredient ´2 whole cloves´ instead of ´2 whole clove' and the like ...

Comment 4 Michael Vergallen 2011-03-02 10:23:25 UTC
it crashes when entering some plurals of items ´2 leaks´, ´2 shallots´,´2 cloves´, ´2 yolks´ also when you try to import recipes like the one on : http://www.bbcgoodfood.com/recipes/3592/ where a lot of plurals are used.

Comment 5 Jeff Raber 2011-05-10 20:04:53 UTC
I would be interested to know if you can reproduce this crash with the latest
version of gourmet.  You can install the latest version by running the
following in a root shell:  'yum --enablerepo=updates-testing update gourmet'

You can provide feedback about the latest version here:
https://admin.fedoraproject.org/updates/gourmet-0.15.9-1.fc14

Comment 6 Fedora End Of Life 2012-08-16 13:40:14 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

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

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached 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 to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

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.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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