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 730951 - 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.
Summary: ProgrammingError: You must not use 8-bit bytestrings unless you use a text_fa...
Keywords:
Status: CLOSED DUPLICATE of bug 730365
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum
Version: 6.2
Hardware: All
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: James Antill
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard: abrt_hash:c2e5dfb9750dfe428013136f886...
: 732717 (view as bug list)
Depends On:
Blocks: 691780
TreeView+ depends on / blocked
 
Reported: 2011-08-16 11:01 UTC by Michal Kovarik
Modified: 2014-01-21 06:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-04 19:13:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Michal Kovarik 2011-08-16 11:01:18 UTC
abrt version: 2.0.5
executable:     /mnt/runtime/usr/bin/python
hashmarkername: anaconda
kernel:         2.6.32-184.el6.s390x
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:           Tue Aug 16 07:03:26 2011
version:        6.2

description:
:The following was filed automatically by anaconda:
:anaconda 13.21.127 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 1298, in _save_anydb_key
:    executeSQL(cur, sql, (pid, attr, val))
:  File "/usr/lib/python2.6/site-packages/yum/history.py", line 1316, in _save_rpmdb
:    self._save_anydb_key(ipkg, "rpm", attr, val)
:  File "/usr/lib/python2.6/site-packages/yum/history.py", line 1347, 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 1085, in _run
:    self.runTransaction(cb=cb)
:  File "/usr/lib/anaconda/yuminstall.py", line 1067, in run
:    if self._run(instLog, cb, intf) == DISPATCH_BACK:
:  File "/usr/lib/anaconda/yuminstall.py", line 1847, 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 1389, 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 1410, 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 2 Michal Kovarik 2011-08-16 11:34:14 UTC
Description of problem:
Installation with all packages failed.

Steps to Reproduce:
1. start graphic installation 
2. select all packages
3.

or use kickstart with:
%packages
*
-@conflicts-Server

Comment 3 Alexander Todorov 2011-08-23 11:21:22 UTC
*** Bug 732717 has been marked as a duplicate of this bug. ***

Comment 5 James Antill 2011-10-04 19:13:48 UTC

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


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