Bug 220750 - yumex dont work with python 2.5 (sqlite trackback)
yumex dont work with python 2.5 (sqlite trackback)
Product: Fedora
Classification: Fedora
Component: yumex (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Lauridsen
Fedora Extras Quality Assurance
: 219746 221034 221699 (view as bug list)
Depends On:
Blocks: FE7Target
  Show dependency treegraph
Reported: 2006-12-25 14:52 EST by kurt dicke
Modified: 2007-11-30 17:11 EST (History)
4 users (show)

See Also:
Fixed In Version: yumex-1.9.6-1.0.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-07-02 17:37:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description kurt dicke 2006-12-25 14:52:52 EST
Description of problem:
I installed fc6 yesterday from scratch.
I used yumex to do an update and did a select all.
yumex then ran for about 45 minutes and appeared to be near completion when
the window exited.
I tried starting yumex again and it again exited.
I rebooted and ran yumex again and received exception and request to submit bug.
I read the only yumex bug I found and the trace didn't match so I'm submitting a
new bug.

The text from the exception box:
Component: yumex
Version: 1.2.1
Summary: TBe83547cb sqlitesack.py:446:simplePkgList:ProgrammingError: SQLite
objects created in a thread can only be used in that same thread.The object was
created in thread id -1226904688 and this is thread id -1208301888

Traceback (most recent call last):
  File "/usr/share/yumex/yumexmain.py", line 1108, in <module>
    mainApp = YumexMainApplication()
  File "/usr/share/yumex/yumexmain.py", line 541, in __init__
  File "/usr/share/yumex/yumexmain.py", line 995, in setup_yum
    self.yumexbase.build_package_lists( self.recentlimit, pkglists )
  File "/usr/lib/python2.5/site-packages/yumex/yumexBase.py", line 445, in
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 357, in
  File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line 303, in
    return self._computeAggregateListResult("simplePkgList")
  File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line 323, in
    sackResult = apply(method, args)
  File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 446, in
    cur = cache.cursor()
ProgrammingError: SQLite objects created in a thread can only be used in that
same thread.The object was created in thread id -1226904688 and this is thread
id -1208301888

Local variables in innermost frame:
simplelist: []
rep: development
cache: <sqlite3.Connection object at 0x9bf3110>
self: <yum.sqlitesack.YumSqlitePackageSack instance at 0x9c145cc>

Version-Release number of selected component (if applicable):

How reproducible:
Sorry, my steps are vague.

Steps to Reproduce:
1. new install fc6
2. yumex, select all, install
3. reboot, yumex
Actual results:
yumex exception

Expected results:
yumex success

Additional info:
Comment 1 Tim Lauridsen 2006-12-26 03:26:23 EST
This error happens because of Python 2.5, yumex 1.2.1 dont work with python 2.5
at the moment.
Python 2.5 is not a part of FC6, it only available in Rawhide, it will soon
release a yumex 1.9.1 prerelease there works with python 2.5
Comment 2 Saikat Guha 2006-12-26 12:18:36 EST
Confirming this bug for 
on a fully updated rawhide.
Will update this thread when yumex 1.9.1 is out.
Comment 3 Tim Lauridsen 2007-01-03 09:34:49 EST
*** Bug 221034 has been marked as a duplicate of this bug. ***
Comment 4 Tim Lauridsen 2007-01-03 09:36:46 EST
*** Bug 219746 has been marked as a duplicate of this bug. ***
Comment 5 Tim Lauridsen 2007-01-03 09:44:50 EST
I have current 1.9.1 (PreRelease1) should work with python 2.5, please check it
out a report back to me.

get it here :


The changes is to big to get into yumex 1.2.x, so i will not work with python
2.5, only the 1.9.x branch will be working with python 1.5.
Comment 6 kurt dicke 2007-01-05 18:08:59 EST
That version works for me. Changing state to Verified. thanks.
Comment 7 Tim Lauridsen 2007-01-07 06:50:12 EST
*** Bug 221699 has been marked as a duplicate of this bug. ***
Comment 8 Peter van Egdom 2007-07-02 17:37:54 EDT
Thank you for the bug report. Closing bug as per comment #5 and comment #6. 
Fedora 7 contains "yumex-1.9.6".

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