Bug 473328 - Unicode warning when updating packages
Summary: Unicode warning when updating packages
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 10
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-27 18:58 UTC by Tim Landscheidt
Modified: 2014-01-21 23:07 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-05 02:19:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tim Landscheidt 2008-11-27 18:58:44 UTC
Description of problem:

There is a "UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal" when updating packages between the "updating" and "cleaning" steps due to comparing a Unicode string to "None".

I do not know Python to assess whether this problem should be fixed in yum or Python but the former seems to much easier (just initialize self.lastmsg to a Unicode empty string).


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

yum-3.2.20-3.fc10.noarch


How reproducible:


Steps to Reproduce:
1. yum update something-updatable
  

Actual results:

| [...]
|   Aktualisieren  : java-1.6.0-openjdk-demo                                                                                                              7/14
| /usr/share/yum-cli/output.py:1140: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  if msg != self.lastmsg:
|   Aufräumen     : paps                                                                                                                                 8/14
| [...]


Expected results:

| [...]
|   Aktualisieren  : java-1.6.0-openjdk-demo                                                                                                              7/14
|   Aufräumen     : paps                                                                                                                                 8/14
| [...]

Comment 1 Fedora Update System 2009-01-12 19:20:26 UTC
yum-3.2.21-2.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/yum-3.2.21-2.fc10

Comment 2 Fedora Update System 2009-01-12 19:27:52 UTC
yum-3.2.21-2.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/yum-3.2.21-2.fc9

Comment 3 Fedora Update System 2009-01-15 03:00:24 UTC
yum-3.2.21-2.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing-newkey update yum'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2009-0460

Comment 4 Fedora Update System 2009-01-15 03:09:34 UTC
yum-3.2.21-2.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update yum'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-0562

Comment 5 Fedora Update System 2009-02-05 02:18:40 UTC
yum-3.2.21-2.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2009-02-05 02:25:31 UTC
yum-3.2.21-2.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.


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