linode-cli icon indicating copy to clipboard operation
linode-cli copied to clipboard

[Bug]: source <(linode-cli completion bash) causes Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>

Open w7089 opened this issue 2 years ago • 4 comments

CLI Version

5.32.1 Built off spec version 4.145.0

Command

source <(linode-cli completion bash)

Output

Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe

Expected Behavior

empty output and successful sourcing

Actual Behavior

error popped and linode cli completion is not sourced

Steps to Reproduce

run source <(linode-cli completion bash)

w7089 avatar Feb 26 '23 17:02 w7089

Unfortunately I'm not able to recreate this issue. I was able to run the command provided without error.

jriddle-linode avatar Feb 27 '23 16:02 jriddle-linode

@jriddle-linode this does occur for me. OSX (13.3.1 (22E261)) linode-cli --version linode-cli 5.34.1 Built off spec version 4.149.0

mikelupo avatar May 02 '23 10:05 mikelupo

Originally it happened to me on OSX too. I moved to Linux and there were no issues.

w7089 avatar May 02 '23 11:05 w7089

@mikelupo @w7089 are you still finding this issue? We've been unable to recreate it on OSX or Linux.

jriddle-linode avatar Oct 31 '23 15:10 jriddle-linode

@mikelupo @w7089 closing this issue, if you are still having the issue feel free to recreate with more info, we are still unable to recreate the issue in our environments.

jriddle-linode avatar Apr 11 '24 15:04 jriddle-linode