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

🚨 Error resolving auth β†’ Error selecting auth option β†’ Unexpected escape sequence from terminal β†’ ['\x1b' '\\'] #40

Open
sajjad-salam opened this issue Apr 6, 2024 · 8 comments

Comments

@sajjad-salam
Copy link

sajjad-salam commented Apr 6, 2024

Problem Description

Error Message

🚨 Error resolving auth
β†’ Error selecting auth option
β†’ Unexpected escape sequence from terminal
β†’ ['\x1b' '\']

Steps Taken

  1. Added OpenAI key.
  2. Applied plandex new command.

Output

πŸ‘‹ Hey there!
It looks like this is your first time using Plandex on this computer.
What would you like to do?

Start an anonymous trial on Plandex Cloud (no email required)
Sign in, accept an invite, or create an account
🚨 Error resolving auth
β†’ Error selecting auth option
β†’ Unexpected escape sequence from terminal
β†’ ['\x1b' '\']

Additional Information

  • Please provide assistance in resolving this issue.

image

@danenania
Copy link
Contributor

Hi @sajjad-salam, what OS and terminal are you using?

@sajjad-salam
Copy link
Author

sajjad-salam commented Apr 6, 2024

hi @danenania i am using WSL
ubuntu os
i have windows

@danenania
Copy link
Contributor

Possibly related to AlecAivazis/survey#387 or AlecAivazis/survey#228 or AlecAivazis/survey#480 (last one especially)

I fixed similar escape code issues for plandex changes TUI and the streaming TUI, so likely something similar needs to be applied to the survery fork (https://github.com/plandex-ai/survey)

@danenania
Copy link
Contributor

What do you get for echo $TERM?

@ChaseKolozsy
Copy link

I'm getting the same issue. I too am using an Ubuntu WSL on windows. Ubuntu 20.04.

"""
(base) chase@DESKTOP-6HJUF69:~$ plandex sign-in
Use Plandex Cloud or another host?

Plandex Cloud
Another host
🚨 Error signing in
β†’ Error signing in to new account
β†’ Error selecting sign in option
β†’ Unexpected escape sequence from terminal
β†’ ['\x1b' '\']
(base) chase@DESKTOP-6HJUF69:~$
"""

@danenania
Copy link
Contributor

@ChaseKolozsy What do you get for echo $TERM?

@ChaseKolozsy
Copy link

ChaseKolozsy commented Apr 9, 2024

@ChaseKolozsy What do you get for echo $TERM?

(base) chase@DESKTOP-6HJUF69:~$ plandex sign-in
? Use Plandex Cloud or another host?
> Plandex Cloud
  Another host
🚨 Error signing in
  β†’ Error signing in to new account
    β†’ Error selecting sign in option
      β†’ Unexpected escape sequence from terminal
        β†’ ['\x1b' '\\']
(base) chase@DESKTOP-6HJUF69:~$ echo $Term

(base) chase@DESKTOP-6HJUF69:~$ echo $TERM
xterm-256color
(base) chase@DESKTOP-6HJUF69:~$

I got:
xterm-256color

@danenania
Copy link
Contributor

@ChaseKolozsy thanks, will be looking into this soon.

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

3 participants