TheRawMeatball/meme-cli

meme-cli update-sources not working

Closed this issue · 6 comments

Hi!
First of all, thanks for making something cool like that!

I'm facing an issue while updating sources:
Updating meme repository default (https://github.com/TheRawMeatball/memeinator-memesrc.git) fatal: not a git repository (or any of the parent directories): .git Error: Git error!

I installed meme-cli by using cargo.
My git version: 2.34.1

Please help!

What OS are you on? If you're on linux, can you try deleting ~/.cache/memecli and updating again?

I'm using Arch. Thanks, that worked! <3

@TheRawMeatball Hey! Does not work on me:

$ meme-cli update-sources

Updating meme repository default (https://github.com/TheRawMeatball/memeinator-memesrc.git)
fatal: not a git repository (or any of the parent directories): .git
Error: Git error!
$ meme-cli --version
meme-cli 0.1.2

macOS 11

There is no ~/.cache/memecli folder. Anythink should I need to do?

For macOS, it should be ~/Library/Caches/memecli
Try deleting that?

$ ~/Library/Caches/memecli

Thanks! Works like a charm!

h33p commented

The bug seems to happen when an empty default gets created automatically, before sources get refreshed.