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

Get Pre Login Banner always failing with FAIL : AttributeError: 'NoneType' object has no attribute 'decode' #437

Open
HelioGuilherme66 opened this issue Nov 28, 2023 · 0 comments

Comments

@HelioGuilherme66
Copy link
Contributor

Using Get Pre Login Banner with or without host name, always returns:
FAIL : AttributeError: 'NoneType' object has no attribute 'decode'

I don't know if this is because I am using a jump server to reach the server under test.

Robot Framework: 6.1.1
Python: 3.10.6
Host OS with Robot Framework : Debian bullseye/sid
Jump OS: CentOS Linux release 7.9.2009 (Core)
OS under test: Debian 9.13
SSHLibrary: 3.8.0

DEBUG loglevel:

20231128 11:05:35.495 :  FAIL : AttributeError: 'NoneType' object has no attribute 'decode'
20231128 11:05:35.495 : DEBUG : 
Traceback (most recent call last):
  File "/home/ibas/.local/lib/python3.10/site-packages/SSHLibrary/library.py", line 1125, in get_pre_login_banner
    return banner.decode(self.DEFAULT_ENCODING)
AttributeError: 'NoneType' object has no attribute 'decode'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant