-
Notifications
You must be signed in to change notification settings - Fork 136
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
Expect and waitfor error with ValueError #225
Comments
Can you try if the problem also exists in Version a48030c? |
It looks like the version I'm using does have that change to collections.py. |
Every version since does ;-), but the question was whether you have the same problem with the version from this particular commit. Because there were some changes after that that may have caused the problem. |
Ahhh, gotcha. I checked out the code as of that commit and gave it another try, it looks like it happens the same:
|
I'm trying to connect to a telnet server that has a Linux system connected to it, issue a newline character, and use either waitfor or expect (something using regular expressions) to match and get the output. I am able to get this to work consistently using read_until:
However, expect gives me this "negative seek position" error:
After seeing telnetlib is deprecated I was looking for a drop in replacement and this seemed the closest.
Edit: I think this is using exscript 2.6.28 and it is on Debian 10 with python 3.7.3
The text was updated successfully, but these errors were encountered: