Bug 473328

Summary: Unicode warning when updating packages
Product: [Fedora] Fedora Reporter: Tim Landscheidt <tim>
Component: yumAssignee: Seth Vidal <skvidal>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: 10CC: ffesti, james.antill, katzj, pmatilai, thomas, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-05 02:19:19 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:

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.