[kde] python2.6 crashed with UnicodeDecodeError in decode()

Bug #470424 reported by paguaro
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: python2.6

sudo kpackagekit

-----
removing transaction from pool : "/60_abdecada_data"
removing transaction from pool : "/61_aaabdadc_data"
Error: "/var/tmp/kdecache-myuser" is owned by uid 1001 instead of uid 0.
Error: "/tmp/kde-myuser" is owned by uid 1001 instead of uid 0.
Traceback (most recent call last):
  File "/usr/bin/software-properties-kde", line 122, in <module>
    app = SoftwarePropertiesKDE(datadir=data_dir, options=options, file=file, attachWinID=attachWinID)
  File "/usr/lib/python2.6/dist-packages/softwareproperties/kde/SoftwarePropertiesKDE.py", line 104, in __init__
    self.show_keys()
  File "/usr/lib/python2.6/dist-packages/softwareproperties/kde/SoftwarePropertiesKDE.py", line 606, in show_keys
    self.userinterface.treeview2.addTopLevelItem(QTreeWidgetItem([utf8(key)]))
  File "/usr/lib/python2.6/dist-packages/softwareproperties/kde/SoftwarePropertiesKDE.py", line 57, in utf8
    return unicode(str, 'UTF-8')
  File "/usr/lib/python2.6/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 45-46: invalid data

ProblemType: Crash
Architecture: i386
Date: Mon Nov 2 11:02:03 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/python2.6
InterpreterPath: /usr/bin/python2.6
Package: python2.6-minimal 2.6.4~rc2-0ubuntu1
ProcCmdline: /usr/bin/python /usr/bin/software-properties-kde --attach 81788965
ProcEnviron:
 PATH=(custom, no user)
 LANG=it_IT.UTF-8
 LANGUAGE=it_IT:it:en_GB:en
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
PythonArgs: []
SourcePackage: python2.6
Title: python2.6 crashed with UnicodeDecodeError in decode()
Uname: Linux 2.6.31-14-generic i686
UserGroups: vboxusers
XsessionErrors:
 (nautilus:4771): Liboobs-WARNING **: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
 (gnome-panel:4769): Bonobo-WARNING **: Cannot get value: Unknown CORBA exception id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
 (trackerd:4829): GLib-WARNING **: Invalid file descriptor.

Revision history for this message
paguaro (paguaro) wrote :
tags: removed: need-duplicate-check
Matthias Klose (doko)
affects: python2.6 (Ubuntu) → software-properties (Ubuntu)
visibility: private → public
Revision history for this message
amichair (amichai2) wrote :

This looks very similar to bug #133937, which is fixed in lucid.

Can the reporter please either provide steps to recreate (attaching the /etc/apt/sources.list file to this report would be very useful), or verify whether this is fixed in lucid (with the same sources)? Thank you!

Changed in software-properties (Ubuntu):
status: New → Incomplete
Michael Vogt (mvo)
summary: - python2.6 crashed with UnicodeDecodeError in decode()
+ [kde] python2.6 crashed with UnicodeDecodeError in decode()
Revision history for this message
Guillaume Millet (guimillet) wrote :

I think it's a duplicate of bug #133937, however I have had the same problem, even after upgrading to lucid beta 1:
~$ kdesudo software-properties-kde
Traceback (most recent call last):
  File "/usr/bin/software-properties-kde", line 122, in <module>
    app = SoftwarePropertiesKDE(datadir=data_dir, options=options, file=file, attachWinID=attachWinID)
  File "/usr/lib/python2.6/dist-packages/softwareproperties/kde/SoftwarePropertiesKDE.py", line 128, in __init__
    self.init_distro()
  File "/usr/lib/python2.6/dist-packages/softwareproperties/kde/SoftwarePropertiesKDE.py", line 209, in init_distro
    text = _("%s updates") % self.distro.id
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)

Revision history for this message
Guillaume Millet (guimillet) wrote :

This bug reports same debug info as bug #133937, I mark it as a duplicate. Actually my bug seems different and is already reported as Bug #545927.

Revision history for this message
amichair (amichai2) wrote :

ptitpoul, your issue is indeed the same as bug #545927 (for which I have provided a fix which should be merged soon).

This report does look very similar to bug #133937, but is not identical to it, so we're waiting for original reporter to provide additional data and/or test on lucid. If we don't get more info nor manage to recreate it, we might mark it as duplicate as you have, but for now we're still giving it a chance.

Thanks for your report in any case :-)

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as requested in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the "Status" column, and change the status back to "New". Thanks again!

Changed in software-properties (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.