Skip to content
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: 'ssh.channel.Channel' object has no attribute 'flush' #364

Open
pbrezina opened this issue Oct 31, 2022 · 0 comments · May be fixed by #366
Open

AttributeError: 'ssh.channel.Channel' object has no attribute 'flush' #364

pbrezina opened this issue Oct 31, 2022 · 0 comments · May be fixed by #366
Labels

Comments

@pbrezina
Copy link

pbrezina commented Oct 31, 2022

Trying to call stdin.flush() results with the following exception. This is with libssh pssh.clients.ssh.SSHClient client.

self = <pssh.clients.base.single.Stdin object at 0x7f2c6491ca60>

    def flush(self):
        """Flush pending data written to stdin."""
>       return self._client._eagain(self._channel.flush)
E       AttributeError: 'ssh.channel.Channel' object has no attribute 'flush'

.venv/lib64/python3.10/site-packages/pssh/clients/base/single.py:71: AttributeError
@pkittenis pkittenis linked a pull request Nov 22, 2022 that will close this issue
@pkittenis pkittenis added the bug label Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants