Comments (3)
Got it working by modifying "/usr/lib64/python3.4/site-packages/paramikoe.py"
here is what I changed:
130: buffer = buffer.replace(b'\r', b'') # (Added the b's)
135: sys.stdout.write(buffer.decode()) # Added .decode()
139: self.current_output += buffer.decode() # Added the .decode()
There are more spots that use the Python 2.x format, but my Python Programs have not hit them, so I won't change anything further until they do.
So what ever method pip/github installer used to build both my python 2.7 and 3.4 target versions, 3.4 did not catch this?
from paramiko-expect.
Thanks for all your help. I'll take into account everything you mentioned and look at getting a Python 3.x compatible out soon.
Cheers
Fotis
from paramiko-expect.
Any progress on this? :)
from paramiko-expect.
Related Issues (20)
- 0.3.0 version not available on pypi mirror HOT 6
- 0.3.0 expect match issue when channel receives multiple lines of strings at the same time. HOT 1
- EXCESS TIME RECV_READY TIMEOUT, did you expect() before a send() on offical sample. HOT 6
- socket.timeout() raises AttributeError Exception HOT 1
- Paramiko Timeout issue HOT 1
- Unsupported operand type(s), line 164 in expect HOT 4
- IndexError with ANSI codes
- sdist is missing on pypi for 0.3.2 HOT 1
- SSHClientInteraction's current_output_clean is not clean HOT 1
- How to put the output we get from expect prompt in a file HOT 2
- take_control always times out HOT 3
- Check whether channel is closed before checking recv_ready() HOT 1
- add term support to SSHClientInteraction , to pass onto invoke_shell HOT 7
- Error : Undefined symbol "SSLv3_client_method" HOT 2
- Issues with paramiko-expect while interacting with prompt of a remote ssh server
- Issue while sending very big command HOT 2
- expect always fails with "EXCESS TIME RECV_READY TIMEOUT, did you expect() before a send()" error HOT 9
- Moving this repo into its own organisation HOT 3
- Maintainers required HOT 7
- Paramiko expect on windows 2019 vms is giving a lot of residue output HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paramiko-expect.