-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'file' object has no attribute 'buffer' #39
Comments
Thanks for opening an issue! A few problems I see in the relevant code snippet: if stdin is not None and not stdin.isatty() and args.file != stdin:
data = stdin.buffer.read()
A workaround would be to use |
Hi @mcastorina Thanks, however adding -t only returns a different error.
What confuses me is that I’m ultimately running the same piece of graph_cli code on the same machine - it’s just that one way I’m doing directly (into the device’s command line), the other way I’m sending it from another machine ? |
Yeah, I can see how that's confusing. The same would happen if you run The full ssh command you should try is:
|
That looks to have done it ! - Thanks so much, see confirmation below.
|
Hi
I wonder if someone can help, as I can send the following command fine when logged on locally,
But when I try to send it remotely from another machine using this, (which works for other commands)
I get this error message
Does anyone have any ideas what the issue might be ?
The text was updated successfully, but these errors were encountered: