Bug 653769

Summary: [abrt] gourmet-0.15.4-5.fc14: threadlocal.py:78:commit:IndexError: pop from empty list
Product: [Fedora] Fedora Reporter: Jeff Raber <jeff.raber>
Component: gourmetAssignee: Jef Spaleta <jspaleta>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: jspaleta
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:f0b83310
Fixed In Version: 0.15.6-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-12 06:09:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description Jeff Raber 2010-11-16 04:38:32 UTC
abrt version: 1.1.13
architecture: x86_64
cmdline: /usr/bin/python /usr/bin/gourmet
component: gourmet
executable: /usr/bin/gourmet
kernel: 2.6.35.6-48.fc14.x86_64
package: gourmet-0.15.4-5.fc14
reason: threadlocal.py:78:commit:IndexError: pop from empty list
release: Fedora release 14 (Laughlin)
time: 1289880163
uid: 500

backtrace
-----
threadlocal.py:78:commit:IndexError: pop from empty list

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gourmet/GourmetRecipeManager.py", line 1389, in quit
    GourmetApplication.quit(self)
  File "/usr/lib/python2.7/site-packages/gourmet/GourmetRecipeManager.py", line 518, in quit
    self.save()
  File "/usr/lib/python2.7/site-packages/gourmet/GourmetRecipeManager.py", line 460, in save
    self.rd.save()
  File "/usr/lib/python2.7/site-packages/gourmet/backends/db.py", line 218, in save
    self.db.commit()
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/threadlocal.py", line 78, in commit
    trans = self._connections.trans.pop(-1)
IndexError: pop from empty list

Local variables in innermost frame:
self: TLEngine(sqlite:////home/jeff/.gourmet/recipes.db)

comment
-----
100% reproducible after applying the patch mentioned in bug 641743 comment 12[1]
This is a known issue (with sqlalchemy?) and has been resolved upstream.[2]

1: https://bugzilla.redhat.com/show_bug.cgi?id=641743#c12
2: http://grecipe-manager.git.sourceforge.net/git/gitweb.cgi?p=grecipe-manager/grecipe-manager;a=commit;h=e163fd8ad6f94754d7a13789faa4ac632b1cc7f8

How to reproduce
-----
1. Open gourmet
2. File > Quit

Comment 1 Jeff Raber 2010-11-16 04:38:34 UTC
Created attachment 460726 [details]
File: backtrace

Comment 2 Jeff Raber 2010-12-12 06:09:33 UTC
This issue is resolved in gourmet-0.15.6-4

Closing as CURRENTRELEASE as this bug never appeared in any version of gourmet in fedora.



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