Red Hat Bugzilla – Bug 220750
yumex dont work with python 2.5 (sqlite trackback)
Last modified: 2007-11-30 17:11: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
The text from the exception box:
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
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
Local variables in innermost frame:
cache: <sqlite3.Connection object at 0x9bf3110>
self: <yum.sqlitesack.YumSqlitePackageSack instance at 0x9c145cc>
Version-Release number of selected component (if applicable):
Sorry, my steps are vague.
Steps to Reproduce:
1. new install fc6
2. yumex, select all, install
3. reboot, yumex
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
Confirming this bug for
on a fully updated rawhide.
Will update this thread when yumex 1.9.1 is out.
*** Bug 221034 has been marked as a duplicate of this bug. ***
*** Bug 219746 has been marked as a duplicate of this bug. ***
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.
That version works for me. Changing state to Verified. thanks.
*** Bug 221699 has been marked as a duplicate of this bug. ***
Thank you for the bug report. Closing bug as per comment #5 and comment #6.
Fedora 7 contains "yumex-1.9.6".