Cleanup on Windows console login

Description

Console login on Windows behaves oddly when no password is provided, and produces unhelpful error messages, seemingly related to the Windows implementation of getpass.

On a unix system not providing a -p password option prompts the user for a password:

On a Windows system it produces a not useful error message:

Further, the bare "synapse" command with no sub command does performs on a login on Unix and then does nothing, but produces an ugly stack trace on windows:

The bare synapse command maybe should just output the help options and not try to login at all.

Environment

Windows

Activity

Show:
Jordan Kiang
4 days ago

Confirmed that release candidate version resolves this issue and allows password input:

Current version

Upgraded to 2.3.0 RC:

Also as documented (and expected) git bash is not supported but a specific error is presented.

Fixed

Assignee

Chia-Hui Lin

Reporter

Jordan Kiang

Labels

None

Validator

Jordan Kiang

Development Area

None

Release Version History

None

Fix versions

Affects versions

Priority

Minor