We're updating the issue view to help you get more done. 

On Windows, command line client login credential prompt fails (python 2.7)

Description

This occurs right after I enter my username:

1 2 3 4 5 6 7 8 9 10 11 12 C:\WINDOWS\system32>synapse create Folder -parentid syn123 -name SomeName Synapse username: ziming Traceback (most recent call last): File "C:\Python27\Scripts\synapse-script.py", line 11, in <module> load_entry_point('synapseclient', 'console_scripts', 'synapse')() File "c:\users\develop\git\synapsepythonclient\synapseclient\__main__.py", line 802, in main login_with_prompt(syn, args.synapseUser, args.synapsePassword, silent=True) File "c:\users\develop\git\synapsepythonclient\synapseclient\__main__.py", line 793, in login_with_prompt passwd = getpass.getpass("Password for " + user + ": ") File "C:\Python27\lib\getpass.py", line 95, in win_getpass msvcrt.putch(c) TypeError: putch() argument 1 must be char, not unicode

Environment

OS: Windows 10 (64-bit)
Python 2.7.13

Status

Assignee

Ziming Dong

Reporter

Ziming Dong

Labels

None

Validator

Xavier Schildwachter

Release Version History

None

Fix versions

Priority

Major