Public bug reported:

$ sstack 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)

** Affects: python-novaclient (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug cosmic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1777482

Title:
  console-log ERROR (TypeError): write() argument must be str, not bytes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-novaclient/+bug/1777482/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to