Ubuntu

Software Updater crashes with: AttributeError: '_io.BufferedRandom' object has no attribute 'encoding' in MetaRelease.py, line 217, in parse

Reported by Fabio Marconi on 2012-07-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
High
Canonical Foundations Team
Quantal
High
Canonical Foundations Team

Bug Description

Release of Ubuntu:12.10
Package Version:Installed: 1:0.165
Expected Results: it works
Actual Results: it close itself without notify

Hallo
Trying to run an update from UI, it update the cash and propose the partial upgrade, but when I click on continue, it close itself without error notify.
Launched from terminal it return that:

 Error accessing /usr/lib/ubuntu-release-upgrader/do-partial-upgrade: No such file or directory

Complete terminal output:

njin@quantic:~/Ubuntu$ update-manager -d
Gtk-Message: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
ERROR:root:parse failed for '/home/njin/.cache/update-manager-core/meta-release-development'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/MetaRelease.py", line 330, in download
    self.parse()
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/MetaRelease.py", line 217, in parse
    parseddate = list(email.utils.parsedate(rawdate))
  File "/usr/lib/python3.2/email/utils.py", line 182, in parsedate
    return _parsedate(data)
  File "/usr/lib/python3.2/email/_parseaddr.py", line 147, in parsedate
    t = parsedate_tz(data)
  File "/usr/lib/python3.2/email/_parseaddr.py", line 85, in parsedate_tz
    if dd[-1] == ',':
AttributeError: '_io.BufferedRandom' object has no attribute 'encoding'
Error accessing /usr/lib/ubuntu-release-upgrader/do-partial-upgrade: No such file or directory

Thanks
Fabio

ProblemType: BugDistroRelease: Ubuntu 12.10
Package: update-manager 1:0.165
ProcVersionSignature: Ubuntu 3.5.0-2.2-generic 3.5.0-rc4
Uname: Linux 3.5.0-2-generic x86_64
ApportVersion: 2.2.5-0ubuntu1
Architecture: amd64
Date: Tue Jul 3 14:35:51 2012
GsettingsChanges:
 b'com.ubuntu.update-manager' b'first-run' b'false'
 b'com.ubuntu.update-manager' b'launch-time' b'1341318755'
 b'com.ubuntu.update-manager' b'show-details' b'true'
 b'com.ubuntu.update-manager' b'window-height' b'744'
 b'com.ubuntu.update-manager' b'window-width' b'1317'
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120525)
PackageArchitecture: allSourcePackage: update-manager
UpgradeStatus: No upgrade log present (probably fresh install)

Fabio Marconi (fabiomarconi) wrote :
summary: - Software Updater close itself without notify
+ Software Updater close itself without error notify
description: updated
summary: - Software Updater close itself without error notify
+ Software Updater crashes with: AttributeError: '_io.BufferedRandom'
+ object has no attribute 'encoding' in MetaRelease.py, line 217, in parse
Changed in update-manager (Ubuntu Quantal):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
importance: Undecided → High
status: New → Confirmed
tags: added: rls-q-incoming
tags: removed: rls-q-incoming
Michael Terry (mterry) on 2012-07-03
Changed in update-manager (Ubuntu Quantal):
status: Confirmed → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.166

---------------
update-manager (1:0.166) quantal; urgency=low

  [ Colin Watson ]
  * Write metarelease file as UTF-8 (LP: #1020526)

  [ Michael Terry ]
  * Use a wrapper script of /bin/sh when calling pkexec, to workaround its
    requirement that the ppid not be 1. (LP: #1020115)
  * Update Unity badge count before showing "please restart" dialog
  * Don't allow closing the "please restart" dialog via window manager
  * Show "please restart" dialog on startup if needed, instead of only
    after installing some updates
 -- Colin Watson <email address hidden> Tue, 10 Jul 2012 11:39:44 +0100

Changed in update-manager (Ubuntu Quantal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers