[Bug 1020526] Re: Software Updater crashes with: AttributeError: '_io.BufferedRandom' object has no attribute 'encoding' in MetaRelease.py, line 217, in parse
Jean-Baptiste Lallement
jean-baptiste at ubuntu.com
Tue Jul 3 13:11:49 UTC 2012
** Summary changed:
- 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
** Also affects: update-manager (Ubuntu Quantal)
Importance: Undecided
Status: New
** Changed in: update-manager (Ubuntu Quantal)
Assignee: (unassigned) => Canonical Foundations Team (canonical-foundations)
** Changed in: update-manager (Ubuntu Quantal)
Importance: Undecided => High
** Changed in: update-manager (Ubuntu Quantal)
Status: New => Confirmed
** Tags added: rls-q-incoming
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1020526
Title:
Software Updater crashes with: AttributeError: '_io.BufferedRandom'
object has no attribute 'encoding' in MetaRelease.py, line 217, in
parse
Status in “update-manager” package in Ubuntu:
Confirmed
Status in “update-manager” source package in Quantal:
Confirmed
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 at 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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1020526/+subscriptions
More information about the foundations-bugs
mailing list