DistUpgradeViewKDE.py", in line 396, in update_interface AttributeError: 'KDEInstallProgressAdapter' object has no attribute 'read'AttributeError: 'KDEInstallProgressAdapter' object has no attribute 'read'

Bug #991728 reported by Nevill
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Confirmed
High
Unassigned

Bug Description

I am using Kubuntu 12.04, and before that I used 9.10, 10.04, 10.10, 11.04 and 11.10 consequently. Every single time upgrade from one distro to the next through update manager failed midway and I am forced to upgrade manually.

The updates download and extract fine, it is the installation phase where the process halts. The manager window becomes blank and disk activity ceases.

I have attached the contents of the 'dist-upgrade' folder below.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: update-manager-kde 1:0.156.14
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Mon Apr 30 01:23:45 2012
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101008)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=ru_RU
 TERM=xterm
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager
UpgradeStatus: Upgraded to precise on 2012-04-28 (1 days ago)

Revision history for this message
Nevill (spb-nevill) wrote :
Revision history for this message
Nevill (spb-nevill) wrote :
Revision history for this message
Nevill (spb-nevill) wrote :
Revision history for this message
Nevill (spb-nevill) wrote :
Revision history for this message
Nevill (spb-nevill) wrote :
Revision history for this message
Nevill (spb-nevill) wrote :
Revision history for this message
Nevill (spb-nevill) wrote :

Too many files in this archive to attach individually.

description: updated
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

Errors from the log:
2012-04-28 23:56:46,913 ERROR not handled exception in KDE frontend:
Traceback (most recent call last):
  File "/tmp/update-manager-rieTLl/DistUpgradeViewKDE.py", line 220, in pulse
    self.status.setText(_("Fetching file %li of %li at %sB/s") % (current_item, self.total_items, apt_pkg.size_to_str(self.current_cps)))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1: ordinal not in range(128)

and then
2012-04-29 00:00:54,202 ERROR not handled exception in KDE frontend:
Traceback (most recent call last):
  File "/tmp/update-manager-rieTLl/precise", line 7, in <module>
    sys.exit(main())
  File "/tmp/update-manager-rieTLl/DistUpgradeMain.py", line 220, in main
    if app.run():
  File "/tmp/update-manager-rieTLl/DistUpgradeController.py", line 1721, in run
    return self.fullUpgrade()
  File "/tmp/update-manager-rieTLl/DistUpgradeController.py", line 1690, in fullUpgrade
    if not self.doDistUpgrade():
  File "/tmp/update-manager-rieTLl/DistUpgradeController.py", line 1065, in doDistUpgrade
    res = self.cache.commit(fprogress,iprogress)
  File "/tmp/update-manager-rieTLl/DistUpgradeCache.py", line 256, in commit
    apt.Cache.commit(self, fprogress, iprogress)
  File "/usr/lib/python2.7/dist-packages/apt/deprecation.py", line 98, in deprecated_function
    return func(*args, **kwds)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 473, in commit
    res = self.install_archives(pm, install_progress)
  File "/usr/lib/python2.7/dist-packages/apt/deprecation.py", line 98, in deprecated_function
    return func(*args, **kwds)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 436, in install_archives
    res = install_progress.run(pm)
  File "/tmp/update-manager-rieTLl/DistUpgradeView.py", line 211, in run
    res = os.WEXITSTATUS(self.wait_child())
  File "/tmp/update-manager-rieTLl/DistUpgradeViewKDE.py", line 415, in wait_child
    self.update_interface()
  File "/tmp/update-manager-rieTLl/DistUpgradeViewKDE.py", line 396, in update_interface
    logging.error("got ValueError from InstallProgress.update_interface. Line was '%s' (%s)" % (self.read, e))
AttributeError: 'KDEInstallProgressAdapter' object has no attribute 'read'

Changed in update-manager (Ubuntu):
importance: Undecided → High
status: New → Won't Fix
status: Won't Fix → Confirmed
summary: - dist-upgrade from 11.10 to 12.04 through Update Manager stops midway
+ DistUpgradeViewKDE.py", line 220, in pulse self.status.setText :
+ UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1:
+ ordinal not in range(128)
summary: - DistUpgradeViewKDE.py", line 220, in pulse self.status.setText :
- UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1:
- ordinal not in range(128)
+ DistUpgradeViewKDE.py", line 220, in line 396, in update_interface
+ AttributeError: 'KDEInstallProgressAdapter' object has no attribute
+ 'read'AttributeError: 'KDEInstallProgressAdapter' object has no
+ attribute 'read'
summary: - DistUpgradeViewKDE.py", line 220, in line 396, in update_interface
- AttributeError: 'KDEInstallProgressAdapter' object has no attribute
+ DistUpgradeViewKDE.py", in line 396, in update_interface AttributeError:
+ 'KDEInstallProgressAdapter' object has no attribute
'read'AttributeError: 'KDEInstallProgressAdapter' object has no
attribute 'read'
tags: added: kubuntu
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.