[Bug 1777482] Re: console-log ERROR (TypeError): write() argument must be str, not bytes
Corey Bryant
corey.bryant at canonical.com
Tue Jun 19 18:50:48 UTC 2018
Confirmed that I get the same behavior with python3-novaclient. It looks
like python-novaclient works as a work-around for now.
** Changed in: python-novaclient (Ubuntu)
Status: New => Triaged
** Changed in: python-novaclient (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-novaclient in Ubuntu.
https://bugs.launchpad.net/bugs/1777482
Title:
console-log ERROR (TypeError): write() argument must be str, not bytes
Status in python-novaclient package in Ubuntu:
Triaged
Bug description:
$ nova --debug console-log xenial-20180617-135556
DEBUG (shell:791) write() argument must be str, not bytes
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/novaclient/shell.py", line 789, in main
OpenStackComputeShell().main(argv)
File "/usr/lib/python3/dist-packages/novaclient/shell.py", line 711, in main
args.func(self.cs, args)
File "/usr/lib/python3/dist-packages/novaclient/v2/shell.py", line 2599, in do_console_log
codecs.getwriter('utf-8')(sys.stdout).write(data)
File "/usr/lib/python3.6/codecs.py", line 377, in write
self.stream.write(data)
TypeError: write() argument must be str, not bytes
ERROR (TypeError): write() argument must be str, not bytes
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: python3-novaclient 2:10.3.0-0ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
Uname: Linux 4.15.0-22-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.10-0ubuntu3
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Jun 18 10:55:17 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-07-23 (1061 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
PackageArchitecture: all
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: python-novaclient
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-novaclient/+bug/1777482/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list