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 connecting to settings repository #62

Open
beauxq opened this issue Jun 18, 2024 · 6 comments
Open

error connecting to settings repository #62

beauxq opened this issue Jun 18, 2024 · 6 comments

Comments

@beauxq
Copy link

beauxq commented Jun 18, 2024

new installation of vscodium on ubuntu
I install "Sync Settings"
Sync Settings: Open the repository settings
set the git repository
Sync Settings: Download (repository -> user)

[info] repository: {"type":"git","url":"https://github.com/beauxq/settings","branch":"master"}
[info] profile: main
[error] Error: /usr/bin/gh auth git-credential get: line 1: /usr/bin/gh: No such file or directory
fatal: could not read Username for 'https://github.com': No such device or address

[error] The git repository can not be pulled
[error] Error: The repository wasn't successfully initialized so the current operation can't continue. Please check the previous error.

It says /usr/bin/gh: No such file or directory but that file does exist on my system.

$ which gh
/usr/bin/gh
$ gh --version
gh version 2.51.0 (2024-06-13)
https://github.com/cli/cli/releases/tag/v2.51.0
@beauxq
Copy link
Author

beauxq commented Jun 18, 2024

If I use the "Clone Git Repository" on the vscodium welcome page, it is able to download the repository.

@daiyam
Copy link
Member

daiyam commented Jun 18, 2024

Do you have an alias to replace git with gh?

https://github.com/beauxq/settings needs to exists.

Did you use snap to install VSCodium?

You will need to do Sync Settings: Upload (user -> repository) (save your current config) before any download.

@beauxq
Copy link
Author

beauxq commented Jun 18, 2024

Do you have an alias to replace git with gh?

No, gh is https://cli.github.com/

git is also installed. The log doesn't show it trying to do anything with git.

https://github.com/beauxq/settings needs to exists.

You will need to do Sync Settings: Upload (user -> repository) (save your current config) before any download.

It exists, and I have uploaded settings to it from a different (Windows) computer. Only this Ubuntu computer has the problem.

Did you use snap to install VSCodium?

flatpak is what I used.

@daiyam
Copy link
Member

daiyam commented Jun 18, 2024

It exists, and I have uploaded settings to it from a different (Windows) computer. Only this Ubuntu computer has the problem.

Ok, so it's not public

flatpak is what I used.

It must a sandbox issue.

But it's weird that you have some errors about gh instead of git.

@beauxq
Copy link
Author

beauxq commented Jun 18, 2024

I switched to the .deb version and it works. So this seems to be a problem with flatpak.

@daiyam
Copy link
Member

daiyam commented Jun 18, 2024

I will have to do some tests with flatpak...

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