Skip to content

Instantly share code, notes, and snippets.

@swills
Created December 24, 2014 17:22
Show Gist options
  • Save swills/fc0c6b24bbaa7602d282 to your computer and use it in GitHub Desktop.
Save swills/fc0c6b24bbaa7602d282 to your computer and use it in GitHub Desktop.
[swills@gtest40 ~]$ gcloud compute instances get-serial-port-output --zone us-central1-b gtest40
Traceback (most recent call last):
File "/usr/local/bin/../share/google/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 175, in <module>
main()
File "/usr/local/bin/../share/google/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 171, in main
_cli.Execute()
File "/usr/local/bin/../share/google/google-cloud-sdk/./lib/googlecloudsdk/calliope/cli.py", line 385, in Execute
post_run_hooks=self.__post_run_hooks, kwargs=kwargs)
File "/usr/local/bin/../share/google/google-cloud-sdk/./lib/googlecloudsdk/calliope/frontend.py", line 274, in _Execute
pre_run_hooks=pre_run_hooks, post_run_hooks=post_run_hooks)
File "/usr/local/bin/../share/google/google-cloud-sdk/./lib/googlecloudsdk/calliope/backend.py", line 930, in Run
output_formatter(result)
File "/usr/local/bin/../share/google/google-cloud-sdk/./lib/googlecloudsdk/calliope/backend.py", line 916, in OutputFormatter
command_instance.Display(args, obj)
File "/usr/local/share/google/google-cloud-sdk/lib/googlecloudsdk/compute/subcommands/instances/get_serial_port_output.py", line 51, in Display
log.out.write(response)
File "/usr/local/bin/../share/google/google-cloud-sdk/./lib/googlecloudsdk/core/log.py", line 121, in write
self.__stream_wrapper.stream.write(msg)
UnicodeEncodeError: 'ascii' codec can't encode character u'\ufffd' in position 26023: ordinal not in range(128)
[swills@gtest40 ~]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment