Bug 860336 - [abrt] gourmet-0.15.9-4.fc17: recindex.py:683:_get_slice_:TypeError: slice indices must be integers or None or have an __index__ method
Summary: [abrt] gourmet-0.15.9-4.fc17: recindex.py:683:_get_slice_:TypeError: slice in...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gourmet
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jef Spaleta
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3a8840c1aefc007530f6a838089...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-25 16:10 UTC by it.only
Modified: 2013-08-01 01:57 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-01 01:57:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: core_backtrace (598 bytes, text/plain)
2012-09-25 16:10 UTC, it.only
no flags Details

Description it.only 2012-09-25 16:10:45 UTC
Description of problem:
Started Gourmet and imported xml extra from previous version.

Adding new recipie resulting in the error.


Version-Release number of selected component:
gourmet-0.15.9-4.fc17

Additional info:
libreport version: 2.0.13
abrt_version:   2.0.12
cmdline:        /usr/bin/python /usr/bin/gourmet
kernel:         3.5.3-1.fc17.x86_64

backtrace:
:recindex.py:683:_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 1032, in save_cb
:    self.rg.rmodel.update_recipe(self.current_rec)
:  File "/usr/lib/python2.7/site-packages/gourmet/recindex.py", line 720, 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 683, 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: 14.0
:self: <RecipeModel object at 0x2794aa0 (gourmet+gtk_extras+pageable_store+PageableViewStore at 0x12a6030)>
:bottom: 13.0

Comment 1 it.only 2012-09-25 16:10:48 UTC
Created attachment 617103 [details]
File: core_backtrace

Comment 2 steller_norm 2013-01-02 03:08:14 UTC
On boot

Package: gourmet-0.15.9-4.fc17
Architecture: i686
OS Release: Fedora release 17 (Beefy Miracle)

Comment 3 Fedora End Of Life 2013-07-03 23:21:04 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. 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 WONTFIX if it remains open with a Fedora 
'version' of '17'.

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 prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 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 to Fedora 17's end of life.

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 2013-08-01 01:57:45 UTC
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 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.

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.