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

Authentication does not work depending on .zshenv? #392

Open
Garamogui opened this issue Jun 17, 2024 · 2 comments
Open

Authentication does not work depending on .zshenv? #392

Garamogui opened this issue Jun 17, 2024 · 2 comments

Comments

@Garamogui
Copy link

Codeium was working just fine for a feel months.

After sometime and some configuration at my system, it simply stopped. However, I have not made any changes to my nvim config and its related files.

After that, codeium stopped working and I simply tried to remove and reinstall codeium via lazy.nvim. And some time after some trial and error, it worked after launching nvim from bash? (I normally use zsh.)

Codeium Auth, up to that point returned this:

Navigating to https://www.codeium.com/profile?response_type=token&redirect_uri=vim-show-auth-token&state=a&scope=openid%20profile%20ema
il&redirect_parameters_type=query                                                                                                      
Paste your token here: ****************************************************************************************************************
***************************************************************************************************************************************
***************************************************************************************************************************************
***************************************************************************************************************************************
***************************************************************************************************************************************
***************************************************************************************************************************************
***************************************************************************************************************************************
**************************************Error detected while processing function codeium#command#Command[6]..1:                          
line   66:                                                                                                                             
E474: Unidentified byte: █████╗ ██╗   ██╗███████╗     ██████╗██╗  ██╗██████╗ ██╗███████╗████████╗^@██╔══██╗██║   ██║██╔════╝    ██╔════
╝██║  ██║██╔══██╗██║██╔════╝╚══██╔══╝^@███████║██║   ██║█████╗      ██║     ███████║██████╔╝██║███████╗   ██║   ^@██╔══██║╚██╗ ██╔╝██╔═
═╝      ██║     ██╔══██║██╔══██╗██║╚════██║   ██║   ^@██║  ██║ ╚████╔╝ ███████╗    ╚██████╗██║  ██║██║  ██║██║███████║   ██║   ^@╚═╝  ╚
═╝  ╚═══╝  ╚════<e2><95>                                                                                                               
E474: Failed to parse  █████╗ ██╗   ██╗███████╗     ██████╗██╗  ██╗██████╗ ██╗███████╗████████╗^@██╔══██╗██║   ██║██╔════╝    ██╔════╝█
█║  ██║██╔══██╗██║██╔════╝╚══██╔══╝^@███████║██║   ██║█████╗      ██║     ███████║██████╔╝██║███████╗   ██║   ^@██╔══██║╚██╗ ██╔╝██╔══╝
      ██║     ██╔══██║██╔══██╗██║╚════██║   ██║   ^@██║  ██║ ╚████╔╝ ███████╗    ╚██████╗██║  ██║██║  ██║██║███████║   ██║   ^@╚═╝  ╚═╝
  ╚═══╝  ╚═════<e2>

After that, and realizing that this error looks like my ascii art in the .zshenv, I commented the following line in my .zshenv file:

 # toilet -t -f "ANSIShadow" -d /usr/share/figlet/fonts  "Ave Christus Rex"

It works fine after that...

Why does codeium have to check my .zsenv file????

@LeonardoMor
Copy link
Contributor

I don't think it does.

I have seen that weird characters are introduced when copying and pasting due to misconfigured TERM and/or encoding.

@Garamogui
Copy link
Author

My .zshenv has only that unique line the prints ASCII art.

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

2 participants