twcc / TWCC-CLI

This tool allows you to access TWCC through CLI.
https://www.twcc.ai
Apache License 2.0
20 stars 8 forks source link

twcc-cli login error #39

Closed chinf-tw closed 2 years ago

chinf-tw commented 3 years ago

Describe the bug A clear and concise description of what the bug is. I follow this document which login twcc-cli but system report a error To Reproduce Steps to reproduce the behavior:

  1. using terminal to enter twccli config init
  2. enter TWCC Project Code
  3. enter TWCC APIKEY
  4. got a error

Expected behavior A clear and concise description of what you expected to happen. I Expected not a error Screenshots If applicable, add screenshots to help explain your problem. img

Desktop (please complete the following information):

Additional context Add any other context about the problem here. I think error reason which is difference shell (I use zsh).

JeanHsuBD commented 2 years ago

Thank you for raising this issue, while we need some process time, we will schedule this problem solved as soon as possible!

AugustChaoTW commented 2 years ago

quick fix: you can skip this line.

In latest version, it seems has been fixed.

https://github.com/twcc/TWCC-CLI/blob/master/twccli/commands/config.py#L104