argais/aws_cli_adfs

Fails when trying to prompt for username

cliff-wakefield opened this issue · 3 comments

$ python saml.py
Username (domain\username): wakefieldc
Traceback (most recent call last):
  File "saml.py", line 54, in <module>
    username = input("Username (domain\\username): ")
  File "<string>", line 1, in <module>
NameError: name 'myuserid' is not defined

Had to change back to

print "Username (domain\\username): ",
username = raw_input()

To make it work.

Use Python 3.5 instead of 2.7 ;)

Fernando Battistella

On 18 Oct 2016, at 04:40, cliff-wakefield notifications@github.com wrote:

Had to change back to

print "Username (domain\username): ",
username = raw_input()
To make it work.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Added note on readme about requiring python 3.5.

There are other issues with unicode on python 2.7, besides the input thing.
Unfortunately I don't have the time to track them down and fix them.