[Bug 1020526] Re: Software Updater crashes with: AttributeError: '_io.BufferedRandom' object has no attribute 'encoding' in MetaRelease.py, line 217, in parse
Launchpad Bug Tracker
1020526 at bugs.launchpad.net
Tue Jul 10 10:45:27 UTC 2012
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 <cjwatson at ubuntu.com> Tue, 10 Jul 2012 11:39:44 +0100
** Changed in: update-manager (Ubuntu Quantal)
Status: Fix Committed => Fix Released
--
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:
Fix Released
Status in “update-manager” source package in Quantal:
Fix Released
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