Bug 212758

Summary: Yumex crashes
Product: [Fedora] Fedora Reporter: Leo Wallentin <leo_wallentin>
Component: yumexAssignee: Tim Lauridsen <tim.lauridsen>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-10 09:29:23 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:

Description Leo Wallentin 2006-10-28 19:19:12 UTC
Description of problem:
Yumex sometimes crashes with  a message like this:

------------------------------------------------------------

Component: yumex
Version: 1.1.7-
Summary: TB9f78d0ec main.py:244:execute:DatabaseError: no such column: installtime

Traceback (most recent call last):
  File "/usr/share/yumex/yumexmain.py", line 126, in on_view_cursor_changed
    self.writePkgTime( self.pkgInfo, pkg, 'Install Time : %s\n', "installtime" )
  File "/usr/share/yumex/yumexmain.py", line 955, in writePkgTime
    data = pkg.getAttr( attr )
  File "/usr/lib/python2.4/site-packages/yumgui/packages.py", line 103, in getAttr
    return self._get_availible_attr(attr)
  File "/usr/lib/python2.4/site-packages/yumgui/packages.py", line 111, in
_get_availible_attr
    return self.__pkg.returnSimple(attr)
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 68, in
returnSimple
    c.execute(query)
  File "/usr/lib64/python2.4/site-packages/sqlite/main.py", line 244, in execute
    self.rs = self.con.db.execute(SQL)
DatabaseError: no such column: installtime

Local variables in innermost frame:
self: <sqlite.main.Cursor instance at 0xed79638>
parms: ()
SQL: select installtime from packages where pkgId =
'aa1c1f55b1fe3f6ad9be347ce29b7bdad56777a2'



------------------------------------------------------------

This happens sometimes when checking/unchecking items in update/install/remove
lists, otherwise I can see no patterns.

Comment 1 Tim Lauridsen 2006-10-30 17:24:19 UTC
I will see if i can reproduce the error

Comment 2 Tim Lauridsen 2006-11-10 09:29:23 UTC
Sorry, i cant reproduce this one, it is some weird stuff happening in the SQLite
code used by yum.