Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1686 by [email protected]: Telnet terminal emulation is broken when server requires authentication
http://code.google.com/p/robotframework/issues/detail?id=1686

Version: 2.8.3, 2.8.4
Intepreter: Python 2.7.3

It is not possible to use terminal emulation if telnet server requires authentication. Please execute attached test to reproduce error. The error from debug log is:

20140323 14:58:28.809 - FAIL - TypeError: 'HistoryScreen' object is not iterable
20140323 14:58:28.809 - DEBUG - Traceback (most recent call last):
File "/home/pawel/programs/python/2.7.3/local/lib/python2.7/site-packages/robot/libraries/Telnet.py", line 677, in login
    password_prompt)
File "/home/pawel/programs/python/2.7.3/local/lib/python2.7/site-packages/robot/libraries/Telnet.py", line 692, in _submit_credentials
    output = self.read_until(login_prompt, 'TRACE')
File "/home/pawel/programs/python/2.7.3/local/lib/python2.7/site-packages/robot/libraries/Telnet.py", line 800, in read_until
    success, output = self._read_until(expected)
File "/home/pawel/programs/python/2.7.3/local/lib/python2.7/site-packages/robot/libraries/Telnet.py", line 809, in _read_until
    return self._terminal_read_until(expected)
File "/home/pawel/programs/python/2.7.3/local/lib/python2.7/site-packages/robot/libraries/Telnet.py", line 820, in _terminal_read_until
    out = self._terminal_emulator.read_until(expected)
File "/home/pawel/programs/python/2.7.3/local/lib/python2.7/site-packages/robot/libraries/Telnet.py", line 1061, in read_until
    current_out = self.current_output
File "/home/pawel/programs/python/2.7.3/local/lib/python2.7/site-packages/robot/libraries/Telnet.py", line 1035, in current_output
    return self._buffer + self._dump_screen()
File "/home/pawel/programs/python/2.7.3/local/lib/python2.7/site-packages/robot/libraries/Telnet.py", line 1039, in _dump_screen
    self._get_screen(self._screen) + \
File "/home/pawel/programs/python/2.7.3/local/lib/python2.7/site-packages/robot/libraries/Telnet.py", line 1049, in _get_screen
    for row in screen).rstrip(self._newline)


Best Regards
Pawel



Attachments:
        telnet_connection.robot  358 bytes
        debug.log  3.4 KB
        log.html  191 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to