Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 732387

Summary: ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.
Product: Red Hat Enterprise Linux 6 Reporter: Ľuboš Kardoš <lkardos>
Component: yumAssignee: James Antill <james.antill>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: jorton
Target Milestone: rc   
Target Release: ---   
Hardware: ppc64   
OS: Unspecified   
Whiteboard: abrt_hash:c2e5dfb9750dfe428013136f886a9ad392236ff829aaae437caba4881c026b79
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-22 16:29:49 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:
Bug Depends On:    
Bug Blocks: 691780    
Attachments:
Description Flags
File: anaconda-tb-NDnNla none

Description Ľuboš Kardoš 2011-08-22 09:25:22 UTC
abrt version: 2.0.5
executable:     /mnt/runtime/usr/bin/python
hashmarkername: anaconda
kernel:         2.6.32-191.el6.ppc64
product:        Red Hat Enterprise Linux
reason:         ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.
time:           Mon Aug 22 01:15:58 2011
version:        6.2

description:
:The following was filed automatically by anaconda:
:anaconda 13.21.132 exception report
:Traceback (most recent call first):
:  File "/usr/lib/python2.6/site-packages/yum/sqlutils.py", line 168, in executeSQLQmark
:    return cursor.execute(query, params)
:  File "/usr/lib/python2.6/site-packages/yum/history.py", line 1290, in _save_anydb_key
:    executeSQL(cur, sql, (pid, attr, val))
:  File "/usr/lib/python2.6/site-packages/yum/history.py", line 1308, in _save_rpmdb
:    self._save_anydb_key(ipkg, "rpm", attr, val)
:  File "/usr/lib/python2.6/site-packages/yum/history.py", line 1339, in sync_alldb
:    if not self._save_rpmdb(ipkg):
:  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1610, in verifyTransaction
:    self.history.sync_alldb(po)
:  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1531, in runTransaction
:    self.verifyTransaction(resultobject)
:  File "/usr/lib/anaconda/yuminstall.py", line 1087, in _run
:    self.runTransaction(cb=cb)
:  File "/usr/lib/anaconda/yuminstall.py", line 1069, in run
:    if self._run(instLog, cb, intf) == DISPATCH_BACK:
:  File "/usr/lib/anaconda/yuminstall.py", line 1849, in doInstall
:    rc = self.ayum.run(self.instLog, cb, anaconda.intf, anaconda.id)
:  File "/usr/lib/anaconda/backend.py", line 242, in doInstall
:    return anaconda.backend.doInstall(anaconda)
:  File "/usr/lib/anaconda/dispatch.py", line 208, in moveStep
:    rc = stepFunc(self.anaconda)
:  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
:    self.moveStep()
:  File "/usr/lib/anaconda/gui.py", line 1390, in nextClicked
:    self.anaconda.dispatch.gotoNext()
:  File "/usr/lib/anaconda/iw/progress_gui.py", line 79, in renderCallback
:    self.intf.icw.nextClicked()
:  File "/usr/lib/anaconda/gui.py", line 1411, in handleRenderCallback
:    self.currentWindow.renderCallback()
:ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.

Comment 1 Ľuboš Kardoš 2011-08-22 09:30:00 UTC
Created attachment 519250 [details]
File: anaconda-tb-NDnNla

Comment 2 James Antill 2011-08-22 16:29:49 UTC

*** This bug has been marked as a duplicate of bug 730365 ***