Bug 705025 - [abrt] gourmet-0.15.6-4.fc14: recindex.py:676:_get_slice_:TypeError: slice indices must be integers or None or have an __index__ method
Summary: [abrt] gourmet-0.15.6-4.fc14: recindex.py:676:_get_slice_:TypeError: slice in...
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:29dfee1f
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-16 12:50 UTC by eblix08
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:33 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (1.13 KB, text/plain)
2011-05-16 12:51 UTC, eblix08
no flags Details

Description eblix08 2011-05-16 12:50:43 UTC
abrt version: 1.1.18
architecture: x86_64
cmdline: /usr/bin/python /usr/bin/gourmet
component: gourmet
executable: /usr/bin/gourmet
kernel: 2.6.35.13-91.fc14.x86_64
package: gourmet-0.15.6-4.fc14
reason: recindex.py:676:_get_slice_:TypeError: slice indices must be integers or None or have an __index__ method
release: Fedora release 14 (Laughlin)
time: 1305550172
uid: 500

backtrace
-----
recindex.py:676:_get_slice_:TypeError: slice indices must be integers or None or have an __index__ method

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gourmet/reccard.py", line 1024, in save_cb
    self.rg.rmodel.update_recipe(self.current_rec)
  File "/usr/lib/python2.7/site-packages/gourmet/recindex.py", line 713, in update_recipe
    self.update_iter(row.iter)
  File "/usr/lib/python2.7/site-packages/gourmet/gtk_extras/pageable_store.py", line 139, in update_iter
    for num_and_col in enumerate(self._get_item_(indx)): args.extend(num_and_col)
  File "/usr/lib/python2.7/site-packages/gourmet/gtk_extras/pageable_store.py", line 71, in _get_item_
    return self._get_slice_(indx,indx+1)[0]
  File "/usr/lib/python2.7/site-packages/gourmet/recindex.py", line 676, in _get_slice_
    return [[self._get_value_(r,col) for col in self.columns] for r in self.view[bottom:top]]
TypeError: slice indices must be integers or None or have an __index__ method

Local variables in innermost frame:
top: 1.0
self: <RecipeModel object at 0x327c0a0 (gourmet+gtk_extras+pageable_store+PageableViewStore at 0x32c4990)>
bottom: 0.0

How to reproduce
-----
1. Added a new recipe entering only the title of Goulash and category on entree.
2. Saved
3. Crashed

Comment 1 eblix08 2011-05-16 12:51:29 UTC
Created attachment 499140 [details]
File: backtrace

Comment 2 Fedora End Of Life 2012-08-16 13:40:36 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.