euca-get-console-output fails if output not to a console [error: decode() argument 1 must be string, not None]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
euca2ools (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Filed upstream as https:/
If i redirect stdout of euca-get-
euca-get-
This is terribly unhelpful, as if I'm looking for console output, I most likely want to do something other than just read it manually (ie, search it or grep it).
$ dpkg-query --show euca2ools
euca2ools 3.0.2-1
$ IID=i-36874418
$ euca-get-
euca-get-
$ echo $?
1
$ euca-get-
euca-get-
i-36874418
2014-01-
$ euca-get-
i-36874418
2014-01-
Xen Minimal OS!
start_info: 0xac4000(VA)
nr_pages: 0x26700
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: euca2ools 3.0.2-1
ProcVersionSign
Uname: Linux 3.12.0-2-generic x86_64
ApportVersion: 2.12.7-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Jan 7 15:15:57 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2011-10-19 (811 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
PackageArchitec
SourcePackage: euca2ools
UpgradeStatus: Upgraded to trusty on 2013-05-20 (232 days ago)
tags: | added: patch |
Fix is fairly trivial, jsut avoid passing None to decode().