Misterio77 / flavours

🎨💧 An easy to use base16 scheme manager that integrates with any workflow.
MIT License
501 stars 29 forks source link

Error updating after installation #57

Closed pansy27 closed 2 years ago

pansy27 commented 2 years ago

Hello. I was trying to test flavours but encountered this error just after installation. I installed flavours from the aur and ran flavours update all as suggested by the readme. On running this, flavours returns this:

 ~  flavours update all
fatal: could not read Username for 'https://github.com': terminal prompts disabled
fatal: could not read Username for 'https://github.com': terminal prompts disabled
fatal: cannot change to '/home/rider/.config/flavours/base16/sources/schemes': No such file or directory
Error: Git failed to run on repository 'https://github.com/chriskempson/base16-schemes-source.git'. Check if your repo list is valid.

I only changed the environment variable FLAVOURS_DATA_DIRECTORY to ~/.config/flavours. I made no change regarding flavours config file.

The repo, upon checking does not exist. I can use git just fine on my terminal and browser so i have no idea what bought this on.

Thanks for the awesome tool :)

pansy27 commented 2 years ago

It seems like the issue has been resolved on it's own, idk how. Sorry for the noise.

Misterio77 commented 2 years ago

Hey! No problem, thanks for opening the issue.

It can happen sometimes when a scheme/template repo has been deleted (github assumes they could be private and asks for authentication). In this case, it's better to remove them from the source listings.

This should get better in the future, I'm working on a rehaul that will use the single base16-schemes repo, and will allow users to specify template repositories directly.

pansy27 commented 2 years ago

Got it. Thanks for the help :)